Creates and returns an instance of IConstraint
initialized to represent the constraint e1 <= e2
and assigned the name name.
Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0
Syntax
| C# |
|---|
IConstraint Le( INumExpr e1, INumExpr e2, string name ) |
| Visual Basic |
|---|
Function Le ( _ e1 As INumExpr, _ e2 As INumExpr, _ name As String _ ) As IConstraint |
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.
- name
- Type: System..::..String
Name assigned to the new IRange constraint.