Ignore:
File:
1 edited

Legend:

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

    r1883 r2105  
    175175{
    176176    model_ = model;
    177     generator_->refreshSolver(model_->solver());
     177    // added test - helps if generator not thread safe
     178    if (whenCutGenerator_!=-100)
     179      generator_->refreshSolver(model_->solver());
    178180}
    179181/* Generate cuts for the model data contained in si.
     
    617619                OsiRowCut * thisCut = cs.rowCutPtr(k) ;
    618620#ifdef CGL_DEBUG
    619                 if (debugger && debugger->onOptimalPath(*solver))
     621                if (debugger && debugger->onOptimalPath(*solver)) {
    620622                    assert(!debugger->invalidCut(*thisCut));
     623                    if(debugger->invalidCut(*thisCut))
     624                      abort();
     625                }
    621626#endif
    622627                thisCut->mutableRow().setTestForDuplicateIndex(false);
Note: See TracChangeset for help on using the changeset viewer.