I tried using minimize function in scipy packages like below code When I use jac option = approx_fprime, iteration is 0 and optimization doesn\'t work.