Ignore:
Timestamp:
Nov 6, 2014 11:17:38 AM (6 years ago)
Author:
forrest
Message:

changes for diving heuristic

File:
1 edited

Legend:

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

    r1886 r2093  
    121121    bool atRoot = model_->getNodeCount() == 0;
    122122    int passNumber = model_->getCurrentPassNumber();
    123     if (atRoot && passNumber != 1)
     123    if (atRoot && passNumber > 1)
    124124        return 0;
    125125    OsiSolverInterface * solver = model_->solver();
     
    537537    bool atRoot = model_->getNodeCount() == 0;
    538538    int passNumber = model_->getCurrentPassNumber();
    539     if (atRoot && passNumber != 1)
     539    if (atRoot && passNumber > 1)
    540540        return 0;
    541541    OsiSolverInterface * solver = model_->solver();
     
    973973    bool atRoot = model_->getNodeCount() == 0;
    974974    int passNumber = model_->getCurrentPassNumber();
    975     if (atRoot && passNumber != 1)
     975    if (atRoot && passNumber > 1)
    976976        return 0;
    977977    OsiSolverInterface * solver = model_->solver();
Note: See TracChangeset for help on using the changeset viewer.