Skip to content
This repository has been archived by the owner on Oct 10, 2020. It is now read-only.

Latest commit

 

History

History
33 lines (22 loc) · 795 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 795 Bytes

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 example, see examples/bobyqa.rs. Run with

cargo run --example bobyqa

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.