Soft time windows
When to use?
When it is acceptable to violate time windows in Delivery Optimization. For example, a driver must bring two orders to one point: one in the morning and the second in the evening. If business processes allow, you can break one of the windows and complete both orders in one run.
Scheme
How to implement the script?
In the description of the order, set its lead time to soft_time_window. Set hard_time_window to a large time window that overlaps the window that is allowed to be broken.
Example
Order 1 has a mandatory time window from 10:00 am to 12:00 pm. For order 2, there is a mandatory window from 10:00 to 19:00, as well as a soft window from 16:00 to 18:00, which can be violated.
When building a route, both orders will be fulfilled from 10:00 to 12:00.