I am trying to use osqp for minimization of a large problem with many constraints in python and I get this error:
File “./main.py”, line 59, in step1
prob.setup(P, q, A, lb, ub,warm_start=False)
File “/usr/local/lib/python3.8/site-packages/osqp/interface.py”, line 32, in setup
ValueError: Workspace allocation error!
I noticed that my machines memory usage goes to 1.2 GB and then stops there. Is there a way to work around this error?
I works fine for the same code (for building the matrices and constraints) but smaller case.