The best travel apps for a smart, stress-free holiday

Mathematical puzzles don't often get to star in feature films, but P vs NP is the subject of an upcoming thriller from Timothy Lanzone called "Travelling Salesman".

The titles refers to the "travelling salesman problem", which asks: given a list of cities and the distances between them all, what's the fastest and most efficient way a salesman can visit them once each, and return home? The problem is categorised as "NP", indicating that it's easy to check that a given answer satisfies the criteria.

Advertisement

P, on the other hand, represents a set of problems that are solvable in a practical amount of time, and the question of whether P = NP -- whether both of these classes of problems are the same -- has extreme consequences, both practical and philosophical.

Back in 2010, a researcher named Vinay Deolalikar

claimed to have proved that P does not equal NP, but the consensus among theoretical computer scientists seems to be that his paper hasn't significantly advanced the field of research.

Back to the movie, it tells the story of four mathematicians hired by the US government to solve P vs NP, in the process creating a system that could crack encryption codes within seconds and accelerate scientific research enormously. The government offers each of them 10 million dollars in exchange for their portion of the algorithmic solution, and the team have to consider the moral repercussions of giving one government sole ownership of their solution.

Advertisement

The movie's website reads: "The solution's immediate use would exist within computer science. However, it's application would soon extend to countless other disciplines. For example, by utilising 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."

It premieres on 16 June in Philadelphia in the United States, and it's unclear how much of a wider release it's going to get. But if a mathematical-themed thriller sounds up your street, head on over to the movie's website to find out more.