ILOG CPLEX .NET Reference Manual

IOr.Remove Method (IConstraint[], Int32, Int32)

This method removes constraints from the invoking instance of IOr.

IConstraint[] Remove(
   IConstraint[] objects,
   int start,
   int num
);

Parameters

objects
The array of constraints to be removed from the invoking instance of IOr.
start
The first constraints to be removed from the invoking instance of IOr.
num
The number of constraints to be removed from the invoking instance of IOr.

Remarks

The constraints or, more precisely, the objects implementing the IConstraint interface objects[start]...objects[start+num-1] are removed from the invoking instance of IOr. If a constraint has been added multiple times, only one instance is removed from the or-constraint.

See Also

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