Channels ▼

Developer Reading List

, August 20, 2013 New books on Windows internals, JavaScript, Groovy, Python, and P=NP
  • E-mail
  • Print

The Golden Ticket: P, NP, and the Search for the Impossible

by Lance Fortnow

We don't often present books that are aimed at more of the mass market in our reading lists, but this title is an entertaining discussion of the P versus NP problem. If your path to programming did not take you through computer science, the problem might appear obscure: How do you find the solution to a problem that allows many, many solutions and know it to be optimal. The canonical example is the traveling salesman problem: Given a journey that requires, say, stops at 30 customers, what is the shortest route to take? These problems, which involve examining more possibilities than the fastest computer could solve in centuries, are the NP group. The central question is whether there is some as yet unknown solution to them that will allow them to be approached and solved in shorter time frames as we do with other, conventional (P) problems.

Fortnow explains (in non-technical terms) how very different technology would be if it can be shown that P = NP, meaning that all NP problems are tractable within a reasonable time period. He demonstrates that even if P != NP, related problems can be solved with "good enough" solutions. To wit, GPS systems will often find the shortest routes between two points. He also points out that the intractability of NP problems is what allows us to do many forms of encryption. Finally, he gives an overview of the various research paths into the problem.

The book is an easy read and, to a technical eye, will seem longer than necessary. It also has some embarrassingly sloppy moments ("…a typical laptop can process about a trillion operations a second…"), but, in the main, it presents the problem and possible solutions clearly and entertainingly. It's good, light, vacation reading.






Currently we allow the following HTML tags in comments:

Single tags

These tags can be used alone and don't need an ending tag.

<br> Defines a single line break

<hr> Defines a horizontal line

Matching tags

These require an ending tag - e.g. <i>italic text</i>

<a> Defines an anchor

<b> Defines bold text

<big> Defines big text

<blockquote> Defines a long quotation

<caption> Defines a table caption

<cite> Defines a citation

<code> Defines computer code text

<em> Defines emphasized text

<fieldset> Defines a border around elements in a form

<h1> This is heading 1

<h2> This is heading 2

<h3> This is heading 3

<h4> This is heading 4

<h5> This is heading 5

<h6> This is heading 6

<i> Defines italic text

<p> Defines a paragraph

<pre> Defines preformatted text

<q> Defines a short quotation

<samp> Defines sample computer code text

<small> Defines small text

<span> Defines a section in a document

<s> Defines strikethrough text

<strike> Defines strikethrough text

<strong> Defines strong text

<sub> Defines subscripted text

<sup> Defines superscripted text

<u> Defines underlined text

Dr. Dobb's encourages readers to engage in spirited, healthy debate, including taking us to task. However, Dr. Dobb's moderates all comments posted to our site, and reserves the right to modify or remove any content that it determines to be derogatory, offensive, inflammatory, vulgar, irrelevant/off-topic, racist or obvious marketing or spam. Dr. Dobb's further reserves the right to disable the profile of any commenter participating in said activities.

 
Disqus Tips To upload an avatar photo, first complete your Disqus profile. | View the list of supported HTML tags you can use to style comments. | Please read our commenting policy.