BERGER AND LEIGHTON, 1998
The main result is that HP STRING-FOLD is NP-complete when G is Z3. The proof follows by showing that the following folding problem is NP-hard.
Instance: A finite sequence S over the alphabet {H, P},
an integer m, and a graph G.
Question: Is there a fold of S in G where the number of H-H bonds is at least m?
The proof that PERFECT HP STRING-FOLD is NP-hard involves a transformation from the (strongly) NP-complete problem of BIN PACKING ...
Instance: An integer n and a finite sequence S over the alphabet {H, P} which contains n^3 H's.
Question: Is there a fold of S in Z3 for which the H's are perfectly packed into an n x n x n cube?
To simplify matters, the paper uses a variation of BIN PACKING which is more easily shown to be strongly NP-complete.
Instance: A finite set U of items, a size s(u) ∈ Z+ for each u ∈ U, a positive integer bin capacity B, and a positive integer K.
Question: Is there a partition of U into disjoint sets U1, U2, ... ,Uk such that the sum of the sizes of the items in each U¡ is B or less?
Instance: A finite set U of items, a size s(u) that is a positive even integer for each u ∈ U, a positive integer bin capacity B, and a positive integer K, where ∑ u ∈ U s(u) = BK.
Question: Is there a partition of U into disjoint sets U1, U2, ... ,Uk such that the sum of the sizes of the items in each U¡ is precisely B ?
q = 2 max K, [ β^(1/3) ] )
T = (2q - 1)(n - 2)
n = q (2q + 1) + 2