A project developed between February 2024 β April 2024 that implements advanced algorithms to determine the most efficient round-trip route for visiting multiple cities β addressing the well-known Travelling Salesman Problem (TSP). The system focuses on achieving a strong balance between solution quality and computational efficiency, making it applicable in real-world logistics and routing systems.
Determine the shortest possible route that visits a set of cities exactly once and returns to the origin city, minimizing the total travel distance.
-
π Round-trip Route Planning
Determines an optimized round-trip covering all cities. -
π§ Smart Algorithm Integration
Combines Christofides Algorithm (approximation) with Genetic Algorithm (optimization). -
βοΈ Efficient & Adaptable
Balances route quality with execution speed β ideal for practical deployment scenarios.
- Greedy Algorithm: For initial baseline performance.
- Christofides Algorithm:
- Provides a route within 1 to 1.5 times the optimal solution.
- Ensures a near-optimal starting point with polynomial time complexity.
- Genetic Algorithm:
- Performs further optimization on the Christofides path.
- Evolved the population for 100 generations to refine the solution further.
- Language: Python
- Libraries: NumPy, NetworkX, Matplotlib (for visualization), custom TSP solver modules
- Christofides Algorithm provided high-quality initial paths.
- Genetic Algorithm optimization reduced the average route distance significantly.
- Final solution was competitive, often falling within 5β10% of the theoretical optimum.
- Logistics and Delivery Routing
- Sales Route Optimization
- Robotics Path Planning
- Network Routing