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

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

Syntax

C#
IRange AddLe(
	INumExpr expr,
	double rhs
)

Parameters

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

Return Value

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

Remarks