Removes a set of variables from the invoking ILinearIntExpr
expression.
Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)
Syntax
| C# |
|---|
void Remove( IIntVar[] var ) |
Parameters
- var
- Type: array<ILOG.Concert..::..IIntVar>[]()[][]
The array of variables to be removed.
Remarks
All terms in the invoking linear expression having any
variable in var[0], ..., var[num-1], where num is
the length of array var, are removed from the invoking
ILinearIntExpr object. If variable var occurs
more than once in the invoking ILinearIntExpr, all
occurrences are removed. The ILinearIntExpr.Enumerator
can be used to remove individual terms regardless of duplicates.