XPRBgetrhs
| XPRBgetrhs | 
  Purpose
 
  Synopsis
 
double XPRBgetrhs(XPRBctr ctr); 
 
  Argument
 
| 
     ctr 
     | 
     Reference to a previously created constraint.
     | 
  Return value
 
 Right hand side value of the constraint, 0 in case of an error.
  Example
 
 The following retrieves the right hand side value of the constraint
 ctr1.
 
XPRBprob prob; XPRBctr ctr1; double rhs; ... ctr1 = XPRBnewctr(prob, "r1", XPRB_E); rhs = XPRBgetrhs(ctr1);
  Further information
 
 This function returns the right hand side value (
 i.e. the constant term) of a previously defined constraint. The default right hand side value is
 0. If the given constraint is a ranged constraint this function returns its upper bound.
 
  Related topics
 
 
