setTerm Method (Double)
Adds a new numeric term to an XPRB expression.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0

Parameters
- val
-
Type:
SystemDouble
The double which forms the new term.
Return Value
Type: XPRBexprThe XPRBexpr expression containing the new term.

XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBexpr exp = new XPRBexpr(4.2*var + 3.6); ... exp.setTerm(3.14159);
