Traveling salesman problem joke from xkcd

  • Context:
  • Thread starter Thread starter mathbalarka
  • Start date Start date
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
10 replies · 3K views
mathbalarka
Messages
452
Reaction score
0

Attachments

  • travelling_salesman_problem.png
    travelling_salesman_problem.png
    20.8 KB · Views: 158
Physics news on Phys.org
Re: Travelling Salesman

I think it took me 5 or 6 times to get the joke... (Headbang) :D
 
Re: Travelling Salesman

I just started a bit of dynamic programming this semester so I get the joke but a month ago I would not have gotten it at all.

<3 xkcd.
 
Re: Travelling Salesman

Ha! This joke is written in secret code and is only completely understandable to ones who are complexity theorists! (Devil)
 
Re: Travelling Salesman

Yes, well, as Mephistopheles says in Goethe's Faust,

My worthy friend, gray are all theories,
And green alone Life's golden tree.

(Though it's taken a bit out of context.) People may conceive and develop beautiful theories, like those about complexity or encryption, but there are thousands of circumstances that are impossible to take into account and that can override all efforts put into those theories. For example, ten years ago a paper (PDF) was published about vulnerabilities in the Java virtual machine where memory faults were induced by heat (!) and then exploited in order to execute arbitrary code. You can prove that Java is type-safe until you are blue in the face, and then someone comes along and does something you never imagined.

Here is another example from the movie Under Siege 2 with Steven Seagal (scroll to 24s).

 
Re: Travelling Salesman

:D That was hilarious!

A lot is said about Chuck Norris. But Seagal solves any NP problem in 1 second.
 
Re: Travelling Salesman

mathbalarka said:
Ha! This joke is written in secret code and is only completely understandable to ones who are complexity theorists! (Devil)

Sadly, that's not where my stupidity was lying.I understood the premise. Just wasn't geting that there is no need for route planning on the internet. Hence banging my head against the wall.
 
P != NP

Problem solved.(Muscle)(Muscle)(Muscle)(Toivo)
 
Brute force solution to any computer programming problem:

EMP pulse-no computers, no problem.
 
Deveno said:
Brute force solution to any computer programming problem:

EMP pulse-no computers, no problem.

You and I are about the same age...you remember the drills in school where we were herded into the halls to kneel down with a book over our heads in preparation for the impending thermonuclear barrage? Fun times...(Dull)
 
Duck and cover FTW.