Changeset 1532


Ignore:
Timestamp:
Jan 10, 2010 11:10:37 AM (10 years ago)
Author:
stefan
Message:

fix for using Bonmin inside Couenne

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/1.2/Bonmin/src/CbcBonmin/BonCbc.cpp

    r1524 r1532  
    435435    //Added by Claudia
    436436    OsiTMINLPInterface * nlpSolver = dynamic_cast<OsiTMINLPInterface *>(model_.solver());
    437     if(nlpSolver->getNewCutoffDecr()!=COIN_DBL_MAX)
     437    if(nlpSolver && nlpSolver->getNewCutoffDecr()!=COIN_DBL_MAX)
    438438      model_.setDblParam(CbcModel::CbcCutoffIncrement, nlpSolver->getNewCutoffDecr());
    439439
Note: See TracChangeset for help on using the changeset viewer.