Something in scipy.optimize.minimize?
Something in scipy.optimize.minimize?