Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parse non-tabular section data #108

Open
leonlan opened this issue Sep 21, 2023 · 0 comments
Open

Parse non-tabular section data #108

leonlan opened this issue Sep 21, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@leonlan
Copy link
Member

leonlan commented Sep 21, 2023

It is currently assumed that all data sections are presented as tabular data, which is then conveniently parsed using np.genfromtxt.

This may be too restrictive for more general VRP variants. For instance, the site-dependent VRP restricts some vehicles from visiting a subset of clients. If we keep the assumption that data sections are tabular, then this would require a $N$ times $K$ matrix with 0 and 1's to denote whether client $i$ can be visited by vehicle $j$ or not.

A more compact option would allow a list of indices. For example, 1 1 2 3 4 could mean that vehicle 1 is not allowed to visit clients 1 2 3 4.

@leonlan leonlan added the enhancement New feature or request label Sep 21, 2023
@leonlan leonlan mentioned this issue Mar 1, 2024
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant