Changeset 1135


Ignore:
Timestamp:
Mar 25, 2009 9:02:41 AM (10 years ago)
Author:
forrest
Message:

move setting of cutoff to avoid stupid assert

File:
1 edited

Legend:

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

    r1132 r1135  
    332332                               int numberInfeasibilitiesAtContinuous)
    333333{
     334  cutoff_ = model->getCutoff();
    334335  if (model->getSolutionCount()==model->getNumberHeuristicSolutions()&&
    335336      model->getSolutionCount()<5&&model->getNodeCount()<500)
     
    344345  if (numberSolutions_>5)
    345346    weight_ =0.0; // this searches on objective
    346   cutoff_ = model->getCutoff();
    347347}
    348348// This allows method to change behavior
Note: See TracChangeset for help on using the changeset viewer.