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: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IOr Or(
	IConstraint[] cons,
	string name
)
Visual Basic
Function Or ( _
	cons As IConstraint(), _
	name As String _
) As IOr

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