On Strong NP-completeness of Rational Problems Dominik Wojtczak - - PowerPoint PPT Presentation

on strong np completeness of rational problems dominik
SMART_READER_LITE
LIVE PREVIEW

On Strong NP-completeness of Rational Problems Dominik Wojtczak - - PowerPoint PPT Presentation

On Strong NP-completeness of Rational Problems Dominik Wojtczak University of Liverpool CSR 2018 Motivation Dominik Wojtczak On Strong NP-completeness of Rational Problems 2/18 What we found A rather subtle point is the question of


slide-1
SLIDE 1

On Strong NP-completeness of Rational Problems Dominik Wojtczak

University of Liverpool

CSR 2018

slide-2
SLIDE 2

Motivation

Dominik Wojtczak On Strong NP-completeness of Rational Problems 2/18

slide-3
SLIDE 3

What we found

A rather subtle point is the question of rational coefficients. In- deed, most textbooks get rid of this case, where some or all input values are non-integer, by the trivial statement that multiplying with a suitable factor, e.g. with the smallest common multiple

  • f the denominators, if the values are given as fractions or by a

suitable power of 10, transforms the data into integers. Clearly, this may transform even a problem of moderate size into a rather unpleasant problem with huge coefficients. — Hans Kellerer, Ulrich Pferschy, and David Pisinger. Knapsack problems. Springer, 2004.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 3/18

slide-4
SLIDE 4

Definitions (1)

A rational number is given as (numerator, denominator) written in unary.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 4/18

slide-5
SLIDE 5

Definitions (1)

A rational number is given as (numerator, denominator) written in unary.

Definition (Knapsack problems)

Assume there are n items whose non-negative rational weights and profits are given as a list L = {(w1, v1), . . . , (wn, vn)}. Let the capacity be W ∈ Q≥0 and the profit threshold be V ∈ Q≥0.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 4/18

slide-6
SLIDE 6

Definitions (1)

A rational number is given as (numerator, denominator) written in unary.

Definition (Knapsack problems)

Assume there are n items whose non-negative rational weights and profits are given as a list L = {(w1, v1), . . . , (wn, vn)}. Let the capacity be W ∈ Q≥0 and the profit threshold be V ∈ Q≥0. 0-1 Knapsack: Is there a subset of L whose total weight does not exceed W and total profit is at least V ?

Dominik Wojtczak On Strong NP-completeness of Rational Problems 4/18

slide-7
SLIDE 7

Definitions (1)

A rational number is given as (numerator, denominator) written in unary.

Definition (Knapsack problems)

Assume there are n items whose non-negative rational weights and profits are given as a list L = {(w1, v1), . . . , (wn, vn)}. Let the capacity be W ∈ Q≥0 and the profit threshold be V ∈ Q≥0. 0-1 Knapsack: Is there a subset of L whose total weight does not exceed W and total profit is at least V ? Unbounded Knapsack: Is there a list of non-negative integers (q1, . . . , qn) such that

n

  • i=1

qi · wi ≤ W and

n

  • i=1

qi · vi ≥ V ? (Intuitively, qi denotes the number of times the i-th item in A is chosen.)

Dominik Wojtczak On Strong NP-completeness of Rational Problems 4/18

slide-8
SLIDE 8

Definitions (2)

Definition (Subset Sum problems)

Assume we are given a list of n items with rational non-negative weights A = {w1, . . . , wn} and a target total weight W ∈ Q≥0. 0-1 Subset Sum: Does there exists a subset B of A such that the total weight of B is equal to W ? Unbounded Subset Sum: Does there exist a list of non-negative integer quantities (q1, . . . , qn) such that

n

  • i=1

qi · wi = W ? (Intuitively, qi denotes the number of times the i-th item in A is chosen.)

Dominik Wojtczak On Strong NP-completeness of Rational Problems 5/18

slide-9
SLIDE 9

Definitions (3)

Definition (Partition problem)

Assume we are given a list of n items with non-negative rational weights A = {w1, . . . , wn}. Can the set A be partitioned into two sets with equal total weights?

Dominik Wojtczak On Strong NP-completeness of Rational Problems 6/18

slide-10
SLIDE 10

Definitions (3)

Definition (Partition problem)

Assume we are given a list of n items with non-negative rational weights A = {w1, . . . , wn}. Can the set A be partitioned into two sets with equal total weights? Example Problem

Dominik Wojtczak On Strong NP-completeness of Rational Problems 6/18

slide-11
SLIDE 11

Money in 18th century England

Dominik Wojtczak On Strong NP-completeness of Rational Problems 7/18

slide-12
SLIDE 12

The Reductions

Dominik Wojtczak On Strong NP-completeness of Rational Problems 8/18

slide-13
SLIDE 13

The Actual Reductions

One-in-Three-SAT for 3-CNF ≤p

m One-in-Three-SAT for 3-CNF≤4

≤p

m All-the-Same-SAT for 3-CNF≤4 ≤p m Unbounded Subset Sum

≤p

m Unbounded Knapsack

All-the-Same-SAT for 3-CNF≤4 ≤p

m Partition

All-the-Same-SAT for 3-CNF≤4 ≤p

m Subset Sum ≤p m Knapsack

Dominik Wojtczak On Strong NP-completeness of Rational Problems 9/18

slide-14
SLIDE 14

In the Pursuit of Satisfaction

The One-in-Three-SAT problem for 3-CNF formulae asks for an truth assignment that makes exactly one literal in each clause true.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 10/18

slide-15
SLIDE 15

In the Pursuit of Satisfaction

The One-in-Three-SAT problem for 3-CNF formulae asks for an truth assignment that makes exactly one literal in each clause true. 3-CNF≤4 is the set of 3-CNF formulae that use each variable at most four times.

Theorem

The One-in-Three-SAT problem for 3-CNF≤4 is NP-complete.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 10/18

slide-16
SLIDE 16

In the Pursuit of Satisfaction

The One-in-Three-SAT problem for 3-CNF formulae asks for an truth assignment that makes exactly one literal in each clause true. 3-CNF≤4 is the set of 3-CNF formulae that use each variable at most four times.

Theorem

The One-in-Three-SAT problem for 3-CNF≤4 is NP-complete. We define All-the-Same-SAT for 3-CNF formulae to be a problem of checking for a valuation that makes exactly the same number of literals true in every clause (this may be zero).

Dominik Wojtczak On Strong NP-completeness of Rational Problems 10/18

slide-17
SLIDE 17

In the Pursuit of Satisfaction

The One-in-Three-SAT problem for 3-CNF formulae asks for an truth assignment that makes exactly one literal in each clause true. 3-CNF≤4 is the set of 3-CNF formulae that use each variable at most four times.

Theorem

The One-in-Three-SAT problem for 3-CNF≤4 is NP-complete. We define All-the-Same-SAT for 3-CNF formulae to be a problem of checking for a valuation that makes exactly the same number of literals true in every clause (this may be zero).

Theorem

The All-the-Same-SAT problem for 3-CNF≤4 formulae is NP-complete.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 10/18

slide-18
SLIDE 18

Prime Suspects (1)

Theorem (Rosser (1962))

πi < i(log i + log log i) for i ≥ 6

Dominik Wojtczak On Strong NP-completeness of Rational Problems 11/18

slide-19
SLIDE 19

Prime Suspects (1)

Theorem (Rosser (1962))

πi < i(log i + log log i) for i ≥ 6

Corollary

The total size of the first n prime numbers, when written down in unary, is O(n2 log n). Furthermore, they can be computed in polynomial time.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 11/18

slide-20
SLIDE 20

Prime Suspects (2)

Lemma

Let (p1, . . . , pn) be a list of n different prime numbers.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 12/18

slide-21
SLIDE 21

Prime Suspects (2)

Lemma

Let (p1, . . . , pn) be a list of n different prime numbers. Let (a0, a1, . . . , an) and (b0, b1, . . . , bn) be two lists of integers such that |ai − bi| < pi holds for all i = 1, . . . , n.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 12/18

slide-22
SLIDE 22

Prime Suspects (2)

Lemma

Let (p1, . . . , pn) be a list of n different prime numbers. Let (a0, a1, . . . , an) and (b0, b1, . . . , bn) be two lists of integers such that |ai − bi| < pi holds for all i = 1, . . . , n. We then have a0 + a1 p1 + . . . + an pn = b0 + b1 p1 + . . . + bn pn if and only if ai = bi for all i = 0, . . . , n.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 12/18

