Skip to main content

One fleet and several warehouses

When to use?

When several warehouses serve one transport fleet.

Scheme

Schema for case

How to implement the script?

Via order_restrictions — through restriction of the presence of cargo from different warehouses on the trip. It is used when there is no limit on transport for one warehouse, but there are restrictions on cargo. In this way, it is possible to predict how many cars need to be brought to the warehouse to fulfill the entire volume of shipments from each of the warehouses.

Through transport_restrictions - through the prohibition of visits by transport to warehouses, except for those assigned to it. It is used when there is a clear separation of transport between warehouses.

Examples

Example 1

There are two warehouses. For each of them, a requirement is set, the transport with which property can visit it: the warehouse with the key locations_storage_1 has the requirement transport_restrictions = whs1; the warehouse with the key locations_storage_2 has the requirement transport_restrictions = whs2.

For each transport, the properties that they have are listed: transport transport_1_whs1 is set to transport_features = whs1; the transport transport_1_whs2 is set to transport_features = whs2.

When scheduling, a location with the requirement transport_restrictions = whs1 will only be visited by the transport transport_1_whs1, and the location locations_storage_2 will only be visited by the transport transport_1_whs2.

Example 2

Requirements for cargo in one trip are limited. In this case, orders from the first warehouse are assigned the requirement and properties whs1, orders from the second warehouse - whs2.

In this case, two trips will be built, since the two orders involved in the calculation cannot fall into one trip due to mutually exclusive order requirements.