optimagic-dev / optimagic

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.
https://optimagic.readthedocs.io/
MIT License
270 stars 30 forks source link

Fix deprecation warnings stemming from derivatives #516

Closed timmens closed 3 months ago

timmens commented 3 months ago

Fixes deprecation warnings that were missed in #514

codecov[bot] commented 3 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files with missing lines Coverage Δ
src/estimagic/estimate_ml.py 84.25% <100.00%> (ø)
src/estimagic/estimate_msm.py 89.47% <ø> (ø)
...imagic/optimization/internal_criterion_template.py 82.48% <100.00%> (ø)
src/optimagic/optimization/optimize.py 92.17% <ø> (ø)
src/optimagic/optimization/process_results.py 95.06% <100.00%> (ø)
src/optimagic/parameters/nonlinear_constraints.py 89.00% <ø> (ø)
src/optimagic/visualization/history_plots.py 89.47% <100.00%> (ø)

... and 1 file with indirect coverage changes