Does OSQP has a maximum number of variables?

Hello!

I’m trying to optimize a 30x30 model but OSQP results show that the problem is “primal infeasible” while I can optimize it using MATLAB.

Does OSQP has a maximum number of variables to work or I should check my model?

Thank you!

OSQP has no limitations on the number of variables. The problem is primal infeasible if it has no solution. You can try decreasing the infeasibility tolerance if you believe your problem is feasible.

It worked, thank you very much :smile: