Skip to content

saiteja0737/Smart-Stocking-Inventory-Optimization-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Smart Stocking: Inventory Optimization using Linear Programming

A Python-based inventory optimization tool that uses Linear Programming to minimize annual inventory costs for grocery retail operations.

Project Overview

Developed an optimization model for grocery store inventory management to determine optimal safety stock levels, reorder quantities, and ordering frequencies for dairy products and pantry staples.

Key Features

  • Linear Programming optimization using PuLP library
  • Dual-mode analysis: predefined products and custom parameter inputs
  • Comprehensive cost analysis with before/after optimization comparison
  • Multi-constraint optimization incorporating:
    • Demand variability
    • Vendor lead times
    • Product shelf-life constraints
    • Service level requirements (95%)

Technical Implementation

  • Language: Python
  • Libraries: PuLP, NumPy, Pandas, Math
  • Algorithm: Linear Programming with binary variables for order quantity selection
  • Constraints: Safety stock minimums, shelf-life limits, service level optimization

Key Results

  • Achieved up to 49.7% reduction in annual inventory costs
  • Optimized inventory policies across multiple product categories
  • Generated actionable recommendations for safety stock and reorder frequencies
  • Demonstrated significant cost savings through data-driven optimization

Business Impact

This tool enables grocery store managers to:

  • Make data-driven inventory decisions
  • Reduce carrying costs while maintaining service levels
  • Prevent stockouts and overstocking
  • Optimize cash flow through better inventory management

How to Use

  1. Install required libraries: pip install pulp pandas numpy
  2. Run the Jupyter notebook
  3. Choose between:
    • Predefined product analysis (uses built-in product parameters)
    • Custom input mode (enter your own product data)

About

Linear Programming model for a retail grocery store

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors