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: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IRange AddLe(
	INumExpr expr,
	double rhs,
	string name
)
Visual Basic
Function AddLe ( _
	expr As INumExpr, _
	rhs As Double, _
	name As String _
) As IRange

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.
name
Type: System..::..String
Name assigned to the new less-than-or-equal-to constraint.

Return Value

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

Remarks

The new IRange object is assigned the name name.

See Also