I am running a code where I use the function scipy.optimize.minimize multiple times. Every time the function is called it prints something like
"gtol
termination condition is satisfied.
Number of iterations: 42, function evaluations: 320, CG iterations: 32, optimality: 4.44e-16, constraint violation: 6.95e-09, execution time: 0.15 s."
I do not want to print this every time.
The function should not print this if is set in the options disp to False. This however does not work for me. I use scipy version 1.8.1 and python version 3.10.4.