slide-23
SLIDE 23

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn,

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-24
SLIDE 24

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m,

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-25
SLIDE 25

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m, each aj, bj, cj is a literal equal to xi or ¬xi for some i.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-26
SLIDE 26

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m, each aj, bj, cj is a literal equal to xi or ¬xi for some i. For a literal l, we write that l ∈ Cj iff l is equal to aj, bj or cj.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-27
SLIDE 27

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m, each aj, bj, cj is a literal equal to xi or ¬xi for some i. For a literal l, we write that l ∈ Cj iff l is equal to aj, bj or cj. Let pi := πi+n+5 for all i = 1, . . . , n + m.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-28
SLIDE 28

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m, each aj, bj, cj is a literal equal to xi or ¬xi for some i. For a literal l, we write that l ∈ Cj iff l is equal to aj, bj or cj. Let pi := πi+n+5 for all i = 1, . . . , n + m. The set of items A will contain one item per each literal.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-29
SLIDE 29

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Assume we are given a 3-CNF≤4 formula φ = C1 ∧ C2 ∧ . . . ∧ Cm with m clauses C1, . . . , Cm and n propositional variables x1, . . . , xn, where Cj = aj ∨ bj ∨ cj for j = 1, . . . , m, each aj, bj, cj is a literal equal to xi or ¬xi for some i. For a literal l, we write that l ∈ Cj iff l is equal to aj, bj or cj. Let pi := πi+n+5 for all i = 1, . . . , n + m. The set of items A will contain one item per each literal. The weight of the item corresponding to the literal xi is set to 1 + 1 pi − 1 pi⊕n1 +

  • {j|xi∈Cj}

1 pn+j − 1 pn+j⊕m1

  • and corresponding to the literal ¬xi is set to

1 + 1 pi − 1 pi⊕n1 +

  • {j|¬xi∈Cj}

1 pn+j − 1 pn+j⊕m1

  • .

Dominik Wojtczak On Strong NP-completeness of Rational Problems 13/18

slide-30
SLIDE 30

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Notice that the total weight of A is equal to 2n +

n

  • i=1

2 pi − 2 pi⊕n1

  • +

m

  • j=1

3 pn+j − 3 pn+j⊕m1

  • because there are 2n literals, each variable corresponds to two literals, and

each clause contains exactly three literals.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 14/18

slide-31
SLIDE 31

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Notice that the total weight of A is equal to 2n +

n

  • i=1

2 pi − 2 pi⊕n1

  • +

m

  • j=1

3 pn+j − 3 pn+j⊕m1

  • because there are 2n literals, each variable corresponds to two literals, and

each clause contains exactly three literals. Both of these sums are telescoping and we get that the total weight is equal to 2n.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 14/18

slide-32
SLIDE 32

All-the-Same-SAT ≤p

m Unbounded Subset Sum

Notice that the total weight of A is equal to 2n +

n

  • i=1

2 pi − 2 pi⊕n1

  • +

m

  • j=1

3 pn+j − 3 pn+j⊕m1

  • because there are 2n literals, each variable corresponds to two literals, and

each clause contains exactly three literals. Both of these sums are telescoping and we get that the total weight is equal to 2n. We claim that the target weight W = n is achievable by picking items from A (each item possibly multiple times) iff φ is a positive instance of All-the-Same-SAT.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 14/18

slide-33
SLIDE 33

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-34
SLIDE 34

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-35
SLIDE 35

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-36
SLIDE 36

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-37
SLIDE 37

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-38
SLIDE 38

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Notice that T ≤ W /(1 − 5

p1 ) < n/(1 − 5 n+5) = n + 5.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-39
SLIDE 39

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Notice that T ≤ W /(1 − 5

p1 ) < n/(1 − 5 n+5) = n + 5.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-40
SLIDE 40

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Notice that T ≤ W /(1 − 5

p1 ) < n/(1 − 5 n+5) = n + 5.

The total weight of the selected items can be expressed as:

n

  • i=1

ti +

n

  • i=1

ti − ti⊖n1 pi +

m

  • j=1

tn+j − tn+j⊖m1 pn+j (⋆)

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-41
SLIDE 41

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Notice that T ≤ W /(1 − 5

p1 ) < n/(1 − 5 n+5) = n + 5.

The total weight of the selected items can be expressed as:

n

  • i=1

ti +

n

  • i=1

ti − ti⊖n1 pi +

m

  • j=1

tn+j − tn+j⊖m1 pn+j (⋆) Note that |ti − ti⊖n1| < n + 5 for all i = 1, . . . , n, and |tn+j − tn+j⊖m1| < n + 5 for all j = 1, . . . , m.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-42
SLIDE 42

All-the-Same-SAT ≤p

m Unbounded Subset Sum

(⇒) Let qi and q′

i be the number of times an item corresponding to,

respectively, literal xi and ¬xi is chosen. For i = 1, . . . , n, we define ti := qi + q′

i.

For j = 1, . . . , m, we define tn+j to be the number of times an item corresponding to a literal in Cj is chosen. For example, if Cj = x1 ∨ ¬x2 ∨ x5 then tn+j = q1 + q′

2 + q5.

Finally, let T := n

i=1 qi + q′ i be the total number of items chosen.

Notice that T ≤ W /(1 − 5

p1 ) < n/(1 − 5 n+5) = n + 5.

The total weight of the selected items can be expressed as:

n

  • i=1

ti +

n

  • i=1

ti − ti⊖n1 pi +

m

  • j=1

