How to prove that a problem is NP complete?

前端 未结 5 741
南方客
南方客 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:33

    First, you show that it lies in NP at all.

    Then you find another problem that you already know is NP complete and show how you polynomially reduce NP Hard problem to your problem.

提交回复
热议问题