| Forum | GitHub | Maps | Blog

Multiple breaks per Vehicle


Hello All,

Currently, I am using jsprit version 1.7.2, which provides only one break per vehicle. Can anyone please guide me how to write an implementation for multiple breaks per vehicle? VehicleImpl class has one Break object, I can change it to a List breaks; to add multiple breaks per vehicle. However, I would need some way for the algorithm to consider those breaks, please suggest a way for this. I will create a branch and start working on it.



Yeah it seems a lot of people are interested in the multiple break feature (#211) but unfortunately it seems there is not much progress.

I assume you will need to look at the BreakScheduling class and perhaps the BreakInsertionCalculator.

Best regards,


Thanks @jie31best.