PyVRP / VRPLIB

Python package to read and write vehicle routing problem instances.
https://github.com/PyVRP/VRPLIB
MIT License
80 stars 6 forks source link

Handle rounding conventions #111

Open leonlan opened 4 months ago

leonlan commented 4 months ago

PyVRP uses the DIMACS rounding convention for two of its benchmark sets. This rounding convention can be added to the VRPLIB format so that we don't have to pass a custom round_func to each benchmark instance set.

N-Wouda commented 4 months ago

As a specification? I think that'd make sense. We can just support the values we already support in PyVRP's read function, and simplify read a bit (because the instance_format and round_func arguments would both become superfluous).