Skip to content

Program crashes for Routing Solver (Pickups and Deliveries) #4478

Discussion options

You must be logged in to vote

However, the program still crashes when I use data["starts"] and data["ends"] for start and end points for the vehicles instead of just data["depot"] for everything. No matter if the P&D pairs don't repeat nodes, if there is just one pair, or if there are no pairs at all.

Since you set VehcileNumber to 4, your starts and ends arrays must be of length 4.
note: for start/ends you can reuse several time the same index.
e.g. 2 vehicles at both starts: data["starts"] = [0, 0, 11, 11] and sames for ends...

Replies: 4 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Mizux
Comment options

Answer selected by jpconde
@jpconde
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #4477 on December 23, 2024 06:54.