add Method (XPRBexpr, XPRBvar)
  Adds an XPRBvar to an XPRB expression. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Parameters
- l1
- 
   Type: 
   BCLXPRBexpr
   
 The XPRBexpr to be added to.
- v
- 
   Type: 
   BCLXPRBvar
   
 The XPRBvar to add to l1.
Return Value
Type: XPRBexprThe new XPRBexpr expression.
 Examples
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 = XPRBexpr.add(exp, var2); 
 See Also
See Also
 
