ilog.concert
Interface IloNumVarBound

All Superinterfaces:
IloAddable, IloConstraint, IloIntExpr, IloNumExpr

public interface IloNumVarBound
extends IloConstraint

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

getType

public IloNumVarBoundType getType()
Return the bound type represented by the invoking instance.


getVar

public IloNumVar getVar()
Returns the variable for which the invoking instance represents a bound.