Shortest-possible walking tour to 81,998 bars in South Korea

(math.uwaterloo.ca)

Comments

gku 24 April 2025
If you find this impressive, take a look at the 1.33 billion stars TSP solution provided by the same authors.

- Gaia DR2 (1,331,906,450 Stars): https://www.math.uwaterloo.ca/tsp/star/gaia2.html

> "The tour is at most 1.0038 times the length of a shortest-possible route."

Animats 24 April 2025
If you just use the simple-minded Bell Labs probabilistic algorithm, how much worse is that result?

The classic TSP approach is:

1. Hook up all the nodes in some arbitrary path.

2. Cut the path in two places to create three pieces.

3. Rearrange those three pieces in the six possible ways and keep the shortest.

4. Iterate steps 2-3 until no improvement has been observed for a while.

This is not guaranteed to be optimal, but for most real-world problems either finds the optimal result or is very close.

noduerme 24 April 2025
It's strange that they don't mention the total distance. I understand that the point-to-point travel time is what they're solving for, but it would be interesting to know what the actual distance of travel was, if for no other reason than calculating caloric burn. But then you could also see how much it deviated from the shortest-distance path.
notesinthefield 24 April 2025
I am overwhelmed with the thought of nearly 82 thousand bars within a country roughly the size of Ohio.
tiernano 24 April 2025
reminds me of a question they used to ask in the Irish army back in the 60s. My Dad told me this. "How do you get from Bachelor's Walk to Collins Barracks without passing a bar?". People would spend hours and days working on the answer. In the end, the answer was "Go in to every one".
OsrsNeedsf2P 24 April 2025
I'm impressed they found a dataset this hard, but not much harder. It's a delicate balance between beating the last Traveling Salesman hiscore (Netherlands), and never finishing your compute
pugworthy 24 April 2025
During COVID I made it a goal to walk every street in my town using the web-based CityStrides (https://citystrides.com/) tracker. It keeps tracks of streets you have walked and lets you know what percentage of a town you have walked. It didn't optimize my routes for coverage, but it was a fun mental puzzle to plan out my walks to hit as many streets as possible without duplication. An automated tool might be fun, but doing it by hand was part of the journey as it were.

As you browse the CityStrides site you can find people's LifeMaps which show all their walking. Some people have done amazing amounts of walking. See this user for example and their coverage of Paris, France...

https://citystrides.com/users/15259/map#48.85741101618777,2....

rurban 24 April 2025
So NP is like P again. I learned in school 13 is the max and one of my algebra professors advanced it to 15 (in the 80ies). Then came 20, then came 20.000, this is 80k with proof, and at the World TSP page we see the record was 1m.

http://webhotel4.ruc.dk/~keld/research/LKH/

The biggest proven optimum is for 3178031 right now.

This should be really done with CUDA, not plain C, btw.

flerchin 24 April 2025
Oh no, looks like a few new bars opened up, and a few others closed. Time to recalculate.
blt 24 April 2025
Branch-and-bound is an algorithm "from the book" to me. Fundamentally very simple, provided you view the LP solver as a black box, but incredibly useful.
DennisL123 24 April 2025
OSRM lead dev here. Love to see this large of an instance being solved.
mofunnyman 24 April 2025
If you spent 40 years of your life on this path, you would still be visiting 5.616 bars per day. Nuts.
labster 24 April 2025
They call it the Traveling Salesman Problem, but it sounds more like the Drunkard’s Walk to me.
Catagris 24 April 2025
I looked at near my home, they missed a few. A issue is that in Korea a lot of the local spots are not on any public maps.
BrtByte 24 April 2025
This is both hilarious and genuinely impressive. A TSP solution involving nearly 82 000 bars? That's a level of dedication to both math and beer I didn't know I needed in my life
HPsquared 24 April 2025
Has anyone done the opposite of this, finding the longest possible route?
z3t4 24 April 2025
I zoomed in on the map and discovered at least one shortcut where one could have saved a few seconds, now is that proof enough that the solution is not optimal? :P
bjornsing 24 April 2025
Would be nice if they could briefly describe the algorithm. Sounds like they’ve turned the TSP into an integer linear program that they can do branch and bound on, but I’m not sure.
sylware 24 April 2025
Is that one of the problem quantum computers would resolve instantly if it is actually possible to scale them up?
kopirgan 24 April 2025
Very interesting..

Is anything supposed to happen if you click on those red circles? I was hoping it will show name or other info!

marvinkennis 24 April 2025
It would suck to get to bar 51,248 only to find out it's now permanently closed
nlitsme 24 April 2025
Seem i do need a pair of dry socks for part of the walk.
bk496 24 April 2025
Does it account for "pit stops"
Uptrenda 24 April 2025
traveling drinking man's problem
ge96 24 April 2025
Sadly I'm not a Soju fan
awesome_dude 24 April 2025
Kids, we're going on a road trip!
finalhacker 24 April 2025
impresive, I have forgot TSP after graduated.
ustad 24 April 2025
“The locations were downloaded from a database maintained by the Korean National Police Agency.”
srcreigh 24 April 2025
Title is incorrect. 178 days is the walking time of the optimal tour, not how long it took to solve for the best route