14 releases (7 breaking)
new 0.8.0 | Jan 4, 2025 |
---|---|
0.7.0 | Dec 10, 2023 |
0.6.0 | Jun 16, 2022 |
0.5.4 | Apr 21, 2021 |
0.3.2 | Jul 25, 2018 |
#126 in Algorithms
2,182 downloads per month
Used in 6 crates
(5 directly)
2MB
36K
SLoC
nlopt
Thin wrapper around the C nlopt
library.
Building
You will need cmake
to build successfully. It should be easy to find
on your favourite package manager.
Examples
For a basic usage examples, see the /examples
directory. Run with
cargo run --example bobyqa
cargo run --example mma
See also the tests in src/lib.rs
. Run them with
cargo test
Attribution
This library was originally forked from https://github.com/mithodin/rust-nlopt.
License
The Rust code is licensed under MIT.
For convenience, this crate bundles nlopt
and links it statically. This may have
licensing implications so I refer the user to the bundled license
for more information.