Creates and returns an instance of IRange
initialized to represent the constraint val == expr
and assigned the name name.
Namespace: ILOG.Concert
Assembly: ILOG.Concert (in ILOG.Concert.dll)
Syntax
| C# |
|---|
IRange Eq( double val, INumExpr expr, string name ) |
| Visual Basic |
|---|
Function Eq ( _ val As Double, _ expr As INumExpr, _ name As String _ ) As IRange |
Parameters
- val
- Type: System..::..Double
Value of the new equality constraint.
- expr
- Type: ILOG.Concert..::..INumExpr
Expression of the new equality constraint.
- name
- Type: System..::..String
Name assigned to the new equality constraint.