Help with P zero matrix in c

Hi! How to solve LP in C, need matrix P = null

c_int P_nnz = 1;
c_float P_x[1] = { 0 };
c_int P_i[1] = { 0 };
c_int P_p[1] = { 0 };

You should define matrix P in a similar way as when it is not a zero matrix. Note that the dimension of P_p should always be equal to n+1, regardless of the number of nonzero entries in P.

Here is an example for n=5:

c_float *P_x = OSQP_NULL;
c_int P_nnz = 0;
c_int *P_i = OSQP_NULL;
c_int P_p[6] = {0, 0, 0, 0, 0, 0, };