Click or drag to resize

XPRBvarEquality(Double, XPRBvar) Operator

Create an XPRBrelation from an XPRBvar and a number

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public static XPRBrelation operator ==(
	double l1,
	XPRBvar vl2
)

Parameters

l1  Double
The lhs number.
vl2  XPRBvar
The rhs XPRBvar.

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");
XPRBrelation rel;
...
rel = 1 == var2;
See Also