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
254 stars 29 forks source link

Cleanup #500

Closed janosg closed 2 months ago

janosg commented 2 months ago

In this PR we shed some weight before we start the renaming and implementation of enhancement proposals.

Remove the dashboard

Remove the bokeh based dashboard. We have not promoted or used it for years and want to replace it with something more useful. Whether that is another dashboard, a tensorboard integration or a realtime convergence plot in a notebook is open.

Users who have used the dashboard can get similar functionality by using criterion_plot and params_plot on a log file inside a jupyter notebook.

Remove the simopt optimizers

We added the simopt optimizers for noisy objective function about a year ago but could not get our wrappers to solve simple optimization problems reliably and precisely. We therefore remove them again.

Users with noisy objective functions can use tranquilo, nag_bobyqa or nag_dfols instead.

Remove the derivative_plot

The derivative_plot visualizes the internal of Richardson extrapolation based numerical derivatives. Since we remove Richardson extrapolation, we need to remove the plot as well.

codecov[bot] commented 2 months ago

Codecov Report

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

Project coverage is 93.00%. Comparing base (2ab9ac5) to head (f43e0b6).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 0.5.0 #500 +/- ## ========================================== - Coverage 93.08% 93.00% -0.08% ========================================== Files 195 180 -15 Lines 14718 14023 -695 ========================================== - Hits 13700 13042 -658 + Misses 1018 981 -37 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

review-notebook-app[bot] commented 2 months ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB