Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetnumrows
is used to access the number of
rows in the constraint matrix, not including the objective function,
quadratic constraints, or the
bounds constraints on the variables.
Example
cur_numrows = CPXgetnumrows (env, lp);
See also the example lpex1.c
in the
ILOG CPLEX User's Manual and in the standard distribution.
env | A pointer to the CPLEX environment as returned by |
lp | A pointer to a CPLEX problem object as returned by |
CPXgetnumrows
returns the value 0 (zero); otherwise, it returns the number of rows.