Home
Softono
supply-chain-optimization

supply-chain-optimization

Open source Jupyter Notebook
120
Stars
38
Forks
2
Issues
5
Watchers
5 months
Last Commit

About supply-chain-optimization

## Supply Chain Optimisation with Python 👷 *Find the optimal locations of your manufacturing facilities to meet your customers’ demand and reduce production costs* <p align="center"> <a href="https://www.samirsaci.com/supply-chain-optimization-with-python/"><img align="center" src="https://www.samirsaci.com/content/images/size/w1200/2025/12/temp-49.png"></a> </p> ### Article In this [Article](https://www.samirsaci.com/supply-chain-optimization-with-python/), we will present a simple methodology using Linear Programming for Supply Chain Optimisation, considering - Fixed production costs of your facilities ($/Month) - Variable production costs per unit produced ($/Unit) - Shipping costs ($) - Customer’s demand (Units) ### Youtube Video Click on the image below to access a full tutorial to understand the concept behind this solution <div align="center"> <a href="https://www.youtube.com/watch?v=gF9ds3CH3N4"><img src="https://www.samirsaci.com/content/images/2026/01/image-146.png" alt="Video Link"></a> </d ...

Platforms

Web Self-hosted

Languages

Jupyter Notebook

Supply Chain Optimisation with Python đź‘·

Find the optimal locations of your manufacturing facilities to meet your customers’ demand and reduce production costs

Article

In this Article, we will present a simple methodology using Linear Programming for Supply Chain Optimisation, considering

  • Fixed production costs of your facilities ($/Month)
  • Variable production costs per unit produced ($/Unit)
  • Shipping costs ($)
  • Customer’s demand (Units)

Youtube Video

Click on the image below to access a full tutorial to understand the concept behind this solution

Video Link

Problem Statement

As the Head of Supply Chain Management of an international manufacturing company, you want to redefine the Supply Chain Network for the next 5 years, taking into account the recent increase in shipping costs and demand forecasts.

Code

In this repository, you will find all the code used to explain the concepts presented in the article.

Files

  • Supply Chain Optimization.ipynb - Jupyter notebook with step-by-step analysis
  • supply_chain_optimization.py - Standalone Python script

Getting Started

This project uses uv for dependency management.

# Install dependencies
uv sync

# Run the Python script
uv run python supply_chain_optimization.py

# Or launch Jupyter notebook
uv run jupyter notebook

Dependencies

  • pandas
  • pulp
  • openpyxl
  • jupyter

About me 🤓

Senior Supply Chain and Data Science consultant with international experience working on Logistics and Transportation operations. \ For consulting or advising on analytics and sustainable supply chain transformation, feel free to contact me via Logigreen Consulting.\ For more case studies, check my Personal Website.