Recent Articles



































Independent Set problem



         


In mathematics, the independent set problem (IS) is a question in combinatorics, known to be an NP-complete problem.

[Top]

Description

Given a graph G, an independent set is a subset of its vertices that are pairwise not connected together.

Input:

Question:

[Top]

Proof that Independent Set is NP-complete

This is by reduction from 3-SAT, a version of the Boolean satisfiability problem.

1. Certificate: Check that no vertices are connected.

This can easily be verified in polynomial time.

2. 3-CNF-SAT->IS transformation

This transformation can be performed in polynomial time.

3. Proof of correctness (note: this is not formal or complete)





  View Live Article   This article is from Wikipedia. All text is available under the terms of the GNU Free Documentation License