setTerm Method (Double, XPRBvar, XPRBvar)
  Set a new term in the XPRB expression. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Parameters
- val
- 
   Type: 
   SystemDouble
   
 The new term coefficient.
- var1
- 
   Type: 
   BCLXPRBvar
   
 The XPRBvar which forms one part of the new term.
- var2
- 
   Type: 
   BCLXPRBvar
   
 The XPRBvar which forms the other part of the new term.
Return Value
Type: XPRBexprThe XPRBexpr containing the new term.
 Examples
Examples
  XPRBprob prob = new XPRBprob("NewProb"); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); XPRBvar var3 = new XPRBvar("Variable3"); XPRBexpr exp = new XPRBexpr(4.2 * var * var2); ... exp.setTerm(3.67, var, var3); 
 See Also
See Also
 
