Ignore:
Timestamp:
Jan 25, 2013 12:16:03 PM (6 years ago)
Author:
forrest
Message:

not a good idea - revert idea of updating best solution in small b&b for ctrl-c

File:
1 edited

Legend:

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

    r1842 r1843  
    12331233                        model_->incrementIterationCount(model.getIterationCount());
    12341234                        model_->incrementNodeCount(model.getNodeCount());
    1235                         // update best solution
    1236                         model_->setMinimizationObjValue(model.getMinimizationObjValue());
     1235                        // update best solution (in case ctrl-c)
     1236                        // !!! not a good idea - think a bit harder
     1237                        //model_->setMinimizationObjValue(model.getMinimizationObjValue());
    12371238                        for (int iGenerator = 0; iGenerator < model.numberCutGenerators(); iGenerator++) {
    12381239                            CbcCutGenerator * generator = model.cutGenerator(iGenerator);
Note: See TracChangeset for help on using the changeset viewer.