How to prove that a problem is NP complete?

前端 未结 5 743
南方客
南方客 2021-01-29 18:23

I have problem with scheduling. I need to prove that the problem is NP complete. What can be the methods to prove it NP complete?

5条回答
  •  说谎
    说谎 (楼主)
    2021-01-29 18:50

    1. Get familiar to a subset of NP Complete problems
    2. Prove NP Hardness : Reduce an arbitrary instance of an NP complete problem to an instance of your problem. This is the biggest piece of a pie and where the familiarity with NP Complete problems pays. The reduction will be more or less difficult depending on the NP Complete problem you choose.
    3. Prove that your problem is in NP : design an algorithm which can verify in polynomial time whether an instance is a solution.

提交回复
热议问题