Disable printing of solver status after RTI iteration


I am using the Python interface of acados and using the HPIPM solver.
After every iteration of the SQP RTI a statement like below is printed in case the solver runs into an error:
QP_RTI: QP solver returned error status 3 QP iteration 6.

Can printing this statement somehow be disabled?
I am running an experiment, posing several MPC problems and I would like to print some progress statements throughout the process. Unfortunately they are getting lost in all the error statements.

I already tried AcadosOcpSolver.options_set(‘print_level’, i)

But this didn’t seem to be the way to go.

Thanks in advance for your support!


you can compile acados with the option
to disable those printes.