Example: One Store

Simple distribution example planning from store to warehouse to supplier

About Example

The one store example demonstrates how a supply chain solver searches the network for supply of 1 widget. The demand is incident on the store, so the solver starts there before searching upstream at the warehouse and then the supplier.

Only the supplier has infinite inventory of widgets in this example. Once the solver has found the 1 needed widget there, it returns to the supply to the warehouse and then the store. This movement of the widget is considered a shipment.

Video Nodes

Data Notes


demand

location item need_date demand_qty demand_key
store widget 5/30/2024 1 store_demand

item_location

item location genesis image
widget supplier True supplier.png
widget warehouse False warehouse.png
widget store False store_drawing.png

lanes

item from_location to_location lead_time_days
widget warehouse store 10
widget supplier warehouse 10

item_location_peggings

item location activity activity_date pegged_qty demand_key
widget supplier 0_item_genesis 2024-05-10 1 store_demand
widget supplier 7_shipment_from 2024-05-10 1 store_demand
widget wharehouse 2_shipment_to 2024-05-20 1 store_demand
widget wharehouse 7_shipment_from 2024-05-20 1 store_demand
widget store 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 wharehouse store widget 2024-05-20 2024-05-30 1 store_demand
2 supplier wharehouse widget 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: Searching inventory for 1 of widget
At store: No inventory for widget
At store: Searching BodEdge widget-wharehouse to widget-store
--At wharehouse: Searching inventory for 1 of widget
--At wharehouse: No inventory for widget
--At wharehouse: Searching BodEdge widget-supplier to widget-wharehouse
----At supplier: Genesis Node for widget. All 1 need satisfied
--At wharehouse: Found all supply. Done searching edges of widget-wharehouse
At store: Found all supply. Done searching edges of widget-store
***Found 100.00% supply for demand key store_demand***
Solver complete. Writing output

Created by Bill Ulrich
See the About page for more details