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.

Namespace: ILOG.CPLEX
Assembly: ILOG.CPLEX (in ILOG.CPLEX.dll) Version: 22.1.1.0

Syntax

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

Parameters

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

Implements

IModeler..::..Or(array<IConstraint>[]()[][], String)

Remarks

See Also