Equality Operator (Double, XPRBvar)
Create an XPRBrelation from an XPRBvar and a number
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- l1
-
Type:
SystemDouble
The lhs number. - vl2
-
Type:
BCLXPRBvar
The rhs XPRBvar.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

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

XPRBvar var = new XPRBvar("Variable1"); XPRBrelation rel; ... rel = 1 == var2;
