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

Parameters
- t1
-
Type:
SystemDouble
The lhs number. - v2
-
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 = 3.5 <= var;
