Initializing help system before first use

add Method (XPRBexpr)

Adds another XPRB expression to the current XPRB expression.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 37.1.1.0
Syntax
C#
VB
public XPRBexpr add(
	XPRBexpr l
)

Parameters

l
Type:  BCLXPRBexpr
The XPRBexpr to add to the expression.

Return Value

Type:  XPRBexpr
The new 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); ... exp = exp.add(4.5*var + 0.9*var2);
See Also