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

changes for diving heuristic

File:
1 edited

Legend:

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

    r1943 r2093  
    12921292    bool atRoot = model_->getNodeCount() == 0;
    12931293    int passNumber = model_->getCurrentPassNumber();
    1294     if (!when() || (when() == 1 && model_->phase() != 1) || !atRoot || passNumber != 1)
     1294    if (!when() || (when() == 1 && model_->phase() != 1) || !atRoot || passNumber > 1)
    12951295        return 0; // switched off
    12961296    // Don't do if it was this heuristic which found solution!
Note: See TracChangeset for help on using the changeset viewer.