Hello,
I am new to the forum. I have this problem where:
- 6 trucks, each truck can only carry a load of 1000 liters of water. (one discrete capacity)
- Multiple water filling points around the city
- Multiple customers to which the water needs to be delivered.
I am trying to solve a variation of PDP where I need to handle one pickup then its corresponding dropoff, avoiding the next pickup till the previous dropoff has been completed.
The output of the program is:
driver 1: depot -> pick1 -> pick2 -> pick3 -> drop3 -> drop2 -> drop1 -> depot
My desired output:
driver 1: depot -> pick3->drop3->pick1->drop1->pick2->drop2->depot
basically fulling one pickup-dropoff at a time.
I have attacked, my python code and the output of my generate_data_model() in the hope to get assistance of any form.
OR-Tools: version 9.6.2534
Thanks in advance,
Heri