Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Native optimization in Rust

fcmaes-rust provides parallel, gradient-free optimization algorithms whose numerics, retry coordination, random streams, fitness evaluation, and multithreading all run in Rust. The reusable fcmaes-core crate has no C or C++ build dependency. An optional PyO3 package gives Python users the same native implementation.

This book connects three layers that serve different needs:

  • the generated fcmaes-core API reference gives exact Rust types, methods, runnable examples, and algorithm references;
  • the user guides explain selection, configuration, parallelism, retry, ask/tell operation, encodings, and Python integration;
  • the application tutorials preserve executable simulation models, commands, raw results, validation protocols, and deterministic figures.

If you have a concrete problem but have not chosen an optimizer, start with Choosing an optimizer. If you want to run code immediately, use Getting started. For a realistic end-to-end study, choose a chapter from the tutorial navigation.

The optimizer library is published on crates.io, while examples and tutorials are maintained in the GitHub repository.