|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the API for classes that represent the upper or lower bound of a variable as a constraint.
Such constraints cannot be used
for modeling. The class IloNumVar
already provides methods for
specifying and modifying bounds of a variable. However, it is
convenient to
identify bounds as constraints to consider when CPLEX computes a
minimal set of conflicting constraints or bounds to analyze and repair
an infeasible model with IloCplex.refineConflict
.
Method Summary | |
IloNumVarBoundType |
getType()
Return the bound type represented by the invoking instance. |
IloNumVar |
getVar()
Returns the variable for which the invoking instance represents a bound. |
Methods inherited from interface ilog.concert.IloAddable |
getName, setName |
Method Detail |
public IloNumVarBoundType getType()
public IloNumVar getVar()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |