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

Update multistart option handling #513

Closed timmens closed 4 months ago

timmens commented 4 months ago

In this PR, I update the multistart options handing.

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

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 94.92188% with 13 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/optimagic/optimization/multistart_options.py 95.62% 7 Missing :warning:
...imagic/optimization/create_optimization_problem.py 72.72% 3 Missing :warning:
src/optimagic/optimization/multistart.py 92.59% 2 Missing :warning:
src/optimagic/optimization/optimize_result.py 92.30% 1 Missing :warning:
Files with missing lines Coverage Δ
src/optimagic/__init__.py 100.00% <100.00%> (+10.00%) :arrow_up:
src/optimagic/deprecations.py 100.00% <100.00%> (ø)
src/optimagic/exceptions.py 86.66% <100.00%> (+0.45%) :arrow_up:
src/optimagic/optimization/optimize.py 91.73% <100.00%> (+1.59%) :arrow_up:
src/optimagic/optimization/process_results.py 96.10% <100.00%> (-0.05%) :arrow_down:
src/optimagic/parameters/scaling.py 97.22% <100.00%> (+0.34%) :arrow_up:
src/optimagic/optimization/optimize_result.py 93.89% <92.30%> (-0.28%) :arrow_down:
src/optimagic/optimization/multistart.py 92.56% <92.59%> (+0.11%) :arrow_up:
...imagic/optimization/create_optimization_problem.py 84.74% <72.72%> (-0.32%) :arrow_down:
src/optimagic/optimization/multistart_options.py 95.62% <95.62%> (ø)

... and 1 file with indirect coverage changes