getctrnum
| getctrnum | 
  Purpose
 
  
  Synopsis
 
 int getctrnum(XPRMcontext ctx, XPRMlinctr ctr);
 
  Arguments
 
 | 
     ctx 
     | 
     Mosel's execution context
     | 
| 
     ctr 
     | 
     Reference to a linear constraint
     | 
  Return value
 
  | 
     >= 0 
     | 
     Row number of the linear constraint
     | 
| 
     -1 
     | 
     Row number not available
     | 
| 
     < -1 
     | 
     SOS number (SOS are numbered -2,-3,...)
     | 
  Further information
 
 
 This function returns the row number of a linear constraint. A value of -1 is returned if no problem is available or if the constraint does not belong to the current problem. A negative value
 < -1 refers to a SOS (SOS numbers are -2,-3,... in this context).
 
 
  Related topics
 
  
