Hello everyone,
I’m trying to model the mandatory 1-hour driver break between 11:30 and 13:30 in OR-Tools, but after adding this constraint the solver fails to produce a plan.
My goal is to ensure that each driver takes a continuous 1-hour break within that time window, while still allowing the solver to schedule all required services (some of which are connected or interdependent).
However, once I introduce the break constraint, the solver often fails to find a feasible solution.
Has anyone faced a similar issue?
Do you have any suggestions or a robust way to model this type of mandatory break window in OR-Tools, especially when there are linked services that must still be scheduled?
Any advice or best practices would be greatly appreciated.
Thanks in advance!