edu.harvard.econcs.jopt.solver
Interface IMIPResult

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
MIPResult

public interface IMIPResult
extends java.io.Serializable

The result of running a linear or mixed integer program

Since:
Apr 12, 2004
Version:
$Revision: 1.3 $ on $Date: 2005/05/16 23:27:29 $

Method Summary
 double getDual(int constraintId)
          Returns the dual of a constraint that was added with IMIP.add(constraint, constraintId)
 double getObjectiveValue()
          Returns the objective value calculated by the solver
 java.util.Map getValues()
          Returns a Map from strings to Double objects
 

Method Detail

getObjectiveValue

double getObjectiveValue()
Returns the objective value calculated by the solver


getValues

java.util.Map getValues()
Returns a Map from strings to Double objects


getDual

double getDual(int constraintId)
Returns the dual of a constraint that was added with IMIP.add(constraint, constraintId)