A genetic algorithm for bechmark problems, written to learn Rust.
Clone or download


Genetic Algorithm

Build Status

A genetic algorithm in Rust for the following benchmark problems:

  • Ackley
  • Griewangk
  • Rastrigin
  • Rosenbrock
  • Schwefel
  • Sphere


  1. Install Rust
  2. Build with cargo build --release
  3. Search with ./target/release/rust-genetic-algorithm
  4. See further usage with rust-genetic-algorithm --help

Based on my prior implementation in C++.