Open ilibar-zpt opened 9 months ago
Thanks! Seems related to usage of offset break and departure time optimization. I've changed validation rule to address this. Essentially, you need to disable departure time optimization for that vehicle by setting shift.start.latest = shift.start.earliest if time offset on break is used
Thanks for quick responses! Is there a way to get breaks to work with time windows relative to departure and/or previous break end, and have it working with departure time optimization?
The reason for that is an irl regulation where drivers have to make a break after maximum 4hrs of driving for minimum 30mins, so next break depends on when last has ended
Hi, at the moment, there is no workaround as this is a limitation due to implementation.
Version: 1.22.1
problem.json
Command:
vrp-cli solve pragmatic problem.json --out-result result.json --log --max-time 15 --min-cv sample,10000,0.05,true --parallelism 1,1
result.json
Expected: Break is scheduled between
[3600,4000]
seconds after departure.Actual: Break is scheduled
2340
seconds after departure (2019-07-04T12:36:40Z
-2019-07-04T11:57:40Z
)