Changeset 515 for branches/devel


Ignore:
Timestamp:
Jan 15, 2007 4:11:42 PM (13 years ago)
Author:
forrest
Message:

for maximization

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcHeuristic.cpp

    r502 r515  
    122122  solver->setHintParam(OsiDoReducePrint,true,OsiHintTry);
    123123  solver->setHintParam(OsiDoPresolveInInitial,false,OsiHintTry);
    124   solver->setDblParam(OsiDualObjectiveLimit,cutoff);
     124  solver->setDblParam(OsiDualObjectiveLimit,cutoff*solver->getObjSense());
    125125  solver->initialSolve();
    126126  int returnCode=1;
Note: See TracChangeset for help on using the changeset viewer.