Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/argmin-rs/argmin
Numerical optimization in pure Rust
https://github.com/argmin-rs/argmin
numerical-optimization optimization optimization-algorithms optimization-methods optimizer rust
Last synced: about 2 months ago
JSON representation
Numerical optimization in pure Rust
- Host: GitHub
- URL: https://github.com/argmin-rs/argmin
- Owner: argmin-rs
- License: apache-2.0
- Created: 2018-07-22T10:09:33.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-10-27T06:17:59.000Z (about 2 months ago)
- Last Synced: 2024-10-27T06:40:01.043Z (about 2 months ago)
- Topics: numerical-optimization, optimization, optimization-algorithms, optimization-methods, optimizer, rust
- Language: Rust
- Homepage: http://argmin-rs.org
- Size: 44.1 MB
- Stars: 1,003
- Watchers: 14
- Forks: 79
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE-APACHE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-rust-cn - argmin-rs/argmin - ci.org/argmin-rs/argmin.svg?branch=master">](https://travis-ci.org/argmin-rs/argmin) (Libraries / Computation)
- awesome-rust - argmin-rs/argmin - ci.org/argmin-rs/argmin.svg?branch=master">](https://travis-ci.org/argmin-rs/argmin) (Libraries / Computation)
- awesome-rust - argmin-rs/argmin
- awesome-rust-cn - argmin-rs/argmin
- awesome-rust-zh - argmin-rs/argmin - 纯 Rust 优化库[<img src="https://api.travis-ci.org/argmin-rs/argmin.svg?branch=master">](https://travis-ci.org/argmin-rs/argmin) (库 / 计算)
- awesome-rust - argmin-rs/argmin - Optimization library (Libraries / Computation)
- awesome-rust - argmin-rs/argmin - ci.org/argmin-rs/argmin.svg?branch=master">](https://travis-ci.org/argmin-rs/argmin) (库 Libraries / 计算 Computation)
- fucking-awesome-rust - argmin-rs/argmin - Optimization library (Libraries / Computation)
- fucking-awesome-rust - argmin-rs/argmin - Optimization library (Libraries / Computation)
README
Mathematical optimization in pure Rust
Website
|
Book
|
Docs (latest release)
|
Docs (main branch)
|
Examples (latest release)
|
Examples (main branch)argmin is a numerical optimization library written entirely in Rust.
argmins goal is to offer a wide range of optimization algorithms with a consistent interface.
It is type-agnostic by design, meaning that any type and/or math backend, such as `nalgebra` or `ndarray` can be used -- even your own.Observers allow one to track the progress of iterations, either by using one of the provided ones for logging to screen or disk or by implementing your own.
An optional checkpointing mechanism helps to mitigate the negative effects of crashes in unstable computing environments.
Due to Rusts powerful generics and traits, most features can be exchanged by your own tailored implementations.
argmin is designed to simplify the implementation of optimization algorithms and as such can also be used as a toolbox for the development of new algorithms. One can focus on the algorithm itself, while the handling of termination, parameter vectors, populations, gradients, Jacobians and Hessians is taken care of by the library.
## Algorithms
- Line searches
- Backtracking line search
- More-Thuente line search
- Hager-Zhang line search
- Trust region method
- Cauchy point method
- Dogleg method
- Steihaug method
- Steepest descent
- Conjugate gradient method
- Nonlinear conjugate gradient method
- Newton methods
- Newton’s method
- Newton-CG
- Quasi-Newton methods
- BFGS
- L-BFGS
- DFP
- SR1
- SR1-TrustRegion
- Gauss-Newton method
- Gauss-Newton method with linesearch
- Golden-section search
- Landweber iteration
- Brent’s method
- Nelder-Mead method
- Simulated Annealing
- Particle Swarm Optimization### External solvers compatible with argmin
External solvers which implement the `Solver` trait are compatible with argmins `Executor`,
and as such can leverage features like checkpointing and observers.- [egobox](https://crates.io/crates/egobox-ego)
- [cobyla](https://crates.io/crates/cobyla)## License
Licensed under either of
- Apache License, Version 2.0, ([LICENSE-APACHE](https://github.com/argmin-rs/argmin/blob/main/LICENSE-APACHE) or )
- MIT License ([LICENSE-MIT](https://github.com/argmin-rs/argmin/blob/main/LICENSE-MIT) or )at your option.
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.