Skip to content

ChetanGirase2004/Assignment-Problem-Solving-Using-Optimization-Techniques

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧠 Assignment Problem Optimization using Genetic Algorithm

An interactive Python + Streamlit project that solves the Assignment Problem using a fully customized Genetic Algorithm (GA). This application allows users to input their own cost matrix and generates optimized assignments with real-time results.


πŸš€ Features

  • βœ… Custom user input for cost matrix (dynamic size)
  • 🧬 Genetic Algorithm implemented from scratch:
    • Selection
    • Crossover
    • Mutation
    • Fitness Evaluation
  • πŸ“Š Real-time optimization via Streamlit UI
  • βš™οΈ Adjustable GA parameters: population size, generations, mutation rate
  • πŸ” Visual feedback on optimized assignments and costs

πŸ“Œ Problem Overview

The Assignment Problem is a classical optimization problem where n agents are assigned to n tasks at minimum total cost.
We solve this using a Genetic Algorithm, inspired by the natural selection process.


πŸ› οΈ Tech Stack

  • Language: Python
  • Interface: Streamlit
  • Libraries: NumPy, random, Streamlit
  • Algorithm: Genetic Algorithm

πŸ“₯ How to Run Locally

# Clone the repository
git clone https://github.com/yourusername/assignment-ga-streamlit.git

# Navigate to the folder
cd assignment-ga-streamlit

# Install dependencies
pip install -r requirements.txt

# Run the app
streamlit run app.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages