Initializing help system before first use

mul Method (Double, XPRBexpr)

Multiplies an XPRB expression by a coefficient d.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public XPRBexpr mul(
	double d,
	XPRBexpr l
)

Parameters

d
Type:  SystemDouble
The double with which to mulitply the XPRBexpr.
l
Type:  BCLXPRBexpr
The XPRBexpr to multiply.

Return Value

Type:  XPRBexpr
The resultant XPRBexpr expression.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBexpr exp = new XPRBexpr(4.2*var + 3.6*var2 - 9.6); ... XPRBexpr.mul(2.5, exp);
See Also