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

Namespace: ILOG.Concert
Assembly: oplall (in oplall.dll)

Syntax

C#
IOr Or(
	IConstraint[] cons,
	string name
)

Parameters

cons
Type: array<ILOG.Concert..::..IConstraint>[]()[][]
name
Type: System..::..String

Remarks

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

It also assigns the string name as the name of that returned constraint.

See Also