pub struct Options {
pub sense: Sense,
pub threshold: Option<f64>,
pub max_iter: usize,
pub n_trials: usize,
pub seed: u64,
pub refine: Option<Dv>,
pub dv: Dv,
pub time_limit: Option<Duration>,
pub population: Option<usize>,
}Expand description
Algorithm settings.
Fields§
§sense: SenseOptimization direction.
threshold: Option<f64>Optional pair-cost threshold. Optimize sums of d - threshold over
transversal partial cliques, with singletons allowed. +inf forbids a
pair when minimizing, -inf when maximizing. All algorithms, DV
refinement and supported initial solutions accept a threshold;
None preserves complete matching.
max_iter: usizeMove limit of Cm, Em (per trial) and Fm; DV sweeps; ILS perturbations; memetic generations.
n_trials: usizeNumber of independent Em trials or ILS chains.
seed: u64Seed of Em, Fm, ILS and Memetic; iteration budgets are reproducible.
refine: Option<Dv>Optional DV search after the selected algorithm.
dv: DvNeighbourhood used within ILS and Memetic.
time_limit: Option<Duration>Optional time budget for ILS (after the start) or Memetic (from entry).
population: Option<usize>Memetic population size; None uses 12 or time-based population sizing.