|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.harvard.econcs.jopt.solver.mip.MIPResult
public class MIPResult
The results of running CPLEX.
Constructor Summary | |
---|---|
MIPResult(double objectiveValue,
java.util.Map values,
java.util.Map constraintidsToDuals)
|
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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MIPResult(double objectiveValue, java.util.Map values, java.util.Map constraintidsToDuals)
Method Detail |
---|
public double getObjectiveValue()
IMIPResult
getObjectiveValue
in interface IMIPResult
public java.util.Map getValues()
IMIPResult
getValues
in interface IMIPResult
public double getDual(int constraintId)
IMIPResult
getDual
in interface IMIPResult
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |