VRP SOLVER
Evolutionary heuristics benchmark comparing Genetic Algorithms and Differential Evolution on CVRP.
The Problem Space
Logistics and fleet operations must minimize total vehicle travel distance while strictly obeying truck payload capacities and customer delivery demands. Exact mathematical solvers scale exponentially, making evolutionary heuristics essential.
Systemized Implementation
Engineered custom Genetic Algorithm (GA) and Differential Evolution (DE) optimization engines in Python with specialized permutation chromosome representations, repair operators, and animated convergence plotting.
How It Operates in Production
Built with Python and NumPy. Formulated specialized partially matched crossover (PMX) operators to maintain valid tour permutations, penalty fitness functions for capacity violations, and a real-time Tkinter vector canvas illustrating route evolution.
Conducted empirical benchmarks across problem instances of varying complexity (20 to 100 nodes), quantifying generational convergence speed, solution stability, and premature stagnation risks.
VRP SOLVER // GENETIC ALGORITHM & DIFFERENTIAL EVOLUTION ROUTING
Euclidean Distance Matrix Formulation
Formalizes customer demand clusters, fleet cargo capacities, and depot travel costs into discrete distance matrices.
Partially Mapped Crossover (PMX)
Preserves ordered routing permutations without duplicate depot drops or cyclic customer omissions.
Differential Evolution Perturbation
Applies continuous mutation vectors mapped to discrete permutations to break out of stubborn local optima.
Tkinter Interactive Playback
Animates multi-vehicle trajectory convergence in real time with continuous fitness cost tracking graphs.
Data Flow & Infrastructure
Problem parameters (depot coords, customer demands, vehicle capacities) feed into the evolutionary engine. Populations undergo iterative selection, crossover, and mutation. The best chromosome per generation updates the Tkinter canvas and logs convergence metrics.
Benchmarked specialized chromosome representations, PMX crossover, and continuous-to-discrete differential vector adaptations across 20 to 100 customer nodes.
Core System Features
Fleet Trajectory Playback & Node Routing Canvas
Tkinter canvas animating multi-vehicle fleet convergence across customer demand clusters in real time.
Genetic Algorithm vs. Differential Evolution Convergence
Fitness score comparison demonstrating Differential Evolution's escape from local combinatorial minima.