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

Automatically split service size dimensions if no vehicle is found with a capacity greater than or equal to the required service size dimensions #560

Open
AleemIlyas opened this issue Feb 26, 2025 · 0 comments

Comments

@AleemIlyas
Copy link

I am using GraphHopper and JSprit for Vehicle Routing Problems (VRP) to automatically assign vehicles to service locations. However, I am facing an issue where, if the size of a service dimension (e.g., weight) is too large for any single vehicle, I want the system to automatically split the load across multiple vehicles so that they can collectively fulfill the service at that location.

Example:

  • Suppose a service requires 5000 kg to be delivered.
  • If the available vehicles have a maximum capacity of 2000 kg each, no single vehicle can handle the full load.
  • The system should automatically split the 5000 kg into smaller shipments (e.g., 2000 kg + 2000 kg + 1000 kg) and assign them to multiple vehicles to complete the delivery.
  • I need a way for JSprit to handle this automatically without manually defining multiple shipments.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant