Click or drag to resize

XPRBexprGreaterThanOrEqual(XPRBexpr, XPRBexpr) Operator

Create an XPRBrelation from two XPRBexprs.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBrelation operator >=(
	XPRBexpr l1,
	XPRBexpr l2
)

Parameters

l1  XPRBexpr
The lhs XPRBexpr.
l2  XPRBexpr
The rhs XPRBexpr.

Return Value

XPRBrelation
The resultant XPRBrelation.
Remarks
This is usually used when creating constraints directly in the method call.
Example
C#
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;
See Also