SciPy - Advanced Optimization
Which of the following is the correct way to define a callback function for
scipy.optimize.minimize that prints the current parameter values at each iteration?