optimagic is a Python package for numerical optimization. It is a unified interface to optimizers from SciPy, NlOpt and other packages. optimagic's minimize function works just like SciPy's, so you don't have to adjust your code. You simply get more optimizers for free. On top you get diagnostic tools, parallel numerical derivatives and more.
Currently fun is a mandatory argument even if fun_and_jac is provided. We can make it optional. It is not hard but not a breaking change so I postpone until after the next release.
We should not forget to adjust the how-to-guide on custom derivatives after doing that.
Currently
fun
is a mandatory argument even iffun_and_jac
is provided. We can make it optional. It is not hard but not a breaking change so I postpone until after the next release.We should not forget to adjust the how-to-guide on custom derivatives after doing that.