Changeset 2018 for trunk/Cbc


Ignore:
Timestamp:
Mar 11, 2014 4:21:33 PM (5 years ago)
Author:
forrest
Message:

fix segfault if infeasible

File:
1 edited

Legend:

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

    r2013 r2018  
    87828782                                }
    87838783                                    // Write solution header (suggested by Luigi Poderico)
     8784                                    // Refresh solver
     8785                                    lpSolver = clpSolver->getModelPtr();
    87848786                                    lpSolver->computeObjectiveValue(false);
    87858787                                    double objValue = lpSolver->getObjValue();
Note: See TracChangeset for help on using the changeset viewer.