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

Documentation #105

Open
leonlan opened this issue Aug 1, 2023 · 4 comments
Open

Documentation #105

leonlan opened this issue Aug 1, 2023 · 4 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@leonlan
Copy link
Member

leonlan commented Aug 1, 2023

image

d-d-document!

PyVRP is increasingly relying on VRPLIB and we are planning to extend the VRPLIB instance to support more VRP variants. I think it’s a good moment start making a proper docs to facilitate this process.

@leonlan leonlan added the documentation Improvements or additions to documentation label Aug 1, 2023
@leonlan leonlan self-assigned this Aug 1, 2023
@leonlan
Copy link
Member Author

leonlan commented Sep 21, 2023

The primary difficulty that I'm facing in defining a standard for VRPLIB is how to incorporate the pickup and delivery VRP variants. I haven't worked enough with these type of problems to know what kind of format would make sense, specifically how we generalize locations/clients to these settings.

I know that LKH did some stuff with this. I should study these examples in more detail (see http://webhotel4.ruc.dk/~keld/research/LKH-3/).


BACKHAUL_SECTION
3 9 30 33 49 54 66 77 82 85 90 -1

BACKHAUL_SECTION :
This section is used for specifying VRPB instances. It contains a list of backhaul nodes. This
section is terminated by a -1.


image

In pickup and delivery, we are dealing with requests.

I'm not sure why it includes demand/time window/service time data.

@leonlan
Copy link
Member Author

leonlan commented Sep 22, 2023

Another way to go about this:

  • First write down the problem formulation of the most important vehicle routing problems
  • Then define a rich vehicle routing problem formulation that captures all these characteristics
  • Then define a VRPLIB format that captures all of this
  • Also think about generalization: can we include attributes that are not included?

@leonlan
Copy link
Member Author

leonlan commented Oct 2, 2023

@leonlan
Copy link
Member Author

leonlan commented Jan 23, 2024

  • Document empty route data option
Route #1: 1 2 3
Route #2:
Route #3:

is allowed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant