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 AddGe( INumExpr e1, INumExpr e2, string name ) |
Parameters
- e1
- Type: ILOG.Concert..::..INumExpr
Lefthand side expression of the new greater-than-or-equal-to constraint.
- e2
- Type: ILOG.Concert..::..INumExpr
Righthand side expression of the new greater-than-or-equal-to constraint.
- name
- Type: System..::..String
Name assigned to the new IRange constraint.
Return Value
A new IConstraint object initialized to represent the constraint e1 >= e2.Remarks
The new IConstraint object is assigned the name name.