All 23 IITs in one round trip. Oldest first is 25,973 km; watch 2-opt untangle it, swap by swap, to 9,000 km, 2.8× shorter. Straight-line distances. Free, no signup.
23 IITs, 25,973 km in the oldest-first order. Watch it untangle.
Loading the map…
Visit every place in an order that has nothing to do with the map, like the year each one opened, and the trip zig-zags across India: its legs cross each other again and again.
Where two legs cross, cut both and join their ends the other way round. It is still one trip through every place, and it is always shorter, because the two straight lines that don't cross are shorter than the two that do. That swap is called 2-opt. Repeat it until no two legs cross.
What it finds is a good trip, not a proof of the best one: finding the shortest trip through every place is the travelling salesman problem, and checking every order is out of reach even for a few dozen places. Distances here are straight lines over the globe, not road km.
How we found this route
2-opt: swap crossing legs until no two legs cross.
Each swap makes the trip shorter, and when none is left you have a good trip. A trip through every place is the travelling salesman problem, a graph problem: places are nodes, legs are edges.