Categories
etcetera penplotter

The Oblivious Traveling Salesman Problem

Assume that N points are scattered randomly around a square. Without seeing the points, decide on a path to take through the square. What’s the best way to do that? How short can the path get? That’s what I call the “oblivious” TSP.

I’ve looked at this before, but I’ve spent a bunch of time recently poking at the problem myself, as well as throwing it at AI tools.

More formally, we want to define a ranking T that maps a 2D point to a 1D value, t. Then once we can see each point, we calculate t(x,y) and visit them in increasing value. So a couple questions come up:

  • Is the linear scan (“strip”) method optimal? (Spoiler: no.)
  • If not, how short can the oblivious path get? (Spoiler: dunno, this is very hard.)

From here, assume that we’re working on the unit square. The path length, L, scales with L \propto \sqrt{N}, and the shortest TSP result has a length of \beta = L / \sqrt{N} for infinite points. Currently, research estimates \beta \approx 0.7124.

For the strip method, let’s call its length \Lambda \sqrt{N}. Working through some nasty integrals, the shortest length of the strip is 0.9211589 \leq \Lambda^* \leq 0.9211592 . So let’s say \Lambda^* \approx 0.921159 .

How about space-filling curves? Approximately, Sierpinski is 0.957, Hilbert is 0.981, Peano is 1.415, and Morton is 1.455. However, there is some oscillation with period log(N).

Let’s call the minimum oblivious length c^*\sqrt{N}. What’s the best value that we can find? We tried many things, but the best approach has been to tilt the sweep line. For the strip, the ranking function sweeps a vertical line from left to right. I found that tilting that line periodically could reduce the path length very, very slightly. So I had the AIs work on optimizing that sort of variation, and to wiggle each lane. That yielded this weirdos:

It’s very silly looking, but it yields c^* \leq 0.92007, a reduction of about 0.12%.

To summarize: 0.7124 \approx \beta \ll c^* \leq 0.92007 < \Lambda^* \approx 0.921159. That’s a big gap! That tells us that there’s a lot to gain from knowing the positions of each point and doing some optimization.

I was really hoping to get an interesting publication out of this work, but it’s hard to feel excited about a gain of 0.12% over the obvious approach. It takes a lot of work to satisfyingly prove these results, and it’s not worth it for such a small victory. Also, since AI tools are getting so absurdly good at math, it’s a little less thrilling to know something new and minor.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.