Creates and returns an instance of IRange initialized to represent the constraint lb <= expr <= ub and added to the invoking instance of lb <= expr <= ub.

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
IRange AddRange(
	double lb,
	INumExpr expr,
	double ub
)

Parameters

lb
Type: System..::..Double
Lower bound of the new IRange constraint.
expr
Type: ILOG.Concert..::..INumExpr
Expression of the new IRange constraint.
ub
Type: System..::..Double
Upper bound of the new IRange constraint.

Return Value

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

Remarks