optimization
Collection of optimization algorithms and strategies.
Usage
extern crate optimization;
use ;
// numeric version of the Rosenbrock function
let function = new;
// we use a simple gradient descent scheme
let minimizer = new;
// perform the actual minimization, depending on the task this may
// take some time, it may be useful to install a log sink to see
// what's going on
let solution = minimizer.minimize;
println!;
Installation
Simply add it as a Cargo
dependency:
[]
= "*"
Documentation
For an exhaustive documentation head over to the API docs.
Development
Simply download this crate, add your stuff, write some tests and create a pull request. Pretty simple! :)
$ cargo test
$ cargo clippy
License
This software is licensed under the terms of the MIT license. Please see the LICENSE for full details.