Creates and returns an instance of IConstraint initialized to represent the constraint e1 <= e2, and added to the invoking instance of IModel.

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

Syntax

C#
IConstraint AddLe(
	INumExpr e1,
	INumExpr e2
)

Parameters

e1
Type: ILOG.Concert..::..INumExpr
Lefthand side expression of the new less-than-or-equal-to constraint.
e2
Type: ILOG.Concert..::..INumExpr
Righthand side expression of the new less-than-or-equal-to constraint.

Return Value

A new IConstraint object initialized to represent the constraint e1 <= e2.

Remarks