Skip to content

fuitt/vrp_parser

Repository files navigation

vrp_parser

A VRPLib parser for Rust. Loads VRPLib-formatted files and constructs VRPInstance values.

Example

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

Installation

vrp_parser = "0.1"

Status

This is an early release (v0.1.0).

Currently supported VRPLib sections:

  • NAME
  • TYPE (CVRP only)
  • COMMENT
  • DIMENSION
  • EDGE_WEIGHT_TYPE (EXPLICIT and EUC_2D only)
  • EDGE_WEIGHT_FORMAT (LOWER_ROW only)
  • EDGE_WEIGHT_SECTION
  • NODE_COORD_TYPE (TWOD_COORDS only)
  • NODE_COORD_SECTION
  • CAPACITY
  • DEMAND_SECTION
  • DEPOT_SECTION

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.

Unless stated otherwise, contributions are dual licensed under the same terms.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages