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.

Thanks!

1 Like

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,
He

2 Likes

Thanks @jie31best.

Now with version 1.8, I just want to ask if multiple breaks are supported out of the box?

Powered by Discourse