tn+j − tn+j⊖m1 pn+j (⋆) Note that |ti − ti⊖n1| < n + 5 for all i = 1, . . . , n, and |tn+j − tn+j⊖m1| < n + 5 for all j = 1, . . . , m. From the previously showed lemma this is equal to W = n iff n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 15/18

slide-43
SLIDE 43

All-the-Same-SAT ≤p

m Unbounded Subset Sum

If n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m,

then we have: The first two imply that ti = 1 for all i = 1, . . . , n.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 16/18

slide-44
SLIDE 44

All-the-Same-SAT ≤p

m Unbounded Subset Sum

If n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m,

then we have: The first two imply that ti = 1 for all i = 1, . . . , n. The last one implies that in each clause exactly the same number of items corresponding to its literals is chosen.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 16/18

slide-45
SLIDE 45

All-the-Same-SAT ≤p

m Unbounded Subset Sum

If n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m,

then we have: The first two imply that ti = 1 for all i = 1, . . . , n. The last one implies that in each clause exactly the same number of items corresponding to its literals is chosen. (⇐) Let ν be a valuation for which φ satisfies the All-the-Same-SAT condition. If ν(xi) = ⊤ then we set qi = 1 and q′

i = 0.

If ν(xi) = ⊥ then we set qi = 0 and q′

i = 1.

Let us define ti-s as before.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 16/18

slide-46
SLIDE 46

All-the-Same-SAT ≤p

m Unbounded Subset Sum

If n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m,

then we have: The first two imply that ti = 1 for all i = 1, . . . , n. The last one implies that in each clause exactly the same number of items corresponding to its literals is chosen. (⇐) Let ν be a valuation for which φ satisfies the All-the-Same-SAT condition. If ν(xi) = ⊤ then we set qi = 1 and q′

i = 0.

If ν(xi) = ⊥ then we set qi = 0 and q′

i = 1.

Let us define ti-s as before. We now have ti = 1 for all i = 1, . . . , n and tn+1 = tn+2 = . . . = tn+m, because the All-the-Same-SAT condition is satisfied by ν.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 16/18

slide-47
SLIDE 47

All-the-Same-SAT ≤p

m Unbounded Subset Sum

If n

i=1 ti = n, and t1 = t2 = . . . = tn, and tn+1 = tn+2 = . . . = tn+m,

then we have: The first two imply that ti = 1 for all i = 1, . . . , n. The last one implies that in each clause exactly the same number of items corresponding to its literals is chosen. (⇐) Let ν be a valuation for which φ satisfies the All-the-Same-SAT condition. If ν(xi) = ⊤ then we set qi = 1 and q′

i = 0.

If ν(xi) = ⊥ then we set qi = 0 and q′

i = 1.

Let us define ti-s as before. We now have ti = 1 for all i = 1, . . . , n and tn+1 = tn+2 = . . . = tn+m, because the All-the-Same-SAT condition is satisfied by ν. From (⋆) it follows that the total weight of these items is n.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 16/18

slide-48
SLIDE 48

The Other Reductions

We can simply repeat this proof to show.

Theorem

The Partition problem with rational weights is strongly NP-complete.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 17/18

slide-49
SLIDE 49

The Other Reductions

We can simply repeat this proof to show.

Theorem

The Partition problem with rational weights is strongly NP-complete.

Corollary

The Subset Sum problem with rational weights is strongly NP-complete.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 17/18

slide-50
SLIDE 50

The Other Reductions

We can simply repeat this proof to show.

Theorem

The Partition problem with rational weights is strongly NP-complete.

Corollary

The Subset Sum problem with rational weights is strongly NP-complete.

Corollary

The 0-1 Knapsack and Unbounded Knapsack problems with rational weights are strongly NP-complete.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 17/18

slide-51
SLIDE 51

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18

slide-52
SLIDE 52

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients In other words:

Being rational makes you stronger!

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18

slide-53
SLIDE 53

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients In other words:

Being rational makes you stronger!

At the same time all these problems admit an FPTAS.

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18

slide-54
SLIDE 54

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients In other words:

Being rational makes you stronger!

At the same time all these problems admit an FPTAS. As expected?

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18

slide-55
SLIDE 55

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients In other words:

Being rational makes you stronger!

At the same time all these problems admit an FPTAS. As expected?

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18

slide-56
SLIDE 56

Conclusions

Subset Sum, Unbounded Subset Sum, Knapsack, Unbounded Knapsack, Partition are all strongly NP-hard with rational coefficients In other words:

Being rational makes you stronger!

At the same time all these problems admit an FPTAS. As expected?

Thanks!

Dominik Wojtczak On Strong NP-completeness of Rational Problems 18/18