How to automatically assign drivers to vehicles while respecting nodes' requirements? #4446
Unanswered
ArmoredPony
asked this question in
Routing (and legacy CP) questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In our system deliveries have a set of requirements that both vehicle and its driver must comply with. For example, a vehicle must be able to transport liquids and its driver must have a pass card to be able to make the delivery. I can set allowed deliveries for each vehicle-driver pair with
AllowedVehiclesForIndex
if I know which driver is assigned to each vehicle beforehand. But I would like to let the optimizer to pick a driver for each vehicle to maximize the number of deliveries. For now it looks to me that VRP solver can dynamically assign only nodes to routes and not drivers or any other entities. Is it possible to achieve what I want with this solver?Beta Was this translation helpful? Give feedback.
All reactions