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.5 $ on $Date: 2008/10/15 03:10:06 $

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
 long getSolveTime()
          Length to solve the mip (not including conversion time etc.) in milis
 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)


getSolveTime

long getSolveTime()
Length to solve the mip (not including conversion time etc.) in milis