├── .github └── workflows │ ├── benchmark.yml │ ├── coverage.yml │ ├── release.yml │ └── rust.yml ├── .gitignore ├── CHANGELOG.md ├── Cargo.lock ├── Cargo.toml ├── LICENSE-APACHE ├── LICENSE-MIT ├── README.md ├── benches ├── derivatives.rs ├── lbfgsb_benchmark.rs └── nelder_mead_benchmark.rs ├── clippy.toml ├── docs └── docs-header.html ├── examples ├── multimodal_ess │ ├── .justfile │ ├── iat.svg │ ├── main.rs │ ├── scatter.png │ ├── traces.svg │ └── visualize.py ├── multivariate_normal_ess │ ├── .justfile │ ├── corner_plot.svg │ ├── iat.svg │ ├── main.rs │ ├── traces.svg │ └── visualize.py ├── multivariate_normal_fit │ ├── .justfile │ ├── corner.svg │ ├── data.svg │ ├── main.rs │ ├── traces.svg │ ├── traces_burned.svg │ ├── visualize.py │ └── walkers_corner.gif └── pso │ ├── .justfile │ ├── main.rs │ ├── pso.gif │ └── visualize.py ├── media ├── logo.png ├── logo.svg ├── wordmark.png └── wordmark.svg └── src ├── algorithms ├── gradient │ ├── adam.rs │ ├── gradient_status.rs │ ├── lbfgsb.rs │ └── mod.rs ├── gradient_free │ ├── gradient_free_status.rs │ ├── mod.rs │ ├── nelder_mead.rs │ └── simulated_annealing.rs ├── line_search │ ├── backtracking_line_search.rs │ ├── hager_zhang_line_search.rs │ ├── mod.rs │ └── more_thuente_line_search.rs ├── mcmc │ ├── aies.rs │ ├── ensemble_status.rs │ ├── ess.rs │ └── mod.rs ├── mod.rs └── particles │ ├── mod.rs │ ├── pso.rs │ ├── swarm.rs │ └── swarm_status.rs ├── core ├── abort_signals.rs ├── callbacks.rs ├── mod.rs ├── point.rs ├── summary.rs ├── transforms.rs └── utils.rs ├── lib.rs ├── test_functions ├── mod.rs ├── rastrigin.rs └── rosenbrock.rs └── traits ├── abort_signal.rs ├── algorithm.rs ├── boundlike.rs ├── callback.rs ├── cost_function.rs ├── linesearch.rs ├── mod.rs ├── status.rs └── transform.rs /.github/workflows/benchmark.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/.github/workflows/benchmark.yml -------------------------------------------------------------------------------- /.github/workflows/coverage.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/.github/workflows/coverage.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /target 2 | 3 | src/main.rs 4 | 5 | *.pkl 6 | /*.gif -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE-APACHE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/LICENSE-APACHE -------------------------------------------------------------------------------- /LICENSE-MIT: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/LICENSE-MIT -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/README.md -------------------------------------------------------------------------------- /benches/derivatives.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/benches/derivatives.rs -------------------------------------------------------------------------------- /benches/lbfgsb_benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/benches/lbfgsb_benchmark.rs -------------------------------------------------------------------------------- /benches/nelder_mead_benchmark.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/benches/nelder_mead_benchmark.rs -------------------------------------------------------------------------------- /clippy.toml: -------------------------------------------------------------------------------- 1 | allow-unwrap-in-tests = true 2 | -------------------------------------------------------------------------------- /docs/docs-header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/docs/docs-header.html -------------------------------------------------------------------------------- /examples/multimodal_ess/.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/.justfile -------------------------------------------------------------------------------- /examples/multimodal_ess/iat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/iat.svg -------------------------------------------------------------------------------- /examples/multimodal_ess/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/main.rs -------------------------------------------------------------------------------- /examples/multimodal_ess/scatter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/scatter.png -------------------------------------------------------------------------------- /examples/multimodal_ess/traces.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/traces.svg -------------------------------------------------------------------------------- /examples/multimodal_ess/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multimodal_ess/visualize.py -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/.justfile -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/corner_plot.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/corner_plot.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/iat.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/iat.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/main.rs -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/traces.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/traces.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_ess/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_ess/visualize.py -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/.justfile -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/corner.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/corner.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/data.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/data.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/main.rs -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/traces.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/traces.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/traces_burned.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/traces_burned.svg -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/visualize.py -------------------------------------------------------------------------------- /examples/multivariate_normal_fit/walkers_corner.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/multivariate_normal_fit/walkers_corner.gif -------------------------------------------------------------------------------- /examples/pso/.justfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/pso/.justfile -------------------------------------------------------------------------------- /examples/pso/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/pso/main.rs -------------------------------------------------------------------------------- /examples/pso/pso.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/pso/pso.gif -------------------------------------------------------------------------------- /examples/pso/visualize.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/examples/pso/visualize.py -------------------------------------------------------------------------------- /media/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/media/logo.png -------------------------------------------------------------------------------- /media/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/media/logo.svg -------------------------------------------------------------------------------- /media/wordmark.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/media/wordmark.png -------------------------------------------------------------------------------- /media/wordmark.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/media/wordmark.svg -------------------------------------------------------------------------------- /src/algorithms/gradient/adam.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient/adam.rs -------------------------------------------------------------------------------- /src/algorithms/gradient/gradient_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient/gradient_status.rs -------------------------------------------------------------------------------- /src/algorithms/gradient/lbfgsb.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient/lbfgsb.rs -------------------------------------------------------------------------------- /src/algorithms/gradient/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient/mod.rs -------------------------------------------------------------------------------- /src/algorithms/gradient_free/gradient_free_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient_free/gradient_free_status.rs -------------------------------------------------------------------------------- /src/algorithms/gradient_free/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient_free/mod.rs -------------------------------------------------------------------------------- /src/algorithms/gradient_free/nelder_mead.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient_free/nelder_mead.rs -------------------------------------------------------------------------------- /src/algorithms/gradient_free/simulated_annealing.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/gradient_free/simulated_annealing.rs -------------------------------------------------------------------------------- /src/algorithms/line_search/backtracking_line_search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/line_search/backtracking_line_search.rs -------------------------------------------------------------------------------- /src/algorithms/line_search/hager_zhang_line_search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/line_search/hager_zhang_line_search.rs -------------------------------------------------------------------------------- /src/algorithms/line_search/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/line_search/mod.rs -------------------------------------------------------------------------------- /src/algorithms/line_search/more_thuente_line_search.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/line_search/more_thuente_line_search.rs -------------------------------------------------------------------------------- /src/algorithms/mcmc/aies.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/mcmc/aies.rs -------------------------------------------------------------------------------- /src/algorithms/mcmc/ensemble_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/mcmc/ensemble_status.rs -------------------------------------------------------------------------------- /src/algorithms/mcmc/ess.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/mcmc/ess.rs -------------------------------------------------------------------------------- /src/algorithms/mcmc/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/mcmc/mod.rs -------------------------------------------------------------------------------- /src/algorithms/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/mod.rs -------------------------------------------------------------------------------- /src/algorithms/particles/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/particles/mod.rs -------------------------------------------------------------------------------- /src/algorithms/particles/pso.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/particles/pso.rs -------------------------------------------------------------------------------- /src/algorithms/particles/swarm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/particles/swarm.rs -------------------------------------------------------------------------------- /src/algorithms/particles/swarm_status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/algorithms/particles/swarm_status.rs -------------------------------------------------------------------------------- /src/core/abort_signals.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/abort_signals.rs -------------------------------------------------------------------------------- /src/core/callbacks.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/callbacks.rs -------------------------------------------------------------------------------- /src/core/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/mod.rs -------------------------------------------------------------------------------- /src/core/point.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/point.rs -------------------------------------------------------------------------------- /src/core/summary.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/summary.rs -------------------------------------------------------------------------------- /src/core/transforms.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/transforms.rs -------------------------------------------------------------------------------- /src/core/utils.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/core/utils.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/lib.rs -------------------------------------------------------------------------------- /src/test_functions/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/test_functions/mod.rs -------------------------------------------------------------------------------- /src/test_functions/rastrigin.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/test_functions/rastrigin.rs -------------------------------------------------------------------------------- /src/test_functions/rosenbrock.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/test_functions/rosenbrock.rs -------------------------------------------------------------------------------- /src/traits/abort_signal.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/abort_signal.rs -------------------------------------------------------------------------------- /src/traits/algorithm.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/algorithm.rs -------------------------------------------------------------------------------- /src/traits/boundlike.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/boundlike.rs -------------------------------------------------------------------------------- /src/traits/callback.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/callback.rs -------------------------------------------------------------------------------- /src/traits/cost_function.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/cost_function.rs -------------------------------------------------------------------------------- /src/traits/linesearch.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/linesearch.rs -------------------------------------------------------------------------------- /src/traits/mod.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/mod.rs -------------------------------------------------------------------------------- /src/traits/status.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/status.rs -------------------------------------------------------------------------------- /src/traits/transform.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/denehoffman/ganesh/HEAD/src/traits/transform.rs --------------------------------------------------------------------------------