| Overview | Group | Tree | Graph | Index | Concepts |
The routine CPXgetnumnz is used to access the number of
nonzero elements in the constraint matrix of a CPLEX problem object, not
including the objective function, quadratic constraints,
or the bounds constraints on the variables.
Example
cur_numnz = CPXgetnumnz (env, lp);
| env | A pointer to the CPLEX environment as returned by |
| lp | A pointer to a CPLEX problem object as returned by |
CPXgetnumnz returns the value 0 (zero); otherwise, it returns the number of nonzero elements.