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

Use subclasses for benchmark problems #540

Open timmens opened 1 month ago

timmens commented 1 month ago

In this PR, we implement the subclass representation of benchmark problems as proposed in EP-02.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 78.26087% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/optimagic/benchmarking/benchmark_problem.py 78.26% 5 Missing :warning:
Files with missing lines Coverage Δ
src/optimagic/benchmarking/benchmark_problem.py 78.26% <78.26%> (ø)

... and 1 file with indirect coverage changes