add Method
  This adds an XPRBexpr expression to the constraint. 
Namespace: BCL
Assembly: xprbdn (in xprbdn.dll) Version: 4.8.14.0
 Syntax
Syntax
Parameters
- l
- 
   Type: 
   BCLXPRBexpr
   
 The XPRBexpr object to add to the constraint.
 Examples
Examples
  XPRBprob prob = new XPRBprob("NewProb"); XPRBvar x; XPRBvar y; x = prob.newVar("x"); y = prob.newVar("y"); XPRBctr ctr = prob.newCtr("Constraint1", 5.0 * x + 20.0 * y); ... XPRBvar a, b; a = prob.newVar("a"); b = prob.newVar("b"); ctr.add(2.3*a - 4.8*b); 
 See Also
See Also
 
