public interface IloNumVarBound extends IloConstraint
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.
| Modifier and Type | Method and Description |
|---|---|
IloNumVarBoundType |
getType()
Return the bound type represented by the invoking instance.
|
IloNumVar |
getVar()
Returns the variable for which the invoking instance represents a bound.
|
getName, setNameIloNumVarBoundType getType()
IloNumVar getVar()