TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

“American Scientist” Understands Nothing about the Traveling Salesman Problem

128 pointsby merrakshabout 9 years ago

16 comments

pavel_lishinabout 9 years ago
&gt; <i>I don’t know if this means I should not trust American Scientist in areas that are not my specialty. On something I know a bit about, the magazine has failed miserably.</i><p>I forget the term for this - when we see media cover something we know about badly, but continue to assume that they cover other topics that we&#x27;re relatively ignorant about fairly and correctly.
评论 #11574118 未加载
评论 #11572967 未加载
评论 #11572373 未加载
评论 #11572389 未加载
评论 #11573448 未加载
评论 #11575104 未加载
评论 #11574608 未加载
yongjikabout 9 years ago
The title makes it sounds much worse than it actually is. I mean, this isn&#x27;t <i>that</i> bad:<p>&gt; But what about going to 100 different cities? A computer would have to check 100x99x98x….x2x1 possible routes.<p>Yes, the sentence should have included &quot;In case of a brute-force search&quot;, but still it conveys the basic idea of TSP and why it gets exponentially harder as N increases.
评论 #11573227 未加载
leecarraherabout 9 years ago
If you are offended by a pop science magazine&#x27;s over simplification of a topic that resides in a field you have some specialty understanding of, you clearly haven&#x27;t been reading pop-sci magazines for very long. You have all the right in the world to be angry when this happens in a journal article, but you are reading American Scientist, not SODA.
评论 #11574279 未加载
评论 #11575484 未加载
simulateabout 9 years ago
Bill Cook, mentioned in this post, has written an excellent and entertaining book on the TSP that is accessible to non-experts: <a href="http:&#x2F;&#x2F;www.amazon.com&#x2F;Pursuit-Traveling-Salesman-Mathematics-Computation&#x2F;dp&#x2F;0691152705" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Pursuit-Traveling-Salesman-Mathematics...</a><p>If you&#x27;re not interested in reading an entire book on the topic, Cook&#x27;s webpage provides a summary and includes several examples: <a href="http:&#x2F;&#x2F;www.math.uwaterloo.ca&#x2F;tsp&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.math.uwaterloo.ca&#x2F;tsp&#x2F;</a><p>Finally, here&#x27;s a simple version of the TSP showing route optimization in San Francisco using local businesses: <a href="https:&#x2F;&#x2F;forio.com&#x2F;app&#x2F;showcase&#x2F;route-optimizer&#x2F;" rel="nofollow">https:&#x2F;&#x2F;forio.com&#x2F;app&#x2F;showcase&#x2F;route-optimizer&#x2F;</a>
评论 #11574318 未加载
carlobabout 9 years ago
It&#x27;s weird, I remember reading a very informative article about SAT from American Scientist when I was an undergrad:<p><a href="http:&#x2F;&#x2F;sjcomp.com&#x2F;files&#x2F;compsci9703.html" rel="nofollow">http:&#x2F;&#x2F;sjcomp.com&#x2F;files&#x2F;compsci9703.html</a><p>I will have to reread it to see if it still makes sense.
loupradoabout 9 years ago
As an aside, an algorithm based on ant pheromones is a clever way to solve the traveling salesman problem.<p><a href="http:&#x2F;&#x2F;people.idsia.ch&#x2F;~luca&#x2F;acs-bio97.pdf" rel="nofollow">http:&#x2F;&#x2F;people.idsia.ch&#x2F;~luca&#x2F;acs-bio97.pdf</a>
评论 #11573537 未加载
aerovistaeabout 9 years ago
I&#x27;m confused by this post. I was under the impression NP-complete problems could not be solved efficiently, but the author is saying that TSP, the most well known NP-complete problem, <i>can</i> be solved practically. I read what he wrote but did not understand what he was saying. Why is TSP famously hard if it&#x27;s actually tractable in practice?
评论 #11574299 未加载
评论 #11574302 未加载
评论 #11574309 未加载
jtolmarabout 9 years ago
That Hilbert Curve solution is really handy to know about. If you were writing a game where the player competes with an AI at traveling salesman (Pacman without the ghosts race), a fast 75% optimal algorithm sounds perfect.<p>I think you can do the Hilbert Curve in n log n time by loading all the cities into a quad tree and traversing it in a Hilberty order. Is that the fastest way?
jessaustinabout 9 years ago
This magazine (and its similarly-named rival) sometimes calls to mind Nelson Muntz&#x27;s comment: &quot;I can think of at least two things wrong with that title.&quot;
plankabout 9 years ago
I remember the same feeling, a long time ago. I would read the Dutch &#x27;NRC&#x27; science page, and be annoyed that they really did not understand the Schrödinger cat problem. Of course, since then I strayed away from my physics career (entering IT with a PhD in physics), and now I can read those same science pages and think, wow they really know their stuff....
waldrewsabout 9 years ago
Cixin Liu&#x27;s The Dark Forest has the alien enemy ship solve the traveling salesman problem for a moderate n in real time as a way of demonstrating the aliens&#x27; superior level of science. That must upset the original poster almost as much...
spdegabrielleabout 9 years ago
The Brian Hayes articles were always awesome - sadly he has gone.
评论 #11573160 未加载
SeanDavabout 9 years ago
How does one know one has an optimal solution for the travelling salesman problem?<p>Any experts out there that can explain this, or point to some accessible literature on this?
perseusprime11about 9 years ago
Do they have to know about the Traveling Salesman Problem?
skywhopperabout 9 years ago
&quot;I will get my favorite spaghetti meal served on my birthday.&quot;<p>In an otherwise run-of-the-mill rant, this struck me as a truly weird, passive, and ungrammatical (to my ear) assertion. The lack of any agent makes me wonder if he&#x27;s insisted on his parents and then various friends or significant others over the years to serve him this meal. Or does he hire someone to perform this task for him? The lack of the mention of &quot;cooking&quot; and the phrasing &quot;spaghetti meal&quot; make me envision dumping a cold can of Chef Boy-Ar-Dee spaghetti out in a bowl. Just an odd, unrelatable insistence. Weird.
评论 #11577522 未加载
pierrebaiabout 9 years ago
Yes! One politic is found to be corrupt, all politicians must be corrupt! One businessman implemented a fraud, down with captalism! One autistic child took several vaccine before being diagnosed. VAccine are the culprit!<p>I see, read, and hear these kind of argument all the times and they sadden me. I&#x27;m sure Snake-oil salesman, con artist and populist politicans salivates when reading how easily people dismiss things so easily.<p>Is the American Scientist article entirely wrong? No. Is even just that sideboard entirely off-track? No. It&#x27;s probably a case of vulgarization gone too far.<p>But hey, baby, water, bath, plumbing, out the window you go.
评论 #11573297 未加载