Changeset 1137


Ignore:
Timestamp:
Mar 30, 2009 10:52:25 AM (10 years ago)
Author:
forrest
Message:

fix for strengthen

File:
1 edited

Legend:

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

    r1134 r1137  
    1172711727  synchronizeModel() ;
    1172811728
     11729  if (!solverCharacteristics_) {
     11730    OsiBabSolver * solverCharacteristics = dynamic_cast<OsiBabSolver *> (solver_->getAuxiliaryInfo());
     11731    if (solverCharacteristics) {
     11732      solverCharacteristics_ = solverCharacteristics;
     11733    } else {
     11734      // replace in solver
     11735      OsiBabSolver defaultC;
     11736      solver_->setAuxiliaryInfo(&defaultC);
     11737      solverCharacteristics_ = dynamic_cast<OsiBabSolver *> (solver_->getAuxiliaryInfo());
     11738    }
     11739  }
     11740
     11741  solverCharacteristics_->setSolver(solver_);
    1172911742  // Set so we can tell we are in initial phase in resolve
    1173011743  continuousObjective_ = -COIN_DBL_MAX ;
Note: See TracChangeset for help on using the changeset viewer.