homehome Home chatchat Notifications


The perfect pub crawl: mathematicians solve most efficient way to visit all 81,998 bars in South Korea

This is the longest pub crawl ever solved by scientists.

Tudor Tarita
May 1, 2025 @ 11:14 am

share Share

Mathematicians at Roskilde University and the University of Waterloo announced that, using the Open Source Routing Machine (OSRM), they have solved this staggering version of the traveling salesman problem (TSP)—a centuries-old mathematical challenge. They found an optimal path through all 81,998 bars across South Korea. And not just a good path, but the very best one: not a single second can be made to it.

“It is not possible to rearrange the order of stops to save even a single second of the OSRM-estimated walking time,” the researchers stated.

The total journey, they found, would take 15,386,177 seconds, or about 178 days, 1 hour, 56 minutes, and 17 seconds—provided you never stop for more than a sip of water.

How Seoul looks on the map in question
How Seoul looks on the map in question. Credit: University of Waterloo

How They Solved It

The Traveling Salesman Problem (TSP) is one of the most iconic and deceptively simple challenges in mathematics and computer science. At its core, the problem asks: what is the shortest possible route that visits a set of locations exactly once and returns to the starting point?

While easy to grasp, solving it efficiently becomes mind-bogglingly complex as the number of locations increases. It also has real life applications ranging from optimizing delivery routes, planning efficient manufacturing processes, scheduling satellite observations, mapping genome sequences, and designing microchips.

The main issue is that number of possible tours grows faster than you’d imagine. For this Korean pub crawl, the number of possible paths is about 2 followed by 367,308 zeroes—a number so large it makes the atoms in the universe look countable.

These problems are so large you can’t just brute force calculation. As the Washington Post once put it: “It would take a laptop computer 1,000 years to compute the most efficient route between 22 cities, for example.”

But brute-force guessing isn’t how modern mathematicians tackle the TSP.

The research team combined two sophisticated techniques: the LKH code for generating exceptionally good approximations, and the Concorde TSP Solver, which uses a strategy called the cutting-plane method.

An overview of the entire map in question
An overview of the entire map in question. Credit: University of Waterloo

Instead of locking in one road at a time, the cutting-plane method first allows fractional travel along multiple paths. Only gradually, with increasingly sharp constraints, does the algorithm home in on a final, indivisible route—the one true path.

Between December 2024 and March 2025, researchers used the OSRM to estimate walking times between every pair of bars, generating a colossal table of 3,361,795,003 travel times. They then applied their algorithms to sculpt these millions of possibilities into a single, perfect loop.

OK but… why?

At first glance, the project sounds like an academic stunt or a pub-crawler’s fever dream. But the traveling salesman problem isn’t just about maps and bar hops. It’s at the heart of how we optimize our increasingly complex world—from routing Amazon deliveries to scheduling telescope observations, even to designing computer chips. Each solution can help us finesse algorithms and pushes the frontier of what’s computationally possible.

“The world has limited resources and the aim of the applied mathematics fields of mathematical optimization and operations research is to create tools to help us to use these resources as efficiently as possible,” the researchers note.

It’s also a great way to get people more interested into math. It’s often said that mathematics is unattractive… well what’s more attractive than a pub crawl? In 2021, a similar tour through 57,912 locations in the Netherlands set the previous world record. This new Korean pub crawl surpasses it, marking the largest road-map TSP ever solved to provable optimality.

An interactive map of the full tour has been made available online. You can zoom into city clusters or pan across sprawling countryside, where the tour delicately stitches towns together like beads on a necklace.

In doing so, the work serves as both a technical landmark and a gentle reminder: even in a world that sometimes feels chaotic and messy, patterns of astonishing order can be found—or created—with enough ingenuity and perseverance.

And if you ever find yourself with six months to spare and a sturdy pair of shoes in South Korea, the route awaits.

share Share

This Film Shaped Like Shark Skin Makes Planes More Aerodynamic and Saves Billions in Fuel

Mimicking shark skin may help aviation shed fuel—and carbon

China Just Made the World's Fastest Transistor and It Is Not Made of Silicon

The new transistor runs 40% faster and uses less power.

Ice Age Humans in Ukraine Were Masterful Fire Benders, New Study Shows

Ice Age humans mastered fire with astonishing precision.

The "Bone Collector" Caterpillar Disguises Itself With the Bodies of Its Victims and Lives in Spider Webs

This insect doesn't play with its food. It just wears it.

University of Zurich Researchers Secretly Deployed AI Bots on Reddit in Unauthorized Study

The revelation has sparked outrage across the internet.

Giant Brain Study Took Seven Years to Test the Two Biggest Theories of Consciousness. Here's What Scientists Found

Both came up short but the search for human consciousness continues.

The Cybertruck is all tricks and no truck, a musky Tesla fail

Tesla’s baking sheet on wheels rides fast in the recall lane toward a dead end where dysfunctional men gather.

British archaeologists find ancient coin horde "wrapped like a pasty"

Archaeologists discover 11th-century coin hoard, shedding light on a turbulent era.

Astronauts May Soon Eat Fresh Fish Farmed on the Moon

Scientists hope Lunar Hatch will make fresh fish part of space missions' menus.

Scientists Detect the Most Energetic Neutrino Ever Seen and They Have No Idea Where It Came From

A strange particle traveled across the universe and slammed into the deep sea.