Ignore:
Timestamp:
Jul 22, 2007 7:25:44 PM (12 years ago)
Author:
forrest
Message:

changes for postprocess loop and LOS

File:
1 edited

Legend:

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

    r687 r700  
    127127    // Used to be automatically set
    128128    osiclp->setSpecialOptions(osiclp->specialOptions()|(128+64));
     129    ClpSimplex * lpSolver = osiclp->getModelPtr();
     130    lpSolver->setSpecialOptions(lpSolver->specialOptions()|0x01000000); // say is Cbc (and in branch and bound)
    129131  }
    130132#endif
     
    196198        returnCode=model.isProvenOptimal() ? 3 : 1;
    197199        // post process
     200#ifdef COIN_HAS_CLP
     201        OsiClpSolverInterface * clpSolver = dynamic_cast< OsiClpSolverInterface*> (model.solver());
     202        if (clpSolver) {
     203          ClpSimplex * lpSolver = clpSolver->getModelPtr();
     204          lpSolver->setSpecialOptions(lpSolver->specialOptions()|0x01000000); // say is Cbc (and in branch and bound)
     205        }
     206#endif
    198207        process.postProcess(*model.solver());
    199208        if (solver->isProvenOptimal()) {
Note: See TracChangeset for help on using the changeset viewer.