Initializing help system before first use

add Method (XPRBexpr, XPRBterm)

Adds an XPRBterm to an XPRB expression.

Namespace:   BCL
Assembly:  xprbdn (in xprbdn.dll) Version: 4.8.14.0
Syntax
C#
VB
public static XPRBexpr add(
	XPRBexpr l1,
	XPRBterm t
)

Parameters

l1
Type:  BCLXPRBexpr
The XPRBexpr to be added to.
t
Type:  BCLXPRBterm
The XPRBterm to add to l1.

Return Value

Type:  XPRBexpr
The new XPRBexpr expression.
Examples
XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBterm term = new XPRBterm(3.4, var); XPRBexpr exp = new XPRBexpr(4.2*var + 3.6); ... exp = XPRBexpr.add(exp, term);
See Also