TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Travelling Salesman – Official Movie Site

85 点作者 neckbeard大约 12 年前

31 条评论

ntoshev大约 12 年前
A "review" from Luis Guzman, <a href="https://plus.google.com/u/0/103069458643902853500/posts/Jg8R1nazWJ7" rel="nofollow">https://plus.google.com/u/0/103069458643902853500/posts/Jg8R...</a>:<p><i>So what is the movie about?</i><p>"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.<p>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."<p><i>So what is the P vs. NP problem?</i><p>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.<p>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. "<p><i>So what is the travelling salesman problem?</i><p>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!<p>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."<p><i>So what is linear programming?</i><p>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).<p>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."<p>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.<p><i>So what is the simplex method?</i><p>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".<p><i>Who was George Dantzig?</i><p>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.<p>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!"<p>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.<p>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!<p>"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."<p>References: <a href="http://www.travellingsalesmanmovie.com/" rel="nofollow">http://www.travellingsalesmanmovie.com/</a> <a href="http://www.claymath.org/millennium/P_vs_NP/" rel="nofollow">http://www.claymath.org/millennium/P_vs_NP/</a> <a href="http://books.google.com/books/about/In_Pursuit_of_the_Traveling_Salesman.html?id=S3bxbr_-qhYC" rel="nofollow">http://books.google.com/books/about/In_Pursuit_of_the_Travel...</a> <a href="http://en.wikipedia.org/wiki/Travelling_salesman_problem" rel="nofollow">http://en.wikipedia.org/wiki/Travelling_salesman_problem</a> <a href="http://en.wikipedia.org/wiki/Linear_programming" rel="nofollow">http://en.wikipedia.org/wiki/Linear_programming</a> <a href="http://en.wikipedia.org/wiki/Simplex_algorithm" rel="nofollow">http://en.wikipedia.org/wiki/Simplex_algorithm</a> <a href="http://en.wikipedia.org/wiki/George_Dantzig" rel="nofollow">http://en.wikipedia.org/wiki/George_Dantzig</a>
Samuel_Michon大约 12 年前
One of the clearest examples I’ve seen of HTML5 Animation maturing. I had to right-click to check whether it was done in Flash. The site even comes with a splash screen and a ‘Skip intro’ button. The horizontal scrollbars down the middle of the page and the Mystery Meat navigation feel very authentic. I love how the actual content is placed in lightboxes, making very little use of the available space. The barely legible 90s techno fonts really finished the look. Bravo!
runn1ng大约 12 年前
Damn, and there I hoped it will be a trailer about a salesman in early 1900s (when the problem was starting to be defined and studied), traveling across Europe and trying to meet all the major European cities with the shortest amount of time, with overtones of disappearing the Victorian era and entering the new century with the ideals for new, more industrialized and exact world of 20th century with some foreshadowing into the rampant nationalism and two wars that followed. Was it the growing influence of math and algorithms (that made concepts like "Traveling Salesman problem" even possible) that directly or indirectly caused the genocides of the past century? All that could be asked by the salesman, traveling from city to city in the shortest amount of time, in the train, or maybe newly built Daimler-Mercedes car.<p>And instead I got guys sitting in a room. Damn.
jmduke大约 12 年前
I'll be honest, this looks comically bad and has no merit besides the fact that it has a geeky premise.<p>I'm sure the underlying discussion of "What if P=NP? is solved?" is incredibly interesting but what I got from the trailer was that this was a movie with a bad script, bad cinematography, bad acting, and bad editing.
评论 #5680977 未加载
评论 #5687672 未加载
wronskian大约 12 年前
I've seen the film already - there have been a few screenings of it here in Cambridge, UK at the university maths department. (Indeed, I wasn't aware it hadn't been generally released!) It's an interesting idea and quite reasonably played out without too much cliche and, impressively, not too many blunders in maths or tech. The way the premise has been turned into plot is not, however, so sound. Still, I found it sufficiently engaging and I'd recommend a viewing for anyone with an academic maths or science background.
Paul_S大约 12 年前
The website didn't load initially, so I allowed it javascript and cookies, fine. Then the hilarious "skip intro" button transported me back to the 90s. Then the website finally loaded with style over substance and a hilariously tiny window in which text appears. Thank god it loads up the whole website so you can at least disable the retarded CSS and view the text of the site - better than in most cases I guess.<p>I don't like where the web is going, it was on the right track with CSS but it's getting ridiculous again. Now I need javascript to read text and view pictures.
lt大约 12 年前
The concept reminds me of Charles Stross "Antibodies", first story of the Toast collection, available free here:<p><a href="http://www.antipope.org/charlie/blog-static/fiction/toast/toast-intro.html" rel="nofollow">http://www.antipope.org/charlie/blog-static/fiction/toast/to...</a><p>Quick and worthy a read.
jere大约 12 年前
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:<p>&#62;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.<p>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>I</i> once made a short film vaguely inspired by Primer and was harshly called out for it. Compare the trailers:<p><a href="http://youtu.be/4CC60HJvZRE" rel="nofollow">http://youtu.be/4CC60HJvZRE</a><p><a href="http://youtu.be/6ybd5rbQ5rU" rel="nofollow">http://youtu.be/6ybd5rbQ5rU</a>
mtdewcmu大约 12 年前
I know what I'd do if I alone knew the solution to the TSP: I'd become a traveling salesman. Or, perhaps, I'd start a business that employs traveling salesmen and use the efficiency gains to amass dazzling wealth and power.
评论 #5679466 未加载
sgloutnikov大约 12 年前
Could be good. I really enjoyed 'Deception Point' by Dan Brown and it seems this could be something of the sort...
评论 #5679696 未加载
bglusman大约 12 年前
I saw this film at the premiere in Philadelphia about a year ago... I was prepared for it to be awful, but I thought it was actually pretty good, albeit a) a bit more like a filmed play in structure than a film (largely takes place in one room with 4 or 5 actors), and b) comically low budget means you have to excuse a few places it's... lacking production value. But I think if you enjoyed, say, Primer and/or Twelve Angry Men, than you're likely to enjoy the film overall, or at least not think it's nearly as bad as the trailer may have made you fear!
aptwebapps大约 12 年前
Is joke, right?
jpswade大约 12 年前
Reminded me of The Matrix Office Space Mash Up...<p><a href="http://www.youtube.com/watch?v=XkDHDYy_9cE" rel="nofollow">http://www.youtube.com/watch?v=XkDHDYy_9cE</a>
twic大约 12 年前
Ken Regan, who is some kind of computerologist, has a really interesting post pointing out that TSP is actually one of the easier NP-complete problems, and even an O(n) solution only reduces the interesting NP-complete problems to really hard polynomial-time problems.<p><a href="http://rjlipton.wordpress.com/2012/04/22/the-travelling-salesmans-power/" rel="nofollow">http://rjlipton.wordpress.com/2012/04/22/the-travelling-sale...</a>
ctdonath大约 12 年前
Could be fun if "what if..?" movies like this were made with an accompanying short (same actors, set, etc) following the alternate answer to the key question. In this case, the dramatic gathering of the 4 smartest men by the government to answer "P = NP?", and they proceed to answer the question: "General, we have proof of the answer. P != NP. Some things really are really hard. Good day."
rebhan大约 12 年前
The problem is practically solved, use Genetic Algorithms and you's find a solution which is sufficient for any practical uses.
评论 #5679892 未加载
评论 #5680540 未加载
评论 #5679814 未加载
aet大约 12 年前
Melting point of sand (silicon dioxide, or Quartz): 1723 C. So what material is the coin in the example?
评论 #5680833 未加载
评论 #5682253 未加载
nreece大约 12 年前
The trailer is interesting but the IMDb rating (4.8) and the top comment on YouTube make it look unimpressive.<p><a href="http://www.youtube.com/watch?v=6ybd5rbQ5rU" rel="nofollow">http://www.youtube.com/watch?v=6ybd5rbQ5rU</a>
评论 #5679454 未加载
joshka大约 12 年前
Rated NP
kaa2102大约 12 年前
I studied Industrial Engineering &#38; Operations Research (OR) in undergrad and grad school. Traveling Salesman is one of the classic OR problems. It's fun to see OR make it on the silver screen.
feniv大约 12 年前
I love hypothetical science fiction movies like this, but they so often get criticized for the improbability of their premise rather than admired for their vision.
评论 #5680891 未加载
andyjsong大约 12 年前
Watch it, then play it on: <a href="https://www.hackerrank.com/challenges/tbsp" rel="nofollow">https://www.hackerrank.com/challenges/tbsp</a>
scscsc大约 12 年前
The trailer is here: <a href="http://www.youtube.com/watch?v=6ybd5rbQ5rU" rel="nofollow">http://www.youtube.com/watch?v=6ybd5rbQ5rU</a>
dlss大约 12 年前
Put this on iTunes so I can buy it :)
kruhft大约 12 年前
I've been waiting for this to come out. I'm sure it'll be entertaining in some way :)
JohnLBevan大约 12 年前
I can't wait for the sequel; The Chinese Postman.
评论 #5679476 未加载
lazugod大约 12 年前
What a frustrating trailer. Show, don't tell.
aidenn0大约 12 年前
Prediction: won't be as good as Sneakers.
goloxc大约 12 年前
Anyone seen Pi?
评论 #5680869 未加载
nickporter大约 12 年前
do not want
zerr大约 12 年前
Now in the real world - those four would be Asians :)