Changeset 2101 for trunk/Cbc/src


Ignore:
Timestamp:
Dec 3, 2014 12:43:20 PM (5 years ago)
Author:
forrest
Message:

minor print change to diving

File:
1 edited

Legend:

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

    r2094 r2101  
    252252bool CbcHeuristicDive::canHeuristicRun()
    253253{
    254     if (model_->bestSolution()) {
     254    if (model_->bestSolution()||model_->getNodeCount()) {
    255255      if (when_==3 || (when_==4 && numberSolutionsFound_) )
    256256        return false;
     
    275275    int nRoundInfeasible = 0;
    276276    int nRoundFeasible = 0;
     277    printf("Entering %s - fix %.1f%% maxTime %.2f maxPasses %d - max iterations %d (at root %d) - when to do %d\n",
     278    heuristicName_.c_str(),percentageToFix_*100.0,maxTime_,maxIterations_,
     279    maxSimplexIterations_,maxSimplexIterationsAtRoot_,when());
    277280#endif
    278281    int reasonToStop = 0;
Note: See TracChangeset for help on using the changeset viewer.