ILOG CPLEX .NET Reference Manual

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

This method removes constraints from the invoking instance of IAnd.

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

Parameters

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

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 IAnd. If a constraint has been added multiple times, only one instance is removed from the and-constraint.

See Also

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