353 points · by theafh · 6y ago · 173 comments
...
> “This is a result I have wanted all my career,” said David Williamson of Cornell University, who has been studying the traveling salesperson problem since the 1980s
I love this. Oh to be a theoretician.
Here's hoping for a flood of further improvements.
In a limited-enough space (like an event), this works out just fine. I'm glad I'm not the guy who needs to solve GoogleMap's routing problems though. I wonder if they have a huge BigTable store of every street intersection pair on the planet and a recalculated best route between them? I _hope_ they do something smarter than my "works in my constrained requirements space" brute-force hack...
I kinda feel all the _actual_ innovation is doing things that align with Agile's underlying principals of valuing individuals/working-software/response-to-changes over processes/documentation/plans - while all th3e people who _talk_ about doing "Agile" rarely follow those principals, and mostly just mean "We have meetings we call 'standups', and negotiated deadlines that we call 'sprints'".
I don’t think waterfall is necessarily bad, that agile is always right, or that there aren’t other good practices. But practicing waterfall and calling it “agile” is rarely going to end well for anyone.
Please don't take quotes out of context
This wasn't intended to be read as sarcastic. It really is a great development. It's still amusing that the number is so tiny.
Simulated annealing was inspired by thermodynamic free energy involved in crystal formation from annealing metal. [1]
I combined it with a Breath of the Wild waypoint generator [2] to make my way around the map [3] in a mostly optimal fashion for my trip about Hyrule.
If you ever have a toy problem or even a real one, I suggest experimenting with pytspsa to see and understand in a concrete way the problem is solved.
[0] https://github.com/ildoonet/simulated-annealing-for-tsp
[1] https://en.wikipedia.org/wiki/Simulated_annealing
[2] https://github.com/MrCheeze/botw-waypoint-map
[3] https://user-images.githubusercontent.com/2829875/28661246-0...
I guess later in the game one doesn't mind randomly walking right by the castle just because it is the shortest path, just going to eat some time dealing with each guardian of course.
Same for swimming across a the river twice around a bend rather than just following the coastline.
Also there are 226 waypoints, the linked map is missing a lot...
I am not sure what it is trying to show. Was this the waypoints you had not done at the end of the game?
I had good results with genetic algorithms as well.
That is 0.0000000000000000000000000000000002% better than the existing solution.
Where can I find more details on crystal quality in popular CPUs like Intel's Xeons?
https://www.intel.com/content/www/us/en/products/docs/proces...
It does mention choosing tree paths at random... so couldn't that be an improvement by chance?
It's lengthy and full of some quite technical sections, but those are interspersed with sections sketching the high-level intuition and proving more informal versions of the technical theorems in simplified cases. An example is on p. 19, section 3.1, "Ideas underlying proof of Theorem 3.1".
I think this is the paper? https://arxiv.org/abs/2007.01409
> they were only able to subtract 0.2 billionth of a trillionth of a trillionth of a percent.
That’s so subtle to suggest but incredible hard to prove
Isn't that really the best we can hope for? It's an NP-complete problem, but we can still realistically hope that researchers might discover efficient algorithms for solving subsets of the problem space, hopefully broad subsets.
If we get to the point that 90% of travelling salesman problems can be solved quickly, and the remaining 10% can quickly be approximately solved (to within 5% percent of the optimum solution, say), that would be pretty great, even if we never 'really' crack NP-complete problems. (Which, of course, might not even be possible.)
As an example, a smart TSP algorithm should be able to very quickly solve problems where all nodes fall on points in a circle.
(Disclaimer: this stuff isn't my wheelhouse, corrections welcome.)
Finding the optimal solution is NP-complete, but approximations are not necessarily so:
https://en.wikipedia.org/wiki/Travelling_salesman_problem#Co...
The TSP problem is NP-complete, but it may be possible to come up with an 'incomplete' algorithm that works efficiently for a large subset of the problem space, and it may be possible to find an approximate algorithm that efficiently finds guaranteed near-optimum solutions to all problems.
Neither of those two things requires doing the truly difficult (perhaps impossible) work of coming up with a precise, complete, and efficient algorithm to an NP-complete problem.
circuit satisfiability and related hard problems are all reducible to each other
From the paper you linked:
heuristics based solutions are still superior to deep learning based solvers regarding accuracy and execution time for larger problem sizes.
For example, given a list of cities, an approximate solution on actual roads to visit all of them once?
Someone should make a front end for this.
https://en.wikipedia.org/wiki/Talk:Travelling_salesman_probl...
Older than you’d think.