|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ilog.cplex.IloCplex.Quality
Objects of the class IloCplex.Quality
contain information
computed to measure the quality of a solution. The possible quality
measures are specified in IloCplex.QualityType
. Quality
object are returned by the method IloCplex.getQuality
. The
returned quality object contains its type and the numeric value
indicating the requested quality measure. For many quality measures, the
value is attained at a specific constraint or variable. In such cases,
the relevant constraint or variable is contained in the quality
object as well.
Methods are provided to query all information stored in a quality object.
IloCplex.QualityType
,
IloCplex.getQuality(ilog.cplex.IloCplex.QualityType)
Constructor Summary | |
IloCplex.Quality()
|
Method Summary | |
ilog.concert.IloConstraint |
getConstraint()
Returns the constraint for which the quality measure is attained, if any. |
ilog.concert.IloNumVar |
getNumVar()
Returns the variable at which the quality measure is attained, if any. |
IloCplex.QualityType |
getQualityType()
Returns the IloCplex.QualityType of the invoking quality
measure. |
double |
getValue()
Returns the numeric value of the invoking quality measure. |
java.lang.String |
toString()
Returns a string with the numeric value of the invoking quality measure. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public IloCplex.Quality()
Method Detail |
public double getValue()
public ilog.concert.IloNumVar getNumVar()
null
is returned.
public ilog.concert.IloConstraint getConstraint()
null
is returned.
public java.lang.String toString()
toString
in class java.lang.Object
public IloCplex.QualityType getQualityType()
IloCplex.QualityType
of the invoking quality
measure.
IloCplex.QualityType
of the invoking quality
measure.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |