Changeset 1063 for stable/2.2


Ignore:
Timestamp:
Sep 10, 2008 5:37:10 PM (10 years ago)
Author:
forrest
Message:

recompute objective before solution output

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/2.2/Cbc/src/CbcSolver.cpp

    r1048 r1063  
    94319431                if (printMode!=5) {
    94329432                  // Write solution header (suggested by Luigi Poderico)
     9433                  lpSolver->computeObjectiveValue(false);
    94339434                  double objValue = lpSolver->getObjValue()*lpSolver->getObjSense();
    94349435                  int iStat = lpSolver->status();
Note: See TracChangeset for help on using the changeset viewer.