Changeset 781


Ignore:
Timestamp:
Sep 9, 2007 5:25:14 AM (12 years ago)
Author:
forrest
Message:

correct reported value of obj when maxim

File:
1 edited

Legend:

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

    r780 r781  
    85218521  if (babModel_) {
    85228522    model_.moveInfo(*babModel_);
     8523    OsiClpSolverInterface * clpSolver0 = dynamic_cast< OsiClpSolverInterface*> (babModel_->solver());
     8524    ClpSimplex * lpSolver0 = clpSolver0->getModelPtr();
     8525    OsiClpSolverInterface * clpSolver = dynamic_cast< OsiClpSolverInterface*> (model_.solver());
     8526    ClpSimplex * lpSolver = clpSolver->getModelPtr();
     8527    if (lpSolver0!=lpSolver)
     8528      lpSolver->moveInfo(*lpSolver0);
    85238529    //babModel_->setModelOwnsSolver(false);
    85248530  }
Note: See TracChangeset for help on using the changeset viewer.