I have to include driver's shift timings in VRP problem with time window. For example, I have 5 drivers and 56 deliveries. Driver's shift timings are :
data_model['shift_start_time_window']=[[480,495],[480,495],[480,495],[900,915],[900,915]]
data_model['shift_end_time_window']=[[1020,1035],[1020,1035],[1020,1035],[1440,1455],[1440,1455]]
That means three drivers are working in the morning shift and two drivers are working in the evening shift. Among 56 deliveries 10 deliveries will be done in the morning shift, 10 deliveries will be done in the evening and rest can be done in any time. I fixed time window at each time widow like that
[["1",[495, 1020]], ["2",[495,1020]]],
[["11",[1035,1440]],["12",[1035,1440]]],
[["21",[0,1440]],["22",[0,1440]]],
I am able to get result VRP with time window without any Driver's shift time from the document given in (
https://developers.google.com/optimization/routing/vrptw) but I am not getting any proper document with explanation which includes driver's shift.
I read above discussion and requesting you if you can provide me some documents or sample code to include driver shift, then it will help me a lot.