evo-rs
Evolutionary optimization in Rust. GA, DE, NSGA-II, GP. When gradient descent can't help you.
What's inside
- Genetic algorithms — tournament/roulette selection, single-point/two-point/uniform crossover, gaussian/bitflip mutation
- Differential evolution — DE/rand/1, DE/best/1, DE/current-to-best/1 with adaptive F/CR
- NSGA-II — multi-objective optimization with crowding distance and non-dominated sorting
- Genetic programming — tree-based GP with subtree crossover, tournament selection
All components are modular — mix and match operators to build the optimizer your problem needs.
Quick start
[]
= "0.1"
Genetic Algorithm
use ;
let config = GAConfig ;
let best = run_ga;
println!;
NSGA-II (multi-objective)
use ;
let front = run_nsga2;
Genetic Programming
use ;
License
MIT OR Apache-2.0