Ignore:
Timestamp:
Jan 7, 2011 12:16:00 PM (10 years ago)
Author:
forrest
Message:

add some sos heuristics

File:
1 edited

Legend:

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

    r1573 r1582  
    703703    int returnCode = 1;
    704704    int saveModelOptions = model_->specialOptions();
    705     assert ((saveModelOptions&2048) == 0);
     705    //assert ((saveModelOptions&2048) == 0);
    706706    model_->setSpecialOptions(saveModelOptions | 2048);
    707707    {
     
    924924                    model.setMaximumNodes(numberNodes);
    925925                    model.solver()->setHintParam(OsiDoReducePrint, true, OsiHintTry);
     926                    if ((saveModelOptions&2048) == 0)
     927                      model.setMoreSpecialOptions(model_->moreSpecialOptions());
    926928                    // Lightweight
    927929                    CbcStrategyDefaultSubTree strategy(model_, 1, 5, 1, 0);
Note: See TracChangeset for help on using the changeset viewer.