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

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IRange Range(
	double lb,
	INumExpr expr,
	double ub
)
Visual Basic
Function Range ( _
	lb As Double, _
	expr As INumExpr, _
	ub As Double _
) As IRange

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