Creates and returns an instance of IRange initialized to represent the constraint expr <= rhs and assigned the name name.

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

Syntax

C#
IRange Le(
	INumExpr expr,
	double rhs,
	string name
)

Parameters

expr
Type: ILOG.Concert..::..INumExpr
Expression of the new less-equal-than-or-equal-to constraint.
rhs
Type: System..::..Double
Upper bound of the new less-equal-than-or-equal-to constraint.
name
Type: System..::..String
Name assigned to the new less-equal-than-or-equal-to constraint.

Return Value

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

Remarks