Ignore:
Timestamp:
May 31, 2011 4:10:30 AM (8 years ago)
Author:
forrest
Message:

allow end cuts and lagomory

File:
1 edited

Legend:

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

    r1643 r1656  
    276276        if (fullScan < 0)
    277277            info.options |= 128;
     278        if (whetherInMustCallAgainMode())
     279          info.options |= 1024;
    278280        // See if we want alternate set of cuts
    279281        if ((model_->moreSpecialOptions()&16384) != 0)
     
    539541            }
    540542            //if (!solver->basisIsAvailable())
    541             //returnCode=true;
     543            //returnCode=true;
     544            if (!returnCode) {
     545              // bounds changed but still optimal
     546#ifdef COIN_HAS_CLP
     547              OsiClpSolverInterface * clpSolver
     548                = dynamic_cast<OsiClpSolverInterface *> (solver);
     549              if (clpSolver) {
     550                clpSolver->setLastAlgorithm(2);
     551              }
     552#endif
     553            }
    542554#ifdef JJF_ZERO
    543555            // Pass across info to pseudocosts
Note: See TracChangeset for help on using the changeset viewer.