| Overview | Group | Index | Concepts | 
The routine CPXgetrows accesses a range of rows
 of the constraint matrix, not including the objective function nor the bound 
 constraints on the variables of a CPLEX problem object. The beginning and
 end of the range, along with the length of the arrays in which the nonzero
 entries of these rows are to be returned, must be specified.
rmatspace is 0 then the negative of the value
 of surplus_p returned indicates the length needed for the
 arrays rmatval and rmatind.
 Example
 status = CPXgetrows (env, lp, &nzcnt, rmatbeg, rmatind, rmatval,
                      rmatspace, &surplus, 0, cur_numrows-1);
 | env | A pointer to the CPLEX environment as returned by the   | 
| lp | A pointer to a CPLEX problem object as returned by   | 
| nzcnt_p | A pointer to an integer to contain the number of nonzeros returned; that is, the true length of the arrays   | 
| rmatbeg | An array to contain indices indicating where each of the requested rows begins in the arrays   | 
| rmatind | An array to contain the column indices of the entries of   | 
| rmatval | An array to contain the nonzero entries of the specified rows. May be NULL if   | 
| rmatspace | An integer indicating the length of the arrays   | 
| surplus_p | A pointer to an integer to contain the difference between   | 
| begin | An integer indicating the beginning of the range of rows to be returned.  | 
| end | An integer indicating the end of the range of rows to be returned.  | 
The routine returns zero if successful and nonzero if an 
 error occurs. The value CPXERR_NEGATIVE_SURPLUS 
 indicates that insufficient space was available in the arrays 
 rmatind and rmatval to hold the 
 nonzero coefficients.