Code Examples - Python
WasteNot Forecast Scenario Examples, using Python 3 in a Jupyter Notebook.
A number of example scenarios are provided for an example item with a unit cost of $1, sale-price of $5, with:
- Varying Item Shelf-Life
- Different Replenishment Schedules (e.g. next replenishment, periodic replenishment points, custom dates)
- Changing levels of stock-on-hand, and the expiry date for each batch
- Different forecasting periods (e.g. forecasting for the week ahead, vs. information for the next replenishment only)
- Including Events
WasteNot Benefit Assessment, using Python 3 in a Jupyter Notebook.
In this example, a week-ahead forecast is simulated for an item with a one-day shelf life, daily replenishments and variable demand.
Compared to an unoptimised, unbuffered forecast, WasteNot helps achieve:
- Significant improvement in Service Levels (91% -> 98% of demand satisfied)
- Increase in Profit ($117K -> $122K, an improvement of $5K over 28 days)