balance_partitions

Function balance_partitions 

Source
pub fn balance_partitions<'a, R, M>(
    model: M,
    initial_solution: M::SolutionType,
    rng: &mut R,
    max_time: Duration,
) -> (M::SolutionType, NotNan<f64>)
where R: Rng, M: OptModel<'a>,
Expand description

Runs simulated annealing to find a better partitioning.