add Method (Double)
Adds a numeric value to the XPRB expression.
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 37.1.1.0

Parameters
- d
-
Type:
SystemDouble
The double value to add to the expression.
Return Value
Type: XPRBexprThe new XPRBexpr expression.

XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBexpr exp = new XPRBexpr(4.2*var + 3.6); ... exp = exp.add(-3.962);
