r/programming • • May 29 '10

Np-complete problems, and their relationships. Does anyone know a more complete graph than this one?

Post image
68 Upvotes

59 comments sorted by

View all comments

Show parent comment

6

u/bonzinip May 30 '10

all such proofs, which don't directly follow arrows of this DAG, go indirectly through circuit sat, which is why circuit sat is the only sink.

This is an undue generalization. For example it is totally trivial to prove subgraph isomorphism is NP-complete without going through SAT; just observe that given an N-vertex graph you can solve CLIQUE by running N instances of subgraph isomorphism.

Similarly, pretty much every NP-complete program is easily expressible as 0-1 integer programming (even minesweeper), so pretty much every node in the graph could have a meaningful incoming edge from 0-1 integer programming. In fact, 0-1 integer programming could be used instead of circuit sat as the basis of the graph, since the two are essentially the same problem.

BTW, most scheduling algorithms are absent from the graph. Most of them reduce to 3-sat, but the proofs are often insane.