Skip to content

Commit

Permalink
Add optimizer benchmarking tools to estimagic (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
janosg authored Nov 22, 2021
1 parent 4ed87a7 commit e5b785e
Show file tree
Hide file tree
Showing 28 changed files with 4,180 additions and 4 deletions.
3 changes: 2 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ moments. The breaking changes are:
- structure of the logging database has changed
- there is an additional boolean flag named ``scaling`` in minimize and maximize


- :gh:`251` Allows the loading, running and visualization of benchmarks
(:ghuser:`janosg`, :ghuser:`mpetrosian` and :ghuser:`roecla`)
- :gh:`196` Adds support for multistart optimizations (:ghuser:`asouther4` and
:ghuser:`janosg`)
- :gh:`248` Adds the fides optimizer (:ghuser:`roecla`)
Expand Down
Binary file modified docs/source/_static/images/history_trust-ncg.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/source/how_to_guides/optimization/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,4 @@ Optimization
how_to_choose_optimizer
how_to_scale_optimization_problems
how_to_do_multistart_optimizations.ipynb
how_to_benchmark_optimization_algorithms.ipynb
4 changes: 2 additions & 2 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ dependencies:
- numpy
- pandas
- pdbpp
- petsc4py>=3.11
- petsc4py>=3.16.1
- pygmo
- pytest
- pytest-cov
Expand All @@ -52,6 +52,6 @@ dependencies:
- pre-commit
- Py-BOBYQA
- DFO-LS
- fides>=0.6.3
- fides==0.6.3
- gif
- gif[matplotlib]
8 changes: 8 additions & 0 deletions src/estimagic/__init__.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
from estimagic import utilities
from estimagic.benchmarking.get_benchmark_problems import get_benchmark_problems
from estimagic.benchmarking.run_benchmark import run_benchmark
from estimagic.differentiation.derivatives import first_derivative
from estimagic.estimation.estimate_ml import estimate_ml
from estimagic.estimation.estimate_msm import estimate_msm
from estimagic.estimation.msm_weighting import get_moments_cov
from estimagic.inference.bootstrap import bootstrap
from estimagic.optimization.optimize import maximize
from estimagic.optimization.optimize import minimize
from estimagic.visualization.convergence_plot import convergence_plot
from estimagic.visualization.profile_plot import profile_plot

try:
from ._version import version as __version__
Expand All @@ -24,5 +28,9 @@
"estimate_msm",
"estimate_ml",
"get_moments_cov",
"run_benchmark",
"get_benchmark_problems",
"profile_plot",
"convergence_plot",
"__version__",
]
Empty file.
Loading

0 comments on commit e5b785e

Please sign in to comment.