Skip to content

virbahu/supply-chain-optimization-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔧 Supply Chain Optimization from Scratch

10 Chapters Python Jupyter MIT

Build supply chain optimization models from zero — no hand-waving, pure implementation.

Implement every major optimization technique used in supply chain management, step by step in Python.


🌟 Why This Book/Course?

Most supply chain professionals use optimization tools as black boxes. They know the software gives an answer, but they don't understand why — which means they can't debug, customize, or trust the results.

This course changes that. We build every optimization model from scratch in Python:

  • 📐 Linear Programming — from the simplex method to real transportation problems
  • 🔢 Integer Programming — facility location, production scheduling, lot sizing
  • 📦 Inventory Models — EOQ, newsvendor, (s,S) policies, multi-echelon
  • 🌐 Network Design — where to put warehouses, which suppliers to use
  • 🚚 Vehicle Routing — the famous VRP and its many real-world variants
  • 🎲 Stochastic Optimization — making decisions under uncertainty
  • ⚖️ Multi-Objective — balancing cost vs. service vs. sustainability

"The person who understands the model understands the limits of the answer. The person who just runs the software trusts a number they shouldn't."


📚 Chapters

Chapter Title Topic Notebook
CH01 The Optimization Mindset Formulating supply chain problems as mathematical optimization models Open
CH02 Linear Programming for SC Solving transportation, assignment, and network flow problems with LP Open
CH03 Integer & Mixed-Integer Programming Production scheduling, facility location, and lot sizing with MIP Open
CH04 Inventory Optimization Models EOQ, newsvendor, base-stock, and multi-echelon inventory models Open
CH05 Network Design Optimization Facility location, capacity planning, and supply chain network design Open
CH06 Vehicle Routing & Logistics VRP variants: CVRP, VRPTW, PDPTW with exact and heuristic methods Open
CH07 Stochastic Optimization Uncertainty modeling: stochastic programming, robust optimization, simulation Open
CH08 Multi-Objective Optimization Balancing cost, service, sustainability, and resilience simultaneously Open
CH09 Metaheuristics for SC Genetic algorithms, simulated annealing, tabu search for complex SC problems Open
CH10 Production to Deployment Operationalizing optimization models: APIs, monitoring, and maintenance Open

🏗️ How This Course Works

flowchart LR
    subgraph Each Chapter
        A[📖 Theory &\nFormulation] --> B[💻 Build from\nScratch in Python]
        B --> C[📊 Real SC\nCase Study]
        C --> D[🏋️ Exercises &\nChallenges]
    end
    
    style A fill:#e3f2fd
    style B fill:#fff9c4
    style C fill:#c8e6c9
    style D fill:#ffe0b2
Loading

Each chapter follows the same pattern:

  1. Theory — The mathematical formulation, explained intuitively
  2. Build — Implement the solver in pure Python (then compare to scipy/PuLP)
  3. Apply — Solve a realistic supply chain case study
  4. Practice — Exercises from easy to competition-level

🚀 Getting Started

git clone https://github.com/virbahu/supply-chain-optimization-from-scratch.git
cd supply-chain-optimization-from-scratch
pip install -r requirements.txt
jupyter notebook

👤 Author

Virbahu Jain — Founder & CEO, Quantisage

Building the AI Operating System for Scope 3 emissions management and supply chain decarbonization.

🎓 Education MBA, Kellogg School of Management, Northwestern University
🏭 Experience 20+ years across manufacturing, life sciences, energy & public sector
🌍 Scope Supply chain operations on five continents

⭐ Star History

If you find this useful, please ⭐ star this repo — it helps others discover it!

📄 License

MIT License — see LICENSE for details.

Part of the Quantisage Open Source Initiative | AI × Supply Chain × Climate

Releases

No releases published

Packages

 
 
 

Contributors