ILOG CPLEX .NET Reference Manual

ILinearIntExpr.Remove Method (IIntVar)

Removes a variable from the invoking ILinearIntExpr expression.

void Remove(
   IIntVar var
);

Parameters

var
The variable to be removed.

Remarks

All terms in the invoking linear expression with the specified variable 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.

See Also

ILinearIntExpr Interface | ILOG.Concert Namespace | ILinearIntExpr.Remove Overload List