Ignore:
Timestamp:
Oct 21, 2007 12:48:02 PM (12 years ago)
Author:
forrest
Message:

fix bug if maximize

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Cbc/src/CbcHeuristicFPump.cpp

    r826 r827  
    359359        printf("CbcHeuristicFPump obj offset %g\n",offset);
    360360#endif
    361       solver->addRow(nel,which,els,-COIN_DBL_MAX,cutoff+offset);
     361      solver->addRow(nel,which,els,-COIN_DBL_MAX,cutoff+offset*direction);
    362362      delete [] which;
    363363      delete [] els;
Note: See TracChangeset for help on using the changeset viewer.