localsearch 0.24.0

A Library of Local Search based Metaheuristics
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use thiserror::Error;

/// Errors that can occur during local search optimization.
#[derive(Error, Debug)]
pub enum LocalsearchError {
    /// Failed to generate a random solution.
    #[error("Failed to generate random solution")]
    RandomGenerationError,
    /// Preprocessing of the solution failed.
    #[error("Preprocessing failed")]
    PreprocessError,
}