The minimize() interface has uniform convention for the objective functions.
`approx_grad` is an option to fmin_l_bfgs_b().