ILOG CPLEX .NET Reference Manual

IModeler.Or Method (IConstraint[], Int32, Int32, String)

Returns an or-constraint indicating that at least one and possibly more than one of the elements is true in the range of indices starting at the index indicated by start and continuing through the number of elements indicated by the number num among the elements of its argument cons, an array of constraints.

IOr Or(
   IConstraint[] cons,
   int start,
   int num,
   string name
);

Remarks

In other words, it returns the logical-or of two or more constraints.

This method also assigns the string name as the name of the returned constraint.

See Also

IModeler Interface | ILOG.Concert Namespace | IModeler.Or Overload List