🐝 BeeHive TSP Calculator

Optimize your bee's journey through the hives using the Traveling Salesman Problem
Total Hives
0
Possible Routes
0
Optimal Distance
-
Route Order
Click "Solve TSP" to calculate
2-OPT Algorithm

🎯 How to Use

Click on the canvas to add beehives manually

Add 5 Hives button places random hives

Solve TSP finds the shortest route visiting all hives

Combinatorial Math: With N hives, there are (N-1)!/2 possible routes. This calculator uses 2-OPT optimization to find near-optimal solutions efficiently.