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

Several small improvements #412

Closed janosg closed 2 years ago

janosg commented 2 years ago

solves #409 solves #405

codecov[bot] commented 2 years ago

Codecov Report

Merging #412 (8cabec9) into main (8ce1611) will increase coverage by 0.00%. The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #412   +/-   ##
=======================================
  Coverage   92.86%   92.87%           
=======================================
  Files         223      223           
  Lines       17443    17450    +7     
=======================================
+ Hits        16199    16206    +7     
  Misses       1244     1244           
Impacted Files Coverage Δ
...timagic/optimization/subsolvers/_steihaug_toint.py 80.89% <ø> (ø)
src/estimagic/optimization/subsolvers/_trsbox.py 84.95% <ø> (ø)
src/estimagic/optimization/tiktak.py 92.63% <ø> (ø)
tests/optimization/subsolvers/test_bntr_fast.py 100.00% <ø> (ø)
tests/optimization/subsolvers/test_gqtpar_fast.py 100.00% <ø> (ø)
...sts/optimization/subsolvers/test_gqtpar_lambdas.py 100.00% <ø> (ø)
src/estimagic/inference/shared.py 99.36% <100.00%> (+<0.01%) :arrow_up:
src/estimagic/optimization/fides_optimizers.py 93.87% <100.00%> (+0.54%) :arrow_up:
...gic/optimization/subsolvers/_conjugate_gradient.py 100.00% <100.00%> (ø)
src/estimagic/optimization/subsolvers/bntr.py 87.20% <100.00%> (ø)
... and 2 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.