Example: One Store

Simple distribution example showing planning from store to DC to supplier

The one store example shows how need for one unit of item_1 at store_1 is propogated up the supply chain. The store doesn't have any inventory, so it searches it's only available source, dc_1, for additional quantity. dc_1 has no inventory so it requests the 1 unit of item_1 from supplier_1. supplier_1 is a genesis node, it has unlimited supply, so it is able to supply dc_1 with the 1 unit of supply. dc_1 then shares this supply to store_1 to satisfy the original demand for one unit of item_1 at store_1.


demand

location item need_date demand_qty demand_key
store_1 item_1 5/30/2024 1 store_demand

item_location

item location genesis
item_1 supplier_1 True

lanes

item from_location to_location lead_time_days
item_1 dc_1 store_1 10
item_1 supplier_1 dc_1 10

Output Data

item_location_peggings

item location activity activity_date pegged_qty demand_key
item_1 supplier_1 0_item_genesis 2024-05-10 1 store_demand
item_1 supplier_1 7_shipment_from 2024-05-10 1 store_demand
item_1 dc_1 2_shipment_to 2024-05-20 1 store_demand
item_1 dc_1 7_shipment_from 2024-05-20 1 store_demand
item_1 store_1 2_shipment_to 2024-05-30 1 store_demand

shipments

level from_location to_location item ship_date arrival_date shipment_qty demand_key
1 dc_1 store_1 item_1 2024-05-20 2024-05-30 1 store_demand
2 supplier_1 dc_1 item_1 2024-05-10 2024-05-20 1 store_demand

Loading Supply Chain Network from Files
Required BOM files missing... will solve without BOMs
Running obo Solver
***Starting to plan for demand key store_demand***
At store_1: Searching inventory for 1 of item_1
At store_1: No inventory for item_1
At store_1: Searching BodEdge item_1-dc_1 to item_1-store_1
--At dc_1: Searching inventory for 1 of item_1
--At dc_1: No inventory for item_1
--At dc_1: Searching BodEdge item_1-supplier_1 to item_1-dc_1
----At supplier_1: Genesis Node for item_1. All 1 need satisfied
--At dc_1: Found all supply. Done searching edges of item_1-dc_1
At store_1: Found all supply. Done searching edges of item_1-store_1
***Found 100.00% supply for demand key store_demand***
Solver complete. Writing output

Created by Bill Ulrich
See the About page for more details