
Travelling Salesman
2012 · Film · 80 min
Directed by Timothy Lanzone
Four mathematicians are gathered and meet with a top official of the United States Department of Defense. After some discussion, the group agrees that they must be wary with whom to trust and control their solution. The official offers them a reward of $10 million in exchange for their portion of the algorithm, swaying them by attempting to address their concerns. Only one of the four speaks out against the sale, and in doing so is forced to reveal a dark truth about his portion of the solution. Before they sign a license to the government, however, they wrestle with the ethical consequences of their discovery. -- Wikipedia
7 positive1 negative3 neutralfrom 11 commenters
Where to watch
No streaming data for this title.
Videos commenters linked
From YouTube links in the comments below. Most are clips and trailers; “Full” means the uploader says so.







13 comments on Hacker News
There's a decidedly cheesy B movie call The Travelling Salesman about a crew of computer scientists who prove P=NP and sit around a conference table trying to decide what to do with the proof. It's fairly accurate without ever actually trying to posit what the proof looks like.
https://m.imdb.com/title/tt1801123/
I wish we could do the same for Computer Science/Software. Movies like "Travelling Salesman" or "Pirates of Silicon Valley" or "Imitation Game" would be great suggestions but typically things like the Matrix or Ghost in the Shell are recommended which for me are great movies but poor examples of the discipline.
Travelling Salesman (2012) movie is about exactly this.
I do the same, but for things that aren't yet discovered. I try to imagine what the solution might look like, how it would be presented, what the implications of it's creation will be, etc.
I really love for example the film 'Travelling Salesman' [1]. It explores some possible narrative for discovering the solution to P=NP.
One I like to think about is general human-like AI. How do I test it works correctly? How long did it take to create? What algorithms does it make use of? What are the implications in my social circles? What is the wider impact? What happens if you refuse to release the code?
One film I like that explores some ideas is 'Ex Machina' [2]. In my opinion the AI created in the film is intelligent, but lacks empathy - something I think we should seriously consider in our attempts to create AI.
[1] https://en.wikipedia.org/wiki/Travelling_Salesman_(2012_film)
[2] https://en.wikipedia.org/wiki/Ex_Machina_(film)
Indeed 'Sneakers' is a good hacker movie by all means. It even give us a Perl script at some point AFAIK.
There is another movie called "Travelling Salesman" where a few mathematicians solve P vs NP and explain the possible implications to a federal agent who wants to exploit their breakthroughs.
ps. Awesome script to play hacker while people is looking at your shell https://github.com/bartobri/no-more-secrets
There's a movie called Travelling Salesman about a group of computer scientists who successfully prove P=NP for the NSA or whoever and the whole movie is them debating what to do with their discovery. It's not great, not bad, but it's worth watching if that kind of thing interests you.
https://en.wikipedia.org/wiki/Travelling_Salesman_(2012_film)
reminds me this good movie: https://en.wikipedia.org/wiki/Travelling_Salesman_(2012_film)
Guys found proof for P = NP, and government declared it as national asset and government secret.
There's a movie called "Travelling Salesman" [1]. It's available on Amazon's video service.
[1] http://www.imdb.com/title/tt1801123/?ref_=fn_al_tt_7
There is a movie about it: Travelling Salesman (2012) http://www.imdb.com/title/tt1801123/reference
23 is the best hacker film I know of. It's German and based on the Karl Koch story. It's not exclusively about hacking, necessarily, but it is far more realistic than any other I've seen.
Reboot from 2012 is a short film that features a whole lot of real world penetration testing tools and security lingo, but was overall poorly executed and nonsensical. Still worth a look just to spot all the references.
Antitrust is a programmer film. It's somewhat slow-paced and mediocre, but it has a nice scene with the Unix shell and overall tries to mimic the work environment at Microsoft.
Takedown, which although not that good, is a watchable telling of the Kevin Mitnick saga.
Travelling Salesman is based on computer scientists solving P = NP and creating a crypto weapon for use by the U.S. government. Actually quite intellectual, much like Primer.
That's all I can think of right now.
Interesting concept. Probably worthwhile as a teaching tool, but don't get your hopes up about it being good. The trailer doesn't impress, the 4.8 rating on IMDB is nothing to ignore, and I think wikipedia is being dishonest when it says "early reviews have been favorable" when in fact the two supporting citations both link to the same article that actually says this:
>Unfortunately, this means that the majority of the film consists of five men having a heated discussion in a stark, washed-out blue room in some anonymous government building. Other than Horton, we never even learn the characters’ names. The low-budget aesthetic and grounding in hard science is reminiscent of the excellent time-travel film Primer, but Travelling Salesman is far less ambitious. A few flashbacks help break up the film, but you can’t help think this particular story would be better served as an hour-long play.
And yea, it's clear that the film is at least partially inspired by Primer. I'm not sure if this really bothers me, though I once made a short film vaguely inspired by Primer and was harshly called out for it. Compare the trailers:
http://youtu.be/4CC60HJvZRE
http://youtu.be/6ybd5rbQ5rU
A "review" from Luis Guzman, https://plus.google.com/u/0/103069458643902853500/posts/Jg8R1nazWJ7:
So what is the movie about?
"Travelling Salesman is an intellectual thriller about four mathematicians hired by the U.S. government to solve the most elusive problem in computer science history -- P VS. NP. The four have jointly created a "system" which could be the next major advancement for our civilization or destroy the fabric of humanity.
The solution's immediate use would exist within computer science. However, it's application would soon extend to countless other disciplines. For example, by utilizing the solution to P vs. NP, a hacker can crack advanced encryption codes within seconds--a task that now takes weeks, months, or even years. He could break into La Guardia's air traffic control or China's communication grid. But the mathematical algorithm would also serve as the basis for accelerated biological research, curing diseases such as AIDS and cancer."
So what is the P vs. NP problem?
Well, the P vs. NP problem is a real mathematics problem and is one of the seven Clay Mathematics Institute's Millennium Problems. A correct solution to any of the problems results in a $1,000,000 prize.
The Clay Institute states: "Suppose that you are organizing housing accommodations for a group of four hundred university students. Space is limited and only one hundred of the students will receive places in the dormitory. To complicate matters, the Dean has provided you with a list of pairs of incompatible students, and requested that no pair from this list appear in your final choice. This is an example of what computer scientists call an NP-problem, since it is easy to check if a given choice of one hundred students proposed by a coworker is satisfactory (i.e., no pair taken from your coworker's list also appears on the list from the Dean's office), however the task of generating such a list from scratch seems to be so hard as to be completely impractical. Indeed, the total number of ways of choosing one hundred students from the four hundred applicants is greater than the number of atoms in the known universe! Thus no future civilization could ever hope to build a supercomputer capable of solving the problem by brute force; that is, by checking every possible combination of 100 students. However, this apparent difficulty may only reflect the lack of ingenuity of your programmer. In fact, one of the outstanding problems in computer science is determining whether questions exist whose answer can be quickly checked, but which require an impossibly long time to solve by any direct procedure. Problems like the one listed above certainly seem to be of this kind, but so far no one has managed to prove that any of them really are so hard as they appear, i.e., that there really is no feasible way to generate an answer with the help of a computer. "
So what is the travelling salesman problem?
Well, the travelling salesman problem (TSP) is also a real mathematics problem and it asks the following question: Given a list of cities and the distances between each pair of cities, what is the shortest possible route that visits each city exactly once and returns to the origin city? It is an NP-hard problem in combinatorial optimization, important in operations research and theoretical computer science. So you can see it is related the the P vs. NP problem!
In the book, In Pursuit of the Traveling Salesman: Mathematics at the Limits of Computation by William J. Cook, it states: "Selecting the best tour through a set of points and knowing it is the best is the full challenge of the TSP. Users of a brute-force algorithm that sorts through all permutations can be certain they have met the challenge, but such an approach lacks both subtlety and, as we know, practical efficiency. What is needed is a means to guarantee the quality of a tour, short of inspecting each permutation individually. In this context, the tool of choice is linear programming."
So what is linear programming?
Well, linear programming (LP), or linear optimization, is not computer programming! It is a mathematical method for determining a way to achieve the best outcome (such as maximum profit or lowest cost) in a given mathematical model for some list of requirements represented as linear relationships. Linear programming is a specific case of mathematical programming (mathematical optimization).
In the book, In Pursuit of the Traveling Salesman: Mathematics at the Limits of Computation by William J. Cook, it states linear programming is: "an amazingly effective method for combining a large number of simple rules, satisfied by all tours, to obtain a single rule of the form 'no tour through this point set can be shorter than X.' The number X gives an immediate quality measure: if we can also produce a tour of length X then we can be sure that it is optimal."
The founders of this subject are Leonid Kantorovich, a Russian mathematician who developed linear programming problems in 1939, George Dantzig, who published the simplex method in 1947, and John von Neumann, who developed the theory of the duality in the same year.
So what is the simplex method?
Well, the simplex method, or simplex algorithm, is just a popular algorithm for linear programming! Dantzig provided an original example of this method by finding the best assignment of 70 people to 70 jobs to exemplify the usefulness of linear programming. The computing power required to test all the permutations to select the best assignment is vast; the number of possible configurations exceeds the number of particles in the universe. However, it takes only a moment to find the optimum solution by posing the problem as a linear program and applying the Simplex algorithm! In 2000, it was named one of "The Top Ten Algorithms of the Century".
Who was George Dantzig?
There's a well-known account of Dantzig, "the father of linear programming," during his time as a mathematics student at UC Berkeley. One day, Dantzig was running late to a class taught by the famous Jerzy Neyman. When he arrived, he saw two problems on the blackboard and scribbled them down as homework problems. After class, Dantzig began working on them and turned in the solutions several days later.
Six weeks later, on a Sunday morning, Dantzig was woken up by the noise of someone banging on the door of his house. He opened the door and was surprised to see his professor, Jerzy Neyman, at the door holding a handful of papers. His excited professor said, "I've written an introduction to one of your papers! Read it so I can send it out right away for publication!"
As it turns out, these two problems on the blackboard were not homework problems, but famous unsolved problems in mathematical statistics. Without knowing it, Dantzig solved two unsolved statistics problems for homework.
Later on, when Dantzig was having difficulty finding a topic for his thesis, Neyman told him to just put his solutions to those two problems into a binder and that Neyman would accept the solutions as Dantzig's thesis!
"Sounds like magic, but linear programming is indeed the method adopted in all of the most successful exact TSP approaches proposed to date. Moreover, its application to problems beyond the TSP has made it one of the great success stories of modern mathematics."
References: http://www.travellingsalesmanmovie.com/ http://www.claymath.org/millennium/P_vs_NP/ http://books.google.com/books/about/In_Pursuit_of_the_Traveling_Salesman.html?id=S3bxbr_-qhYC http://en.wikipedia.org/wiki/Travelling_salesman_problem http://en.wikipedia.org/wiki/Linear_programming http://en.wikipedia.org/wiki/Simplex_algorithm http://en.wikipedia.org/wiki/George_Dantzig
For a popular treatment of the subject and the consequences, see this film (I assume the first film ever made about P=NP and it was released just this year): http://en.wikipedia.org/wiki/Travelling_Salesman_(2012_film)
I just finished a section on NPC problems in my algorithms class (working on a masters). For years, I've been confused about the true meaning of P, NP, and NPC. Feels weird saying it, but I am so glad I've finally got a good grasp on at least the definitions. One of the most gratifying moments in the class was doing homework problems that required proving various problems were in NPC.