Creates and returns an instance of IRange initialized to represent the constraint expr == rhs, and added to the invoking instance of IModel.

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

Syntax

C#
IRange AddEq(
	INumExpr expr,
	double rhs,
	string name
)

Parameters

expr
Type: ILOG.Concert..::..INumExpr
Expression of the new equality constraint.
rhs
Type: System..::..Double
Upper bound of the new equality constraint.
name
Type: System..::..String
Name assigned to the new equality constraint.

Return Value

A new IRange object initialized to represent theconstraint expr == rhs.

Remarks

The new IRange object is assigned the name name.

See Also