Turn solving verbosity off
amir-hoseyn77 opened this issue · 1 comments
amir-hoseyn77 commented
Hi,
I run the method OSQP.solve()
rapidly in my code and in each solve calling, the OSQP shows the solving log verbose. This makes output inappropriate for me. How to turn off the verbose mode (no print, log in console)?
amir-hoseyn77 commented
I think I found the solution. There is _model
that stores all settings, matrices, and info. verbosity can be turned off in _model
by this command prob._model.update_verbose(False)
It works in pure python osqp osqppurepy
and osqp
modules
Apply this command after setup problem Because after setting up the _model
create workspace that has verbose attribute.