getctrnum
| getctrnum | 
  Purpose
 
 
 Get the row number of a linear constraint.
 
 
  Synopsis
 
 int getctrnum(XPRMcontext ctx, XPRMnlpdata nlpdata, 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
     | 
  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.
 
 
  Related topics
 
  
