ILOG CPLEX .NET Reference Manual

CplexModeler.Or Method

Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.

Overload List

Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.

public IOr Or();

Returns a constraint that at least one and possibly both of its arguments are true.

public IOr Or(IConstraint,IConstraint);

Returns a constraint that at least one and possibly both of its arguments are true.

public IOr Or(IConstraint,IConstraint,string);

Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints.

public IOr Or(IConstraint[]);

Returns a constraint 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.

public IOr Or(IConstraint[],int,int);

Returns a constraint 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; also assigns the string name as the name of the returned constraint.

public IOr Or(IConstraint[],int,int,string);

Returns a constraint that at least one and possibly more than one of the elements is true in its argument cons, an array of constraints and also assigns the string name as the name of that returned constraint.

public IOr Or(IConstraint[],string);

See Also

CplexModeler Class | ILOG.CPLEX Namespace