Skip to main content

Crate vrp_parser

Crate vrp_parser 

Source
Expand description

§vrplib

A library for loading VRPLib-formatted files and representing them as VRP instances.

§Features

  • Loading VRPLib files
  • Lexical and syntactic parsing
  • Instance validation

§Example

let instance = vrp_parser::read_from_vrplib("example.vrp").unwrap();

Structs§

VRPInstance
Represents a fully constructed Vehicle Routing Problem (VRP) instance loaded from a VRPLib file.

Enums§

LoadError
Represents all possible errors that can occur while loading a VRPLib file.
ProblemType
Represents the type of Vehicle Routing Problem (VRP) described by a VRPLib instance.

Functions§

read_from_vrplib
Loads a VRPLib file and constructs a VRPInstance.