Expand description
§GIVP — GRASP-ILS-VND with Path Relinking
A metaheuristic optimizer for continuous and mixed-integer black-box optimization problems.
§Quick start
use givp::{givp, GivpConfig, Direction};
let sphere = |x: &[f64]| -> f64 { x.iter().map(|v| v * v).sum() };
let bounds: Vec<(f64, f64)> = vec![(-5.12, 5.12); 5];
let result = givp(sphere, &bounds, GivpConfig::default()).unwrap();
println!("Best: {:.6} at {:?}", result.fun, result.x);Structs§
- Givp
Config - Algorithm hyper-parameters.
- Optimize
Result - Optimization result.
- Sweep
Summary - Statistics summary from a multi-seed sweep.
Enums§
- Direction
- Optimization direction.
- Givp
Error - All errors produced by the GIVP library.
- Termination
Reason - Why the optimizer stopped.
Functions§
- givp
- Run the GRASP-ILS-VND with Path Relinking optimizer.
- seed_
sweep - Run an optimizer multiple times with different random seeds to estimate reproducibility and convergence behavior.