GreaterThanOrEqual Operator (XPRBexpr, XPRBexpr)
Create an XPRBrelation from two XPRBexprs.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- l1
-
Type:
BCLXPRBexpr
The lhs XPRBexpr. - l2
-
Type:
BCLXPRBexpr
The rhs XPRBexpr.
Return Value
Type: XPRBrelationThe resultant XPRBrelation.

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

XPRBvar var = new XPRBvar("Variable1"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBexpr exp = new XPRBexpr(1.9 - var); XPRBexpr exp2 = new XPRBexpr(0.7*var + var2); XPRBrelation rel; ... rel = exp >= exp2;
