When a problem is NP-hard, the usual escape hatch is to lower your standards: stop demanding the perfect answer and settle for one that's close. A route 10% longer than optimal, a schedule that wastes a little space, a clique nearly as big as the biggest. For many problems this works beautifully — fast approximation algorithms get you within a guaranteed factor of the best answer.
But for some problems, the escape hatch is welded shut. Not only is the exact answer hard to find — any answer within a fixed factor of the best is also NP-hard to find. This is inapproximability, and it is one of the most surprising results in all of computer science.
The headline example is Maximum Clique: in a network, find the largest group where everyone is connected to everyone else. We'll see that you can't even reliably get vaguely close to the right size — and that this is a theorem, not a gap in our cleverness.
Comments
Loading comments...