scipy/scipy — pull request #3120 by matthias-k (2013-12-04 10:07:14+00:00)
Title: ENH: Add callback to slsqp in scipy.optimize

I implemented a callback to the slsqp minimization in scipy.optimize. The callback is called after each major iteration of the slsqp algorithm. It can be used via the scipy.optimize.minimize interface.

I also implemented a test for the callback that checks whether the callback has been called and that it has been called the correct number of times.