Changeset 481


Ignore:
Timestamp:
Oct 18, 2004 12:16:58 PM (15 years ago)
Author:
forrest
Message:

extra name for problem status and set obj value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/ClpModel.hpp

    r472 r481  
    264264   */
    265265   inline int status() const            { return problemStatus_; }
     266   inline int problemStatus() const            { return problemStatus_; }
    266267  /// Set problem status
    267268  inline void setProblemStatus(int problemStatus)
     
    489490   inline double objectiveValue() const {
    490491      return objectiveValue_*optimizationDirection_ - dblParam_[ClpObjOffset];
     492   }
     493  inline void setObjectiveValue(double value) {
     494    objectiveValue_ = (value+ dblParam_[ClpObjOffset])/optimizationDirection_;
    491495   }
    492496   inline double getObjValue() const {
Note: See TracChangeset for help on using the changeset viewer.