Creates and returns an instance of IConstraint initialized to represent the constraint e1 == e2.

Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll) Version: 22.1.0.0

Syntax

C#
IConstraint Eq(
	INumExpr e1,
	INumExpr e2
)
Visual Basic
Function Eq ( _
	e1 As INumExpr, _
	e2 As INumExpr _
) As IConstraint

Parameters

e1
Type: ILOG.Concert..::..INumExpr
Lefthand side expression of the new equality constraint.
e2
Type: ILOG.Concert..::..INumExpr
Righthand side expression of the new equality constraint.

Return Value

A new instance of IConstraint initialized to represent the constraint e1 == e2.

See Also