pqx123-lgtm/moonbit-vrp-solver/instance does not have a README file

    ParseError

    pub(all) suberror ParseError {
    MissingHeader(String)
    InvalidHeader(String)
    InvalidNumber(String)
    MissingSection(String)
    InvalidRecord(String)
    UnsupportedFormat(String)
    } derive(Eq, ToJson,
    Debug
    )

    Errors returned when a benchmark instance is not structurally valid.

    CatalogEntry

    pub struct CatalogEntry {
    name : String
    variant :
    ProblemVariant

    customers : Int
    source : String
    factory : () ->
    VrpInstance

    }

    Public metadata for the built-in examples and regression fixtures.

    CatalogEntry::customer_count

    fn CatalogEntry::customer_count(self : CatalogEntry) -> Int

    CatalogEntry::name

    fn CatalogEntry::name(self : CatalogEntry) -> String

    CatalogEntry::source

    fn CatalogEntry::source(self : CatalogEntry) -> String

    GeneratorConfig

    pub struct GeneratorConfig {
    name : String
    customer_count : Int
    coordinate_limit : Double
    vehicle_capacity : Double
    fleet_size : Int
    max_demand : Int
    horizon : Double
    service_time : Double
    seed : Int
    } derive(ToJson,
    Debug
    )

    Parameters for deterministic synthetic CVRP/VRPTW instances.

    GeneratorConfig::coordinate_limit

    fn GeneratorConfig::coordinate_limit(self : GeneratorConfig) -> Double

    GeneratorConfig::customer_count

    fn GeneratorConfig::customer_count(self : GeneratorConfig) -> Int

    GeneratorConfig::default

    GeneratorConfig::fleet_size

    fn GeneratorConfig::fleet_size(self : GeneratorConfig) -> Int

    GeneratorConfig::horizon

    fn GeneratorConfig::horizon(self : GeneratorConfig) -> Double

    GeneratorConfig::max_demand

    fn GeneratorConfig::max_demand(self : GeneratorConfig) -> Int

    GeneratorConfig::name

    fn GeneratorConfig::name(self : GeneratorConfig) -> String

    GeneratorConfig::seed

    fn GeneratorConfig::seed(self : GeneratorConfig) -> Int

    GeneratorConfig::service_time

    fn GeneratorConfig::service_time(self : GeneratorConfig) -> Double

    GeneratorConfig::tune

    fn GeneratorConfig::tune(self : GeneratorConfig, name? : String, customer_count? : Int, coordinate_limit? : Double, vehicle_capacity? : Double, fleet_size? : Int, max_demand? : Int, horizon? : Double, service_time? : Double, seed? : Int) -> GeneratorConfig

    GeneratorConfig::vehicle_capacity

    fn GeneratorConfig::vehicle_capacity(self : GeneratorConfig) -> Double

    all_sample_names

    fn all_sample_names() -> Array[String]

    All built-in examples, including edge cases used by the test suite.

    balanced_dispatch_sample

    catalog_customer_total

    fn catalog_customer_total() -> Int

    catalog_find

    fn catalog_find(name : String) -> CatalogEntry?

    catalog_names

    fn catalog_names() -> Array[String]

    catalog_overview

    fn catalog_overview() -> String

    catalog_variant_count

    generate_cvrp

    Creates a deterministic CVRP instance for load testing and tutorials.

    generate_vrptw

    Creates a deterministic Solomon-style VRPTW instance.

    generated_stress_sample

    A moderate deterministic stress case generated from a documented seed.

    infeasible_capacity_sample

    A structurally valid but capacity-infeasible case for error-path tests.

    instance_fingerprint

    fn instance_fingerprint(instance :
    VrpInstance
    ) -> String

    Produces a stable human-readable identity for regression fixtures.

    micro_cvrp_sample

    The smallest non-empty case, useful for embedding and smoke tests.

    parse_cvrp

    Parses the CVRPLIB/TSPLIB CVRP text format.

    parse_instance

    Parses either a CVRP or Solomon document based on its identifying headers.

    parse_solomon

    Parses the Solomon 100-customer style VRPTW format.

    sample_by_name

    sample_catalog

    fn sample_catalog() -> Array[CatalogEntry]

    sample_names

    fn sample_names() -> Array[String]

    small_cvrp_sample

    tight_vrptw_sample

    A deliberately tight VRPTW case for testing waiting and lateness logic.

    urban_vrptw_sample