Initializing help system before first use

LessThanOrEqual Operator (XPRBvar, XPRBexpr)

Create an XPRBrelation from an XPRBexpr and an XPRBvar.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public static XPRBrelation operator <=(
	XPRBvar lhs,
	XPRBexpr rhs
)

Parameters

lhs
Type:  BCLXPRBvar
The lhs XPRSvar.
rhs
Type:  BCLXPRBexpr
The rhs XPRBexpr.

Return Value

Type:  XPRBrelation
The resultant XPRBrelation.
Remarks
This is usually used when creating constraints directly in the method call.
Examples
XPRBvar var = new XPRBvar("Variable1"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBexpr exp = new XPRBexpr(1.9 - 3.1*var); XPRBrelation rel; ... rel = var2 <= exp;
See Also