Skip to main content

Soft time windows

When to use

When delivery optimization is allowed to violate time windows. For example, a driver has to bring two orders to the same point: one in the morning and the other in the evening. If the business processes allow it, one of the windows can be violated and both orders can be completed in a single visit.

Diagram

image

How to implement

In the order description, set the desired time of completion in the soft_time_window field. Set hard_time_window to a wide time window that covers the window that may be violated.

Example

Order 1 has a hard time window from 10:00 to 12:00.

Order 2 has a hard window from 10:00 to 19:00 and a soft window from 16:00 to 18:00 that may be violated.

When the route is built, both orders are completed between 10:00 and 12:00.