NO FRAMES

CPXgetnumqpnz

int CPXPUBLIC CPXgetnumqpnz(CPXCENVptr env, CPXCLPptr lp)
Definition file: cplex.h
Include files: cplex.h

The routine CPXgetnumqpnz returns the number of nonzeros in the Q matrix of a problem object.

Example

 numqpnz = CPXgetnumqpnz (env, lp);

Parameters:

env

A pointer to the CPLEX environment as returned by CPXopenCPLEX.

lp

A pointer to a CPLEX problem object as returned by CPXcreateprob.

Returns:

If successful, the routine returns the number of nonzeros in the Q matrix. If an error occurs, zero is returned.