Click or drag to resize

XPRBexprmul(Double) Method

Multiplies the XPRB expression by a coefficient d.

Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 47.01.01+0ba4e76731516b80760698bbaa939494dae84e49
Syntax
public XPRBexpr mul(
	double d
)

Parameters

d  Double
The double with which to mulitply the XPRBexpr.

Return Value

XPRBexpr
The resultant XPRBexpr expression.
Example
C#
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);
...
exp.mul(2.5);
See Also