CVRP with pickUp and Delivery and period of planning more than one day #1366
Labels
Help Needed
Modeling/Usage problem
Solver: Routing
Uses the Routing library and the original CP solver
Milestone
Hi everyone,
I am working on a problem of CVRP with pickup and delivery and time window. I have only time window constraints on the delivery date (not the pickup).
The issue I am facing is that in the data fed to the solver I have some missions whose time window is for example at day time x hour y minutes day 27-11-2018 and others at x hour y minutes day 28-11-2018 the day after. So the period of planning is 2 days. Note that I set time horizon to 48 hour period in the time dimension, convert all time windows to seconds and that a vehicle can do multi-trips.
In the solution given by the solver, there are some routes where demands that need to be delivered at day 28 are scheduled before demands that need to be delivered at day 27 for the same vehicle. Not logic at all!
I made sure that all time widows are well set and that they include the information of the day (e.g 08:45:23 1day, this means it needs to occur on day 28 at 08:45:23)
It seems that the solver is not taking into consideration the day given in the time window or maybe when it starts to accumulate time for the route it doesn’t care about the day ...? Could anyone point me out how to address this issue or is there something that I am not aware of in the case of VRP with a period of planing more than one day?
Thank you!
The text was updated successfully, but these errors were encountered: