Ignore:
Timestamp:
Jul 22, 2008 12:35:52 PM (11 years ago)
Author:
forrest
Message:

tweaks to heuristics

File:
1 edited

Legend:

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

    r1014 r1020  
    14011401        cutoff -= weights[CoinMin(numberTries-1,9)]*(cutoff-continuousObjectiveValue);
    14021402      }
     1403      // But round down
     1404      if (model_->getCutoffIncrement()==0.999||
     1405          model_->getCutoffIncrement()==1.0)
     1406        cutoff = floor(cutoff);
    14031407      if (cutoff<continuousObjectiveValue)
    14041408        break;
Note: See TracChangeset for help on using the changeset viewer.