Changeset 1233 for stable


Ignore:
Timestamp:
Sep 24, 2009 4:43:41 PM (10 years ago)
Author:
forrest
Message:

fix for abort when best solution found but then infeasible

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.3/Cbc/src/CbcModel.cpp

    r1203 r1233  
    26642664    OsiClpSolverInterface * clpSolver
    26652665      = dynamic_cast<OsiClpSolverInterface *> (solver_);
    2666     if (clpSolver&&!parentModel_) {
     2666    if (clpSolver&&!parentModel_&&feasible) {
    26672667      clpSolver->computeLargestAway();
    26682668    }
Note: See TracChangeset for help on using the changeset viewer.