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

Make tranquilo an optional dependency #464

Closed janosg closed 1 year ago

janosg commented 1 year ago
codecov[bot] commented 1 year ago

Codecov Report

Merging #464 (b23ffcb) into main (dfc968c) will decrease coverage by 0.73%. The diff coverage is 86.48%.

@@            Coverage Diff             @@
##             main     #464      +/-   ##
==========================================
- Coverage   93.17%   92.44%   -0.73%     
==========================================
  Files         246      192      -54     
  Lines       17937    14591    -3346     
==========================================
- Hits        16712    13489    -3223     
+ Misses       1225     1102     -123     
Impacted Files Coverage Δ
tests/optimization/test_quadratic_subsolvers.py 100.00% <ø> (ø)
src/estimagic/config.py 75.60% <60.00%> (-2.17%) :arrow_down:
src/estimagic/optimization/tranquilo.py 88.88% <88.88%> (ø)
src/estimagic/algorithms.py 100.00% <100.00%> (ø)
src/estimagic/benchmarking/run_benchmark.py 92.30% <100.00%> (ø)
src/estimagic/optimization/get_algorithm.py 92.24% <100.00%> (-0.87%) :arrow_down:
tests/optimization/test_history_collection.py 98.41% <100.00%> (ø)
tests/optimization/test_many_algorithms.py 100.00% <100.00%> (ø)
...ts/optimization/test_with_nonlinear_constraints.py 73.25% <100.00%> (ø)

... and 3 files with indirect coverage changes