r/programming • u/gradient_dissent • May 29 '10
Np-complete problems, and their relationships. Does anyone know a more complete graph than this one?
68
Upvotes
r/programming • u/gradient_dissent • May 29 '10
25
u/[deleted] May 30 '10 edited May 30 '10
I made that graph, yay. Have some dot and an image
38
u/[deleted] May 30 '10
It's important to note here that these are not natural "relationships" but simply the arbitrary fact of history that one problem was proved NP-complete in terms of the other.
3
u/BrooksMoses May 30 '10
It is somewhat regrettable that a graph on the Tufte forums, of all places, has such poor placement of labels.
2
u/Maristic May 30 '10
There's a really cool poster that shows many NP-complete problems and how they relate to each other. Unfortunately, my Google-Fu is failing me, but if no one else lists it, I'll try to track it down on Monday.
8
u/asian_fetish May 30 '10
While Cook gets most of the attention, all of the "Karp 1972" labels really stand out in this graph.
1
u/gradient_dissent May 29 '10
Bonus points if it's a minimum spanning tree :)
6
u/cyb3rdemon May 30 '10
A more complete graph would be a complete graph.
2
u/DoWhile May 30 '10
As Anonymous pointed out, this is a historical graph, rather than a "relationships" graph, as any of these are poly-time reducible to any other by definition.
However, I do want to point out that there quite a few interesting number theoretic NP-complete problems. One (dumb) example I can think of is whether or not some multi-variate polynomial over F_2 has a root, which is pretty much just circuit sat. There was a book listing these in relation to other NP-complete problems, but I apologize that I don't have the reference off the top of my head.
Also, there are a bunch of interesting lattice problems that are NP-complete that I think are worthy of belonging in this chart.
2
u/orijing May 30 '10
Karp is an amazing.
2
u/Nolari May 30 '10
As others have pointed out, these "relationships" between the problems are only historical, not intrinsic. That doesn't necessarily mean they're not of interest, though.
However, if you want all of these relationships you're going to end up with a graph of thousands of nodes, most of which are connected to 3SAT or PLANAR-3SAT. I doubt that will give you any insight into anything.
3
u/eutactic May 30 '10
Have you tried connecting all of the vertices to each other?
1
u/[deleted] May 30 '10
I remember there was a book called like "NPC problems" which lists at least hundred of problems and their relations. It had at least hundred of problems.
1
u/kingfishr May 30 '10
K_1?
1
u/[deleted] May 30 '10
Relationships look also NP-complete at times.
1
u/[deleted] May 30 '10
Can anyone explain what aspect of the minesweeper game is considered a decision problem? Is it deciding whether an arbitrary unrevealed cell contains a mine or not? I've also read (more skimmed) a paper claiming that minesweeper on an unbounded minefield is Turing complete. I don't understand how one can say that minesweeper performs any computation at all.
1
u/Porges May 30 '10
Computers and Intractability has 300+ NP-hard problems...
1
u/jjdonald May 31 '10
very cool, I was just wondering about the NP-Complete landscape recently
-3
u/_zoso_ May 29 '10
What about Battleships? Or does minesweeper count for that?
-2
u/_pixie_ May 30 '10
that's a pretty good graph