LN9 Graphs, Coloring and Bipartiteness Flashcards

1
Q

What is the first known NP-complete problem and why is it significant?

A

The SAT (Satisfiability) problem is the first known NP-complete problem. Its significance lies in its use as the basis for proving other problems NP-complete through reductions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Explain the difference between P and NP in terms of SAT.

A

SAT is in NP because a solution (satisfying assignment) can be verified in polynomial time, but it is believed not to be in P as no polynomial-time solution is known.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Cook’s theorem, and why is it essential?

A

Cook’s theorem states that SAT is NP-complete. It provides a foundation for proving other problems NP-complete through polynomial-time reductions.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why is 3SAT important in the context of NP-completeness?

A

3SAT is a specific form of SAT limited to three literals per clause and is still NP-complete, providing a simpler problem for proving the NP-completeness of other problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Describe the concept of a “gadget construction” in NP-completeness proofs.

A

Gadget constructions are used in reductions to represent components of one problem within another problem, helping prove NP-completeness by transforming instances from one problem into another.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is the significance of the Exponential Time Hypothesis (ETH)?

A

ETH suggests that 3SAT cannot be solved in sub-exponential time, implying that NP-complete problems likely require exponential time, thus supporting the conjecture that P ≠ NP.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the difference between NP problems and NP-complete problems?

A

NP problems can be verified in polynomial time, while NP-complete problems are the hardest in NP, meaning every problem in NP can be reduced to them in polynomial time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

How does the reduction process work in proving NP-completeness?

A

To prove a problem Y is NP-complete, we must reduce a known NP-complete problem X to Y in polynomial time, showing that if we could solve Y quickly, we could also solve X quickly.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does it mean if a problem X is polynomial-time reducible to another problem Y?

A

It means that instances of X can be transformed into instances of Y in polynomial time, indicating that Y is at least as hard as X.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

True or False: If the Clique problem is polynomial-time reducible to Knapsack, then Knapsack is at least as hard as Clique.

A

True. A polynomial-time reduction indicates that the complexity of Knapsack is at least as high as that of Clique.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Why might it be a misconception to think NP-complete means “not polynomial”?

A

NP-complete does not mean “not polynomial”; it means the problem can be verified in polynomial time, but it’s unknown if a polynomial-time solution exists.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Explain the purpose of Garey and Johnson’s book on NP-completeness.

A

The book “Computers and Intractability” is a comprehensive resource on NP-complete problems, often referenced to identify known NP-complete problems and guide complexity analysis.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Why can’t the reduction from 3SAT to 2SAT produce a 2CNF formula that is equivalent?

A

The reduction technique does not work for 2SAT, as 2SAT is actually solvable in polynomial time, unlike 3SAT, which remains NP-complete.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the Independent Set problem, and why is it NP-complete?

A

The Independent Set problem seeks the largest set of non-adjacent vertices in a graph. It’s NP-complete due to its reduction from 3SAT, making it computationally challenging for arbitrary graphs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why is it incorrect to say that an efficient heuristic for an NP-complete problem proves it is not NP-complete?

A

Heuristics provide solutions for typical instances but do not guarantee polynomial-time solutions for all cases, so they do not affect the problem’s NP-completeness.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly