Artificial Intelligence
Artificial Intelligence
Route Optimization
Finding the Shortest Travel Route Using AI and Genetic
Algorithms
By : Richa Sharma
reg no. : 12321888
Artificial Intelligence
Introduction
⚬ What is TSP?
⚬ The Traveling Salesman Problem (TSP) is
about finding the shortest route that
visits each city exactly once and returns
to the start.
⚬ Why is it difficult?
⚬ It is an NP-hard problem, meaning the
number of possible routes grows
exponentially with cities.
Artificial Intelligence
To develop an interactive Traveling Salesman Game that utilizes AI search strategies and Genetic Algorithms
to optimize travel routes, educate users on AI-driven decision-making, and provide real-world solutions for
logistics and automation."
This mission focuses on building an AI-based TSP game that not only solves complex routing problems
but also educates users on AI applications in real-world scenarios.
Artificial Intelligence
Performance
Comparison
Solution Computatio
Algorithm Speed
Quality nal Time
❌
✅ Optimal
Brute-Force ❌ Very Slow Exponential
(100%)
Growth
❌
✅ O(n²)
Greedy Suboptimal ✅ Fast
Complexity
(~80%)
✅ Near-
Genetic ✅ 10s for 50
Optimal ✅ Fast
Algorithm Cities
(~95%)
Real-World Applications of the Traveling Salesman Game (TSP
Optimization)
Logistics & Delivery
Services
Use Case: Optimizing delivery routes for couriers, trucks, and
drones.
Benefits
:
Reduces fuel consumption by 10–15%.
Saves time by finding shortest and fastest routes.
Increases delivery efficiency for companies like Amazon,
FedEx, and UPS.
2. Ride-Sharing & Transportation (Uber, Lyft,
Ola)
Use Case: Finding the shortest path for multiple passenger pickups and drop-
offs.
Benefits
:
Reduces travel time for riders.
Maximizes driver efficiency by minimizing empty
rides.
Improves traffic flow in cities.
Prolog Code: Genetic Algorithm for
TSP