add Method (XPRBexpr, XPRBterm)
Adds an XPRBterm to an XPRB expression.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- l1
-
Type:
BCLXPRBexpr
The XPRBexpr to be added to. - t
-
Type:
BCLXPRBterm
The XPRBterm to add to l1.
Return Value
Type: XPRBexprThe new XPRBexpr expression.

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);
