Ignore:
Timestamp:
Jan 31, 2013 5:07:36 AM (6 years ago)
Author:
forrest
Message:

cuts off when user asks for them to be switched off

File:
1 edited

Legend:

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

    r1843 r1864  
    993993                    model_->solver()->getHintParam(OsiDoReducePrint, takeHint, strength);
    994994                    model.solver()->setHintParam(OsiDoReducePrint, takeHint, strength);
    995                     CbcStrategyDefault strategy(1, model_->numberStrong(),
    996                                                 model_->numberBeforeTrust());
     995                    // no cut generators if none in parent
     996                    CbcStrategyDefault
     997                      strategy(model_->numberCutGenerators() ? 1 : -1,
     998                               model_->numberStrong(),
     999                               model_->numberBeforeTrust());
    9971000                    // Set up pre-processing - no
    9981001                    strategy.setupPreProcessing(0); // was (4);
Note: See TracChangeset for help on using the changeset viewer.