ILOG CPLEX .NET Reference Manual

IMPModeler.Range Method (Double, Double, String)

Creates and returns an empty IRange object with the specified name and upper and lower bounds.

IRange Range(
   double lb,
   double ub,
   string name
);

Parameters

lb
The lower bound of the new IRange constraint.
ub
The upper bound of the new IRange constraint.
name
The name assigned to the new IRange constraint.

Return Value

A new IRange object initialized to represent the constraint lb <= 0 <= ub.

Remarks

The new IRange object is initialized to represent the constraint lb <= 0 <= ub. The new IRange object is assigned name as its name. This method is typically used in an application that applies column-wise modeling to fill in the expression for the ranged constraint while creating the variables.

See Also

IMPModeler Interface | ILOG.Concert Namespace | IMPModeler.Range Overload List