Changeset 516


Ignore:
Timestamp:
Jan 15, 2007 4:16:04 PM (12 years ago)
Author:
forrest
Message:

maximize bug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.1/Cbc/src/CbcHeuristic.cpp

    r356 r516  
    7676  solver->setHintParam(OsiDoReducePrint,true,OsiHintTry);
    7777  solver->setHintParam(OsiDoPresolveInInitial,false,OsiHintTry);
    78   solver->setDblParam(OsiDualObjectiveLimit,cutoff);
     78  solver->setDblParam(OsiDualObjectiveLimit,cutoff*solver->getObjSense());
    7979  solver->initialSolve();
    8080  int returnCode=1;
Note: See TracChangeset for help on using the changeset viewer.