One vehicle fleet and several warehouses
When to use
When one vehicle fleet serves several warehouses.
Diagram
How to implement
Via order_restrictions — by restricting which cargo from which warehouse can share a trip. Use this when there is no limit on the transport per warehouse, but there are restrictions on the cargo. This way you can forecast how many vehicles to bring to a warehouse to ship its entire volume.
Via transport_restrictions — by forbidding transport to visit warehouses other than the ones assigned to it. Use this when transport is clearly split between warehouses.
Examples
Example 1
There are two warehouses. For each of them, a requirement defines which transport feature is needed to 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.
The features of each vehicle are listed as well: transport transport_1_whs1 has transport_features = whs1; transport transport_1_whs2 has transport_features = whs2.
During planning, the location with the requirement transport_restrictions = whs1 is visited only by transport transport_1_whs1, and the location locations_storage_2 only by transport transport_1_whs2.
Example 2
The requirements for the cargo within a single trip are restricted. Orders from the first warehouse get the whs1 requirement and feature, orders from the second warehouse get whs2.
In this case two trips are built, because the two orders in the calculation cannot share a trip due to mutually exclusive order requirements.