Expand description
Pragmatic crates aims to solve real world VRP variations allowing users to specify their problems via simple pragmatic json format.
Re-exports§
pub use vrp_core as core;
Modules§
- checker
- This module provides functionality to automatically check that given solution is feasible which means that there is no constraint violations.
- format
- This module defines logic to serialize/deserialize problem and routing matrix in pragmatic format from json input and create and write pragmatic solution.
- validation
- This module provides functionality to validate problem definition for logical correctness.
Functions§
- get_
unique_ locations - Get lists of unique locations in the problem. Use it to request routing matrix from outside. NOTE: it includes all locations of all types, so you might need to filter it if types are mixed.