Theory of Computer Science
- E5. Some NP-Complete Problems, Part II
Gabriele R¨
- ger
University of Basel
May 20, 2020
Gabriele R¨
- ger (University of Basel)
Theory of Computer Science May 20, 2020 1 / 22
Theory of Computer Science E5. Some NP-Complete Problems, Part II - - PowerPoint PPT Presentation
Theory of Computer Science E5. Some NP-Complete Problems, Part II Gabriele R oger University of Basel May 20, 2020 Gabriele R oger (University of Basel) Theory of Computer Science May 20, 2020 1 / 22 Theory of Computer Science May
University of Basel
Gabriele R¨
Theory of Computer Science May 20, 2020 1 / 22
May 20, 2020 — E5. Some NP-Complete Problems, Part II
Gabriele R¨
Theory of Computer Science May 20, 2020 2 / 22
Theory Background Logic Automata Theory Turing Computability Complexity Nondeterminism P, NP Polynomial Reductions Cook-Levin Theorem NP-complete Problems More Computability
Gabriele R¨
Theory of Computer Science May 20, 2020 3 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 4 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 5 / 22
Packing Problems
i∈J ai = b?
Gabriele R¨
Theory of Computer Science May 20, 2020 6 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 7 / 22
Packing Problems
i=1 10i−1 + m i=1 4 · 10i+n−1
Gabriele R¨
Theory of Computer Science May 20, 2020 8 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 9 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 10 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 11 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 12 / 22
Packing Problems
i∈J ai = i∈{1,...,k}\J ai?
Gabriele R¨
Theory of Computer Science May 20, 2020 13 / 22
Packing Problems
i=1 ai.
Gabriele R¨
Theory of Computer Science May 20, 2020 14 / 22
Packing Problems
i∈J ai = b.
Gabriele R¨
Theory of Computer Science May 20, 2020 15 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 16 / 22
Packing Problems
Gabriele R¨
Theory of Computer Science May 20, 2020 17 / 22
Packing Problems
i∈{1,...,n} with f (i)=j ai ≤ b for all 1 ≤ j ≤ k?
Gabriele R¨
Theory of Computer Science May 20, 2020 18 / 22
Packing Problems
i=1 ai and generate a BinPacking input
2 ⌋.
Gabriele R¨
Theory of Computer Science May 20, 2020 19 / 22
Conclusion
Gabriele R¨
Theory of Computer Science May 20, 2020 20 / 22
Conclusion
https://en.wikipedia.org/wiki/List_of_NP-complete_problems
Gabriele R¨
Theory of Computer Science May 20, 2020 21 / 22
Conclusion
◮ SubsetSum, ◮ Partition, and ◮ BinPacking
Gabriele R¨
Theory of Computer Science May 20, 2020 22 / 22