Equality Operator (Double, XPRBexpr)
Create an XPRBrelation from an XPRBexpr and a double.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- dl1
-
Type:
SystemDouble
The lhs double. - l2
-
Type:
BCLXPRBexpr
The rhs expression.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

This is usually used when creating constraints directly in the method call.

XPRBvar var = new XPRBvar("Variable1"); XPRBexpr exp = new XPRBexpr(1.9 - 3.1*var); XPRBrelation rel; ... rel = 1.3 == exp;
