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

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

Syntax

C#
IConstraint Eq(
	INumExpr e1,
	INumExpr e2,
	string name
)
Visual Basic
Function Eq ( _
	e1 As INumExpr, _
	e2 As INumExpr, _
	name As String _
) 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.
name
Type: System..::..String
Name assigned to the new IRange constraint.

Return Value

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

Remarks