XPRBgetindicator
| XPRBgetindicator | 
  Purpose
 
  Synopsis
 
int XPRBgetindicator(XPRBctr ctr); 
 
  Argument
 
| 
     ctr 
     | 
     Reference to a previously created constraint.
     | 
  Return value
 
| 
     0 
     | 
     an ordinary constraint;
     | 
| 
     1 
     | 
     an indicator constraint with condition
     b=1;
     | 
| 
     -1 
     | 
     an indicator constraint with condition
     b=0;
     | 
| 
     -2 
     | 
     an error has occurred.
     | 
  Example
 
XPRBprob prob; XPRBctr ctr1; int istat; ... ctr1 = XPRBnewctr(prob, "r1", XPRB_L); istat = XPRBgetindicator(ctr1);
 This determines whether
 ctr1 is an ordinary constraint or an indicator constraint.
 
  Further information
 
 This function indicates whether the given constraint is an indicator constraint or an ordinary constraint. In the case of an indicator constraint the return value also specifies the sense of the condition.
 
  Related topics
 
 
