NP-Complete Problems: Definition, Classification & Examples

  • Thread starter Thread starter Avichal
  • Start date Start date
  • Tags Tags
    Complete
Click For Summary

Discussion Overview

The discussion revolves around NP-complete problems, their definition, classification, and implications in computational theory. Participants explore the significance of identifying NP-complete problems and the relationships between various problem classes such as NP-hard and RE-complete. The conversation includes both theoretical aspects and practical examples related to optimization and cryptography.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants propose that NP-complete problems are those that are NP and have other problems reducible to them, suggesting a collective membership among these problems.
  • Others argue that the purpose of defining NP-complete problems is to determine if they can be solved in a reasonable time by computers, with practical implications for fields like cryptography and optimization.
  • A participant mentions that understanding NP-complete problems can clarify the classification of problems like 3-SAT and vertex cover.
  • There is a question about the relationship between two NP problems that can reduce to each other and whether they can be classified as NP-complete if they do not reduce to other NP-complete problems.
  • Another participant clarifies that simply showing two problems are reducible to each other does not automatically grant them NP-complete status unless they can be shown to relate to the broader NP-complete set.

Areas of Agreement / Disagreement

Participants express varying interpretations of the definitions and implications of NP-complete problems. There is no consensus on the classification criteria for NP-complete status, and multiple competing views remain regarding the significance of these classifications.

Contextual Notes

Some limitations in the discussion include potential misunderstandings about the reducibility criteria for NP-complete problems and the implications of such classifications on problem-solving capabilities.

Avichal
Messages
294
Reaction score
0
As far as I understand NP-complete problems are problems that are NP and have some other problem that is reducible to itself. Basically it is a set of problems that are NP-complete and if one is solved all are solved, right?

What is the point of defining such set of problems? Also there might be several such sets of NP-complete problems, right?

Also, I see that there are even more classification of problems like NP-hard, RE complete etc. Again, what's the point?
 
Technology news on Phys.org
The point is figuring out if such problems can be solved in a reasonably finite amount of time by computers.

http://en.wikipedia.org/wiki/NP-complete

For example, can you use a computer to optimize route planning to determine the least distance traveled to service all stops? Are certain cryptographic systems immune from attack?

For example, the Germans thought their military cipher system Enigma was 'unbreakable' during WWII, and thus used it extensively to transmit all sorts of messages from Berlin to front-line units. However, due to a number of factors, this confidence was misplaced, and the Allies were able to decipher some messages quickly enough to be tactically useful against the Germans.

Nowadays, all sorts of personal and commercial information is encrypted to prevent tampering by third parties. If it were shown that these encryption systems were vulnerable to attack, then crimes like fraud and identity theft, and the losses caused by such activity, would increase dramatically.
 
SteamKing said:
The point is figuring out if such problems can be solved in a reasonably finite amount of time by computers.

http://en.wikipedia.org/wiki/NP-complete

For example, can you use a computer to optimize route planning to determine the least distance traveled to service all stops? Are certain cryptographic systems immune from attack?

For example, the Germans thought their military cipher system Enigma was 'unbreakable' during WWII, and thus used it extensively to transmit all sorts of messages from Berlin to front-line units. However, due to a number of factors, this confidence was misplaced, and the Allies were able to decipher some messages quickly enough to be tactically useful against the Germans.

Nowadays, all sorts of personal and commercial information is encrypted to prevent tampering by third parties. If it were shown that these encryption systems were vulnerable to attack, then crimes like fraud and identity theft, and the losses caused by such activity, would increase dramatically.
The practical examples helped. All I read about was 3-SAT, vertex cover etc. Now seeing these examples, I see why such classification of problems is done. Thank You!
 
One more doubt -
Say we have a problem A that is NP. We have another problem B and A can be reduced to B. So we call A and B NP.
And since both are reducible to each other we collectively call them NP-complete problems. Am I right?

Also we have two more problems C and D. C and D are NP and both are reducible to each other but cannot be reduced to A and B. So will they be called NP-complete problems?
 
Avichal said:
Say we have a problem A that is NP. We have another problem B and A can be reduced to B. So we call A and B NP.
And since both are reducible to each other we collectively call them NP-complete problems. Am I right?

Only if you can show that solving A (or B) means you could then solve all the other problems in the NP Complete "club" with only a modest extra amount of work and vice versa, not otherwise.

Showing your new problem is "equivalent" to all (which actually means any) of the long list of existing NP Complete problems is what it takes to be granted membership.

Saying "I have these two wildly hard problems and if you could solve either then you could solve the other, but I have no idea whether either is harder or easier or completely unrelated to the NP Complete membership list" does not grant your problems membership in the NP Complete club.
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 10 ·
Replies
10
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 9 ·
Replies
9
Views
4K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 14 ·
Replies
14
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
3
Views
5K