ILOG CPLEX .NET Reference Manual

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

This method adds constraints to the invoking instance of IAnd.

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

Parameters

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

Return Value

The array of constraints that have been added.

Remarks

All objects implementing the IConstraint interface objects[start]...objects[start+num-1] are added to the invoking IAnd object.

See Also

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