addTerm Method (Double, XPRBvar)
  Add a new term to the current XPRBcut. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.13.0
 Syntax
Syntax
Parameters
- val
- 
   Type: 
   SystemDouble
   
 The double value to use as the coefficient of the new term.
- var
- 
   Type: 
   BCLXPRBvar
   
 The XPRBvar to use in the new term.
Return Value
Type: Int320 on success, 1 on failure.
 Examples
Examples
  XPRBprob prob = new XPRBprob("NewProb"); XPRBcut cut = new XPRBcut(); XPRBvar var = new XPRBvar("Variable"); XPRBvar var2 = new XPRBvar("Variable2"); cut.assign(2.6*var <= 2.5); ... cut.addTerm(0.1, var2); 
 See Also
See Also
 
