Skip to content

Vehicle Routing Problem (VRP) Solver This project applies a Genetic Algorithm (GA) to optimize the Vehicle Routing Problem (VRP). This is done for more than one vehicle to ensure delivery routes that save travel distance and increase efficiency.

Notifications You must be signed in to change notification settings

Naveen88112/Vehicle-Routing-Problem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Vehicle Routing Problem (VRP) Solver

Overview This project implements a Genetic Algorithm (GA) to solve the Vehicle Routing Problem (VRP). The goal is to optimize delivery routes for multiple vehicles, reducing travel distance and enhancing efficiency.

Features

  • Problem Representation: Models VRP with multiple delivery locations and vehicles.
  • Genetic Algorithm Implementation: Uses DEAP for evolutionary computation.
  • Fitness Evaluation: Optimizes routes based on total travel distance.
  • Mutation & Crossover: Ensures diversity in route solutions.
  • Visualization: Displays optimized routes using Matplotlib.

Technologies Used

  • Python
  • DEAP (Distributed Evolutionary Algorithms in Python)
  • NumPy
  • Matplotlib

How to Run

  1. Clone the repository:

    "git clone https://github.com/yourusername/vrp-solver.git"

  2. Install dependencies:

    "pip install matplotlib deap numpy"

  3. Run the Jupyter Notebook or execute the script:

    "python vrp_solver.py"

Results & Insights

  • The genetic algorithm optimizes routes for efficient deliveries.
  • Crossover and mutation improve route diversity and effectiveness.
  • Visualization provides insights into route optimization strategies.

About

Vehicle Routing Problem (VRP) Solver This project applies a Genetic Algorithm (GA) to optimize the Vehicle Routing Problem (VRP). This is done for more than one vehicle to ensure delivery routes that save travel distance and increase efficiency.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published