Initializing help system before first use

LessThanOrEqual Operator (XPRBexpr, Double)

Create an XPRBrelation from an XPRBexpr and a double.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public static XPRBrelation operator <=(
	XPRBexpr l1,
	double dl2
)

Parameters

l1
Type:  BCLXPRBexpr
The lhs XPRBexpr.
dl2
Type:  SystemDouble
The rhs double.

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"); XPRBexpr exp = new XPRBexpr(1.9 - 3.1*var); XPRBrelation rel; ... rel = exp <= 1.3;
See Also