Skip to content

Line comments #103

@N-Wouda

Description

@N-Wouda

We use lots of VRPLIB instances in the unit tests of PyVRP. It is sometimes helpful to explain in these instances why they exist, and what aspect of PyVRP they're meant to test. E.g., an instance might have some form of particular infeasibility that we want to use in a unit test for PyVRP.

It's hard to see that when looking at just the data - a comment would be much more helpful. I know that there exists a COMMENT: field that's seen some use, but that's not enough for what I need since that field cannot be defined in arbitrary places in the file. An inline comment syntax would be much more helpful.

So, this issue basically exists to track whether we can add a comment line syntax that VRPLIB can parse. Perhaps we can ignore anything on a line after # or // or ;? Or lines that start with such a symbol? Not sure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions