A Tight Double-Exponential Lower Bound for High-Multiplicity Bin Packing
Abstract
Consider a high-multiplicity Bin Packing instance with distinct item types. In 2014, Goemans and Rothvoss gave an algorithm with runtime for this problem [SODA’14], where denotes the encoding length of the instance . Although Jansen and Klein [SODA’17] later developed an algorithm that improves upon this runtime in a special case, it has remained a major open problem by Goemans and Rothvoss [J.ACM’20] whether the doubly exponential dependency on is necessary.
We solve this open problem by showing that unless the Exponential Time Hypothesis (ETH) fails, there is no algorithm solving the high-multiplicity Bin Packing problem in time . To prove this, we introduce a novel reduction from 3-SAT. The core of our construction is efficiently encoding all information from a 3-SAT instance with variables into an ILP with variables and constraints.
This result confirms that the Goemans and Rothvoss algorithm is essentially best-possible for Bin Packing parameterized by the number of item sizes in the context of XP time algorithms.
Keywords and phrases:
Bin Packing, Lower Bound, Computational Complexity, ETHCategory:
Track A: Algorithms, Complexity and GamesCopyright and License:
2012 ACM Subject Classification:
Theory of computation Fixed parameter tractabilityAcknowledgements:
We thank Alberto Del Pia and Timo Berthold for discussions on constraint linearization and Stefan Weltge for pointing us to the references [24, 35]. The idea for this work originated during a visit of Klaus Jansen to the MPI – INF Saarbrücken in 2024.Funding:
Funded by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) – Project number 453769249.Editors:
Sayan Bhattacharya, Danupon Nanongkai, Michael Benedikt, and Gabriele PuppisSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
The Bin Packing problem is a classic optimization problem with many applications.
Definition 1 (Bin Packing).
Given are item types with sizes and multiplicities . The Bin Packing problem asks to find the minimum number of bins of size to pack all items.
The Bin Packing problem is also known as the (1-dimensional) Cutting Stock problem, and its study goes back to the classical paper by Gilmore and Gomory [9]. While the problem is strongly NP-hard in general, a major research direction has focused on parameterized algorithms for the high-multiplicity setting, where is assumed to be a small parameter. A breakthrough result in this area came in 2014 from Goemans and Rothvoss [11], who proved that it is solvable in polynomial time for constant . This answered an open question posed by McCormick, Smallwood and Spieksma [33], as well as by Eisenbrand and Shmonin [6].
To obtain their result, Goemans and Rothvoss [11] study the more general Cone and Polytope Intersection problem, defined as follows: Given two polytopes : Is there a point in that can be expressed as a non-negative integer combination of integer points in ? They gave an algorithm for this feasibility problem with time complexity , where denotes the encoding length of a polytope . Additionally, they show how to construct a Cone and Polytope Intersection instance from any Bin Packing instance. In this transformation, (the knapsack polytope) contains all possible configurations (i.e., multiplicity vectors of items that fit into a single bin), and is constructed to encode the target item vector and the number of bins . Using binary search over , this yields an algorithm for Bin Packing with runtime , where denotes the encoding length of the instance. For the encoding length is , where .
This result was later improved by Jansen and Klein [17]. They gave an algorithm with time complexity , where is the set of vertices of the corresponding integer knapsack polytope. This result improves upon the algorithm in [11] if the number of vertices is small. Since , this gives a Fixed-Parameter Tractable (FPT) algorithm parameterized by the number of vertices in the integer knapsack polytope. On the other hand, the number of vertices can be bounded only by [3, 12]. Therefore, the algorithm by Jansen and Klein has a worst case running time which is identical to the running time of the algorithm by Goemans and Rothvoss.
Goemans and Rothvoss [11] wrote in their journal paper:
“A natural open problem that arises from this work is whether the double exponential running time is necessary.”
In addition to this question, they asked whether Bin Packing can be solved in FPT time , where is an arbitrary function.
Recent work has highlighted the inherent complexity related to this parameterization. Kowalik, Lassota, Majewski, Pilipczuk, and Sokolowski [28] studied the Point in Cone problem, a special case of the Cone and Polytope Intersection problem where the second polytope consists of just one point . They showed that a double exponential dependency on is unavoidable under the Exponential Time Hypothesis (ETH) when has an exponential number of inequalities. This results in an ETH-tight lower bound.
Definition 2 (ETH, [15]).
The ETH conjectures that 3-SAT cannot be solved in subexponential time. Specifically, there exists a constant such that no algorithm can solve 3-SAT with variables in time .
As proven in [16], this implies that there is no algorithm for 3-SAT with running time , where denotes the number of clauses in the formula; see also Theorem 14.4 in [4].
Furthermore, the structure of solutions to the Bin Packing problem with item sizes is known to be complex. Eisenbrand and Shmonin [6] proved via an elegant combinatorial argument that there is always an optimal solution for Bin Packing with a support (the number of distinct configurations needed) bounded by . Recently, Jansen, Pirotton, and Tutas [22] showed that the support of any optimal solution in a Bin Packing instance can be exponential in . This structural hardness provides further evidence that a double exponential runtime may be optimal.
Our Contribution
We answer the open problem above by confirming that the double exponential runtime in Goemans and Rothvoss [11] is necessary for Bin Packing, assuming the ETH. Thus, their algorithm is asymptotically optimal regarding XP time algorithms parameterized by .
Theorem 3.
There is no algorithm solving high-multiplicity Bin Packing with distinct item sizes in time , unless the ETH fails.
We note that this does not answer whether Bin Packing is FPT with respect to . However, our result shows that any algorithm with runtime must have .
To achieve this result, we reduce 3-SAT with variables to Bin Packing using an Integer Linear Program (ILP) formulation. While introducing new techniques that might also be interesting to achieve other lower bounds, we make use of known results and adapt them for our purpose. We now briefly describe the key components of our reduction.
First, we demonstrate that we may assume each variable in our 3-SAT instance occurs exactly twice positively and once negatively. This technique is an extension of [36] where only the number of occurrences of a variable is restricted to three, regardless of literal polarity. Next, we encode the instance in a single integer with bounded size, similar to [18, 20, 24, 30, 35]. In contrast to the prior results, our encoding enables us to efficiently extract information from this number. More precisely, using just ILP variables and constraints, we are able to extract the clause numbers in which a variable appears. This idea stems from a discussion with Weltge. In their work [24], Kaibel and Weltge study lower bounds on sizes of ILPs without additional variables.
Altogether, we construct an ILP that only allows a certain set of solutions. These solutions are carefully constructed as they will correspond to specific Bin Packing configurations that, with a certain target vector, can model a feasible assignment to 3-SAT. Some of the constraints are already given in [22]. However, their ILP is not able to model 3-SAT. To achieve this property, we have to ensure that a single 3-SAT variable cannot be set both negatively and positively at the same time. While other reductions [18, 28, 35] also use ILP encodings, we manage to achieve a more compact encoding where the number of variables and equality constraints is only logarithmic in and the ILP allows specific solutions. For instance, the number of inequality constraints in the reduction from Subset Sum with Multiplicities to Point in Cone by [28] is linear in (and exponential in ).
To transform our ILP into a Bin Packing instance, we use the aggregation technique in [22]. Then, we determine the satisfiability of 3-SAT by solving a family of Bin Packing instances, denoted as . Here is a vector containing additional, in polynomial time computable, information of a valid 3-SAT solution; for example, the component represents how many variables are set to false.
The compact encoding of 3-SAT and the construction of feasible solutions allow us to translate the lower bound for 3-SAT into the desired lower bound for Bin Packing. It is worth noting that we require the sizes of the Bin Packing instance to be encoded in binary due to large item sizes. We firmly believe that this reduction technique, particularly the flexible encoding via an ILP, is of independent interest. It demonstrates a powerful pattern for establishing lower bounds that can likely be adapted to prove similar results for other problems, such as for high multiplicity ILPs with few constraints, -dimensional knapsack, multiple knapsack, scheduling problems, and high multiplicity block structured -fold and -stage ILPs. Other examples of a double exponential lower bounds under the ETH are given in [5, 7, 14, 18, 27, 28, 29, 31].
2 Preliminaries
Before presenting our main result, we establish the notation, definitions, and concepts used throughout the paper. For , we define and . For a vector , we denote its components by . We also use a convenient notation for vectors. For example, if and , then denotes the vector . As our reduction is from 3-SAT, we formally define this problem here:
Definition 4 (3-SAT).
Given boolean variables and a boolean formula , where each clause consists of at most three literals, e.g., . A literal is either a variable or its negation for some . The 3-SAT problem asks whether there exists an assignment that satisfies the formula .
The concept of a well-structured 3-SAT instance is central to many reductions in complexity theory, especially when aiming for tight lower bounds. Tovey [36] introduced a transformation that converts any 3-SAT instance into an equivalent one with at most occurrences per variable. We use a slight extension of this transformation to obtain instances where each variable appears exactly twice positively and once negatively. Similar transformations have also been used in other reductions [2, 21].
Lemma 5 (✀, Well-Structured 3-SAT; Extension of [36]).
Given any instance of 3-SAT with variables and clauses, there exists an equivalent instance with variables and clauses, where each variable has exactly two positive appearances in the clauses and exactly one negative appearance.
Proof.
A formal proof is given in the full version for completeness.
In this work, we construct a non-trivial ILP. Whenever a constraint is indexed by a solid star (e.g., ★ C1), it indicates that the constraint is nonlinear. Similarly, a non-solid star (☆) denotes a constraint that is linear but not yet in its equality form. We state these purely for readability. By applying standard techniques, such as adding slack variables or using the conversions captured in the next lemma, we transform them into linear equality constraints. The full set of final equality constraints is listed in Section B.2, where each unstarred constraint shares the exact same number as its starred counterpart in the main text (e.g., the final form of ★ C1 is C1).
Linearization of quadratic terms has been extensively studied in the context of quadratic programming (BQP) and quadratic integer programming (QIP) with the original work going back to [32]. Quadratic terms with Boolean and integer variables can be replaced using additional variables and/or inequalities; see also [8, 10, 32]. For example, if are both Boolean variables, then can be replaced by
If and and integral, then can be replaced by
We show how to linearize such terms without the introduction of new variables under certain conditions. The fact that we can linearize these constraints without introducing additional variables enables us to reason using equivalent nonlinear constraints.
Lemma 6 (✀).
The nonlinear equation involving integer variables with known bounds and binary variables with can be equivalently expressed using linear inequalities and no additional variables.
Proof.
We provide the proof of this lemma in the full version.
Another key concept at the core of our reduction is the ILP aggregation. For this, we have to transform each linear inequality constraint into one equality constraint through the introduction of slack variables. While the general concept of an ILP aggregation is not new, recently Jansen, Pirotton, and Tutas [22] presented a new technique allowing them to integrate upper bounds on variables into the aggregation. We summarize this result:
Lemma 7 ([22]).
Let . Consider an ILP , with , with , and and let be the largest absolute value in . The vector is a feasible integer solution to the ILP , if and only if there exists a unique such that is a feasible integer solution to
| (1) |
where and .
Proof Sketch.
Given an ILP of the form , we first replace the external upper bounds by constraints , while introducing non-negative integer slack variables . Additionally, we add a constraint that upper bounds the upper bounds, i.e. , with and . Next, we define the large base number that prevents carries when the constraints are aggregated. Now, we multiply each constraint by a power of , i.e., we multiply the first constraint by 1, the second one by , the third by and so on. Finally, we sum up all weighted equations to Equation 1.
Since is sufficiently large, each constraint can be seen as a single base- integer. Therefore, a feasible solution to the original ILP is also a feasible solution to the aggregated one (while adding the unique slack variables) and the two systems are equivalent.
For the full proof and the equivalence of both ILPs (i.e., is a feasible integral solution to , , if and only if is a feasible integer solution with to Equation 1), we refer to Section 3 in [22]. Note that this ILP aggregation is different to the technique in [19] where they reduce c-Unary Bin Packing, i.e., Unary Bin Packing with dimensions to Unary Bin Packing with one dimension. Here the authors prove that Unary Bin Packing is W[1]-hard, parameterized by the number of bins by first reducing Subgraph Isomorphism to 10-Unary Bin Packing and then using a reduction to Unary Bin Packing. This approach relies on sophisticated methods based on k-non-averaging sets and sumfree sets. Our reduction heavily relies on the extension of the ILP constructed in [22], thus we capture the main properties of their construction in the following lemma:
Lemma 8 (✀, [22]).
For any , there exists an ILP formulation , with exactly unique solutions that can be computed in polynomial time and where the first coordinates of each solution form the following set:
with , and .
Proof Sketch.
The above set of solutions can be represented by the following set of nonlinear constraints with :
| (★ C1) |
For the full list of linear constraints with the desired properties and the proof of correctness, we refer to Section B.2 (denoted as (C1)) and the original work [22], respectively.
3 Reduction from 3-SAT to Bin Packing
We aim to prove via reduction from 3-SAT to Bin Packing that there is no algorithm with a runtime of for Bin Packing, unless the ETH fails.
Consider an arbitrary 3-SAT instance with variables and clauses. We apply a series of simplifying transformations. First, by the Sparsification Lemma [15] we can assume that . Next, we apply Lemma 5, such that each variable now appears positively in exactly two clauses and negatively in exactly one clause. This transformation runs in polynomial time and does not significantly increase the number of variables and clauses, so we still have . Finally, to simplify the notation, we assume w.l.o.g. that the number of variables is a power of two. If is not for some integer , we repeatedly add a new variable and the trivially true clause until the number of variables is a power of two. Now denote this well-structured 3-SAT instance as .
In preparation for the reduction, we encode the 3-SAT instance in a single large integer . Similar techniques have been used in other reductions [18, 20, 24, 30, 35]; however, our encoding is structurally simpler than previous approaches. Furthermore, we efficiently extract specific information from ; to our knowledge, such a method has not been previously utilized.
The general idea is to construct a large (base ) integer with three dedicated “digits” for each variable that encode the clauses in which appears positively and negatively. To that end, let be the clauses where appears positively and let be the clause where appears negatively. We define , , and , with . Later, we will set ; however, for the following lemmas this is not required.
Lemma 9.
A well-structured 3-SAT instance with variables and clauses can be represented as an integer of size at most with , such that
| (2) |
The integer can be computed in polynomial time.
Proof.
First, we verify that . The expression for can be viewed as a number represented in base with digits. We obtain the following upper bound for
From the definition of a well-structured 3-SAT instance, we know that each variable appears in exactly three clauses: Twice positively (in the clauses ) and once negatively (in clause ). Note that these indices can be found in polynomial time by iterating through all clauses. Defining can be done by scanning over all clauses for all .
Next, we compute from these terms. The expression for can be computed efficiently using multiplications and additions. Let be the bit-length of and the terms. The computation involves a sequence of multiplications where the intermediate sum’s bit-length grows linearly. The -th multiplication for multiplies an intermediate sum of bits by . Using naive multiplication, this step takes time. The total sum for this summation is the sum of all steps, i.e.,
Substituting , this results in . This completes the proof. Note that the time complexity can be improved significantly by using the time multiplication algorithm by Harvey and van der Hoeven [13] and/or exploiting the fact that all involved terms are a power of two.
3.1 Construction of the ILP
The core of our reduction is an ILP formulation with a carefully crafted solution structure. Later, each solution of this ILP will correspond to one of five configuration types for the Bin Packing problem. These configuration types represent different ways a 3-SAT variable can satisfy clauses. The high-level idea is as follows: Suppose, for each we have to select exactly two of the following five solution types in such that the sum of all selected solutions equals a target vector .
Recall that are of the form , thus when is sufficiently large, the first coordinate of ensures that each clause is selected (satisfied) exactly once. The last two coordinates ensure a consistent assignment of the variables. We formally show this later.
In the remainder of this work, given an integer , we refer to the binary encoding of as , with .
The foundation of our ILP construction is the formulation in Lemma 8, which uses variables and constraints to create distinct solution vectors. Specifically, for each there exists a unique solution to (★ C1) where the variable and the variables represent the binary encoding of .
We extend the ILP given by (★ C1) as described in the following theorem:
Theorem 10.
Given a well-structured 3-SAT encoding as defined in Equation 2, there exists an ILP formulation with variable vector and right-hand side that has exactly solutions.
These solutions are partitioned into groups of , indexed by . For each index , the subvector takes exactly one of the following distinct assignments:
For each index , the corresponding subvector is uniquely determined (depending solely on and ) and is computable in polynomial time. Finally, the subvector always satisfies .
We achieve this result through the introduction of constraints, auxiliary variables , and 4 binary variables . For improved readability, we deviate from a strict component-wise notation (e.g. ) and will implicitly include all introduced auxiliary variables within the vector , unless explicitly stated otherwise. In particular, we include variables in constraint (★ C1) in this vector (e.g. ). The values of these variables are unique for fixed , as shown in [22]. For all newly introduced variables, we argue this property separately.
In order to construct the desired solutions for , the clauses relevant for the 3-SAT variable (i.e., ) need to be extracted from . We can achieve this efficiently since the variables already represent the binary encoding of , and thus describe the path through a binary search tree to reach the -th block of . This idea could also be useful to compactly encode other problems in ILP formulations. The following constraints extract the corresponding block from into a variable . Again, we list the equivalent linear constraints in Section B.2 and focus on the nonlinear version for improved readability. An example procedure is illustrated in Figure 1.
| (C2) | |||||
| (C3) | |||||
| (☆ C4) | |||||
| (★ C5) | |||||
For the proofs of Claims 11–13, we refer the reader to Section A.1.
Claim 11 (✀).
The constraints given in Equations C2–★ C5 ensure that contains exactly the block of corresponding to variable , i.e., for we get . Additionally, the values of all introduced variables are unique for fixed and .
Extracting the values into auxiliary variables can be done with the following constraints:
| (C6) | ||||
| (C7) | ||||
| (☆ C8) |
Claim 12 (✀).
The constraints given in Equations C2–☆ C8 ensure that the variables and match the corresponding values in the definition of in Equation 2 for a given , i.e., and . Additionally, the values of all introduced variables are unique for fixed and .
Using these auxiliary variables, we define the solution values for , as required by Theorem 10. This construction utilizes binary variables and integer variables :
| (★ C9) | ||||
| (★ C10) | ||||
| (C11) | ||||
| (☆ C12) |
Claim 13 (✀).
For , the constraints given in Equations C2–☆ C12 imply that
All other introduced variables are binary (part of ).
As established in Claims 11, 12, and 13, the desired properties for (see Theorem 10) can be enforced by a compact nonlinear system with variables and constraints. Our goal is to linearize this system while preserving its compact size. First, we address (★ C1), providing its equivalent linear formulation in Section B.2. For this specific subsystem, [22] showed that all variables remain unique for any fixed . This leaves the nonlinear constraints (★ C5), (★ C9), and (★ C10). We apply Lemma 6 to linearize these constraints without introducing any additional variables. Because no new variables are added during this process, the crucial uniqueness property established in Claims 11, 12, and 13 is preserved. A complete list of these final linearized constraints is provided in Appendix B. With this, we have proven Theorem 10.
3.2 Constructing the Bin Packing Instance
In the previous section, we showed how to construct a compact ILP, allowing only very specific solution vectors (see Theorem 10). Now, we show how to construct a Bin Packing instance from this ILP.
First, we aggregate the ILP from Theorem 10 into an ILP with a single knapsack constraint. To this end, we use the aggregation technique in [22] that is stated in Lemma 7. The ILP from Theorem 10 contains inequality constraints, in order to apply Lemma 7, we first transform it into an ILP with equality constraints by introducing slack variables . We list the final equality constraints Equations C1–C12 in Section B.2 for the sake of completeness. Observe that since we introduce at most one slack variable per inequality, the number of variables and constraints remains in .
Applying the aggregation in Lemma 7 to the ILP of form , we obtain an ILP with a single linear constraint of the form where . Note that the aggregation adds extra slack variables to the slack variable vector . Thus, we still have . Recall, that contains three variables and is the variable vector containing all variables with unique values for any fixed (see Theorem 10).
Lemma 14 (✀).
The aggregated ILP of the form for has dimensions and . Furthermore, holds for every feasible solution .
The above lemma is a direct application of the technique from [22] (summarized in Lemma 7), therefore, we defer the proof of this lemma to the full version.
Note that the solution vectors satisfying the equation are exactly those of the above constructed ILP (those listed in Theorem 10).
We are now ready to construct a family of Bin Packing instances where . Each instance has item types, defined by the item size vector and bin capacity . Intuitively, this implies that for any feasible configuration , the inequation holds. We now set the item multiplicities such that a Bin Packing solution is forced to select specific configurations, as we will prove later (Lemma 16). We set , where each component is a vector, to be defined in the following paragraph. The first component is set to
| (3) |
Intuitively, this ensures that any solution with bins is guaranteed to (1) select each clause, and (2) correspond to a consistent assignment of 3-SAT variables . We formally prove this in Lemma 16.
Now, let denote the unique variable values for each ILP-variable in . Note that by Theorem 10 these values are unique for each and can be computed in polynomial time. For example, consider the variables appearing in (C2)-(★ C5). For fixed and , the values of , and can be calculated by Euclidean divisions. We then set
| (4) |
Let now be any set of solutions to . For any variable (e.g., ), we define as the sum of its values across all solutions in : . The vector is composed of these summed values for each of the slack variables in . The value of each component can be calculated from the known values of the other variables (i.e., ), since each constraint contains at most one slack variable.
We demonstrate how to calculate with the example of component in the first constraint of (C9):
Here is the single slack variable and is a known upper bound. Then:
Since is the only unknown, it can be calculated. We set by solving each of the constraints this way. Then, the multiplicities in instance are given by: . Note that the above construction ensures . We also note that while it is sufficient for our analysis to consider all possibilities for , the number of considered vectors could be reduced significantly. When considering the corresponding variables in the constructed ILP, we notice that , and count the number of times a clause is selected. Since we aim to choose all clauses, . A similar argument can be made for . This variable counts the usage of the first slack solution. This number can be calculated from . These two arguments bring the number of considered vectors from to since only and need to be guessed.
The polytope defining all feasible configurations in the Bin Packing instance is given by . We prepare our final proof by showing that each solution with at most bins uses only configurations that satisfy .
Claim 15.
Any solution to with at most bins uses only configurations that satisfy .
Proof.
First, note that by construction of , the total size of items is . Now, assume for the sake of contradiction that there exists a solution to the constructed Bin Packing instance with bins that uses a configuration with . Then, the remaining size of items is and thus cannot be packed into the remaining bins. A contradiction.
Now, define the set of feasible solutions to the constructed ILP as
Claim 15 implies that any Bin Packing solution uses only configurations . We are ready to prove the final lemma, stating that the 3-SAT instance is solvable if and only if there exists a solution to any of the Bin Packing instances . An illustration of a constructed Bin Packing instance is given in Figure 2.
Lemma 16.
Given an integer , the well-structured 3-SAT instance is a Yes-Instance if and only if there exists a such that has a solution with at most bins.
Proof.
Let the well-structured 3-SAT instance be given as in Lemma 5.
We first remember that due to the aggregation, there cannot be any carry-overs between the variable dimensions in the ILP. Therefore, when solving the Bin Packing instance, we ask how many configurations of each type to use i.e., we solve the linear combination
For the remainder of this proof, we will refer to , , and as clause-paying vectors and to and as slack vectors. Similarly, we refer to , , and as clause-paying coefficients.
"": We start with the “if” direction and assume that there exists a satisfying assignment for the 3-SAT instance. First, define a satisfier function , such that the following conditions hold:
-
is a literal that appears in the clause and
-
the literal evaluates to true when applying i.e., .
Since is a satisfying assignment, such a function exists.
For each variable , let be the indices of the clauses where appears positively and negatively, respectively, i.e., , and . Now, we set the coefficients for each variable as follows:
Case 1: (). Set if and similarly if . Additionally, set . All other coefficients are set to 0.
Case 2: (). If , then set and . Otherwise, set . All other coefficients are set to 0.
We must now verify that the constructed linear combination produces the target vector. For the first component, note that by construction each clause-paying coefficient (i.e., , and ) is set to 1 if and only if its corresponding literal was chosen by the satisfier function . Since selects exactly one literal for each clause, the sum correctly evaluates to . For the second component, we have ensured by construction of the linear combination that for each variable , . Thus, the sum evaluates correctly to . The third component counts the usage of slack vectors (i.e.,). By construction, for each , resulting in vector selections in total. Since of those are clause-paying (i.e.,), the number of selected slack vectors must be . It remains to show the equality for the remaining components (namely ). By construction, where denotes the vector of unique variables for any fixed . The constructed linear combination chooses exactly two vectors for each variable , therefore is hit exactly. The components have binary values in due to Theorem 10, thus they sum up to some value . Let now be the correct vector. Then is by construction correct for any combination of solutions to , as argued in the construction of .
"": For the “only if” direction, assume that there exists a non-negative integer linear combination of the vectors that produces the target vector for some .
The satisfying assignment can now be constructed as follows for each variable :
We must now show that satisfies all clauses.
We first observe that since there are no carries between the powers of in the first two components. Indeed, the constraint implies for each and . Since the maximum coefficient in the second components is , the maximum contribution to the -th power of in each component is . Note that this argument also holds for the first component since in any well-structured 3-SAT instance, each variable appears in at most three clauses, and thus .
The first component of the vector equation is
| (5) |
Remember that the terms are of the form for some integer and all are non-negative integers. Then, for each clause , there must exist exactly one , that is equal to 1. It remains to show that for each : , i.e., if is set to false, it is only used to satisfy the clause in which it appears negatively. To this end, consider the second component of the vector equation
| (6) |
Again, since , there are no carries between the powers of . Thus, for each , we must have . This implies that if , then . Therefore, the assignment is well-defined.
3.3 Putting It All Together
Theorem 3. [Restated, see original statement.]
There is no algorithm solving high-multiplicity Bin Packing with distinct item sizes in time , unless the ETH fails.
Proof.
Let be a well-structured 3-SAT instance with variables. We transform into a family of Bin Packing instances as in Lemma 16. The encoding length of each instance is defined as . By Lemma 14 we have: item types and bin capacity . Since the amounts are constructed to be the sum of solutions to the ILP, we have
Thus, with , the encoding length of each constructed Bin Packing instance is .
4 Conclusion
Our result still leaves unresolved the central open problem of whether there exists an FPT algorithm for Bin Packing parameterized by . Goemans and Rothvoss [11] as well as Mnich and van Bevern [34] posed it as an open problem whether bin packing with item sizes can be solved in time , where is an arbitrary function. Interestingly, an FPT algorithm using at most bins is known by Jansen and Solis-Oba [23].
Our techniques might be of interest when proving double exponential lower bounds for other high-multiplicity scheduling problems [11] or high-multiplicity n-folds [11, 25, 26]. Forall-exist statements are also tightly connected to this topic. In such problems, we are given a convex set and an integer matrix . A major open problem is whether any algorithm solving such that must necessarily have double-exponential running time in [1].
References
- [1] Eleonore Bach, Friedrich Eisenbrand, Thomas Rothvoss, and Robert Weismantel. Forall-exist statements in pseudopolynomial time. In SODA, pages 2225–2233. SIAM, 2025. doi:10.1137/1.9781611978322.73.
- [2] Piotr Berman, Marek Karpinski, and Alexander D. Scott. Computational complexity of some restricted instances of 3-sat. Discret. Appl. Math., 155(5):649–653, 2007. doi:10.1016/j.dam.2006.07.009.
- [3] William J. Cook, Mark Hartmann, Ravi Kannan, and Colin McDiarmid. On integer points in polyhedra. Comb., 12(1):27–37, 1992. doi:10.1007/BF01191202.
- [4] Marek Cygan, Fedor V. Fomin, Lukasz Kowalik, Daniel Lokshtanov, Dániel Marx, Marcin Pilipczuk, Michal Pilipczuk, and Saket Saurabh. Parameterized Algorithms. Springer, 2015. doi:10.1007/978-3-319-21275-3.
- [5] Marek Cygan, Marcin Pilipczuk, and Michal Pilipczuk. Known algorithms for edge clique cover are probably optimal. SIAM J. Comput., 45(1):67–83, 2016. doi:10.1137/130947076.
- [6] Friedrich Eisenbrand and Gennady Shmonin. Carathéodory bounds for integer cones. Oper. Res. Lett., 34(5):564–568, 2006. doi:10.1016/j.orl.2005.09.008.
- [7] Fedor V. Fomin, Petr A. Golovach, Daniel Lokshtanov, Saket Saurabh, and Meirav Zehavi. Clique-width III: hamiltonian cycle and the odd case of graph coloring. ACM Trans. Algorithms, 15(1):9:1–9:27, 2019. doi:10.1145/3280824.
- [8] Robert Fortet. Applications de l’algebre de boole en recherche opérationelle. Revue Française de Recherche Opérationelle, 4(14):17–26, 1960.
- [9] Paul C Gilmore and Ralph E Gomory. A linear programming approach to the cutting-stock problem. Operations research, 9(6):849–859, 1961. doi:10.1287/opre.9.6.849.
- [10] Fred W. Glover and Eugene Woolsey. Technical note - converting the 0-1 polynomial programming problem to a 0-1 linear program. Oper. Res., 22(1):180–182, 1974. doi:10.1287/opre.22.1.180.
- [11] Michel X. Goemans and Thomas Rothvoss. Polynomiality for bin packing with a constant number of item types. J. ACM, 67(6):38:1–38:21, 2020. doi:10.1145/3421750.
- [12] Mark E. Hartmann. Cutting planes and the complexity of the integer hull. Technical report, Cornell University, September 1988. URL: https://hdl.handle.net/1813/8702.
- [13] David Harvey and Joris van der Hoeven. Integer multiplication in time o(nlog n). Annals of Mathematics, 193(2):563–617, 2021. doi:10.4007/annals.2021.193.2.4.
- [14] Christoph Hunkenschröder, Kim-Manuel Klein, Martin Koutecký, Alexandra Lassota, and Asaf Levin. Tight lower bounds for block-structured integer programs. Math. Program., 2025. doi:10.1007/s10107-025-02296-z.
- [15] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? In 39th Annual Symposium on Foundations of Computer Science, FOCS, pages 653–663. IEEE Computer Society, 1998. doi:10.1109/SFCS.1998.743516.
- [16] Russell Impagliazzo, Ramamohan Paturi, and Francis Zane. Which problems have strongly exponential complexity? J. Comput. Syst. Sci., 63(4):512–530, 2001. doi:10.1006/jcss.2001.1774.
- [17] Klaus Jansen and Kim-Manuel Klein. About the structure of the integer cone and its application to bin packing. Math. Oper. Res., 45(4):1498–1511, 2020. doi:10.1287/moor.2019.1040.
- [18] Klaus Jansen, Kim-Manuel Klein, and Alexandra Lassota. The double exponential runtime is tight for 2-stage stochastic ilps. Math. Program., 197(2):1145–1172, 2023. doi:10.1007/s10107-022-01837-0.
- [19] Klaus Jansen, Stefan Kratsch, Dániel Marx, and Ildikó Schlotter. Bin packing with fixed number of bins revisited. J. Comput. Syst. Sci., 79(1):39–49, 2013. doi:10.1016/J.JCSS.2012.04.004.
- [20] Klaus Jansen, Felix Land, and Kati Land. Bounding the running time of algorithms for scheduling and packing problems. SIAM J. Discret. Math., 30(1):343–366, 2016. doi:10.1137/140952636.
- [21] Klaus Jansen and Haiko Müller. The minimum broadcast time problem for several processor networks. Theor. Comput. Sci., 147(1&2):69–85, 1995. doi:10.1016/0304-3975(94)00230-G.
- [22] Klaus Jansen, Lis Pirotton, and Malte Tutas. The support of bin packing is exponential. In 33rd Annual European Symposium on Algorithms, ESA 2025, LIPIcs, pages 48:1–48:16. Schloss Dagstuhl – Leibniz-Zentrum für Informatik, 2025. doi:10.4230/LIPIcs.ESA.2025.48.
- [23] Klaus Jansen and Roberto Solis-Oba. A polynomial time OPT + 1 algorithm for the cutting stock problem with a constant number of object lengths. Math. Oper. Res., 36(4):743–753, 2011. doi:10.1287/moor.1110.0515.
- [24] Volker Kaibel and Stefan Weltge. Lower bounds on the sizes of integer programs without additional variables. Math. Program., 154(1-2):407–425, 2015. doi:10.1007/s10107-014-0855-0.
- [25] Dusan Knop, Martin Koutecký, Asaf Levin, Matthias Mnich, and Shmuel Onn. Parameterized complexity of configuration integer programs. Oper. Res. Lett., 49(6):908–913, 2021. doi:10.1016/j.orl.2021.11.005.
- [26] Dusan Knop, Martin Koutecký, Asaf Levin, Matthias Mnich, and Shmuel Onn. High-multiplicity n-fold IP via configuration LP. Math. Program., 200(1):199–227, 2023. doi:10.1007/s10107-022-01882-9.
- [27] Dusan Knop, Michal Pilipczuk, and Marcin Wrochna. Tight complexity lower bounds for integer linear programming with few constraints. ACM Trans. Comput. Theory, 12(3):19:1–19:19, 2020. doi:10.1145/3397484.
- [28] Lukasz Kowalik, Alexandra Lassota, Konrad Majewski, Michal Pilipczuk, and Marek Sokolowski. Detecting points in integer cones of polytopes is double-exponentially hard. In 2024 Symposium on Simplicity in Algorithms, SOSA, pages 279–285. SIAM, 2024. doi:10.1137/1.9781611977936.25.
- [29] Marvin Künnemann, Filip Mazowiecki, Lia Schütze, Henry Sinclair-Banks, and Karol Wegrzycki. Coverability in VASS revisited: Improving rackoff’s bounds to obtain conditional optimality. J. ACM, 72(5):33:1–33:27, 2025. doi:10.1145/3762178.
- [30] Kenneth L. Manders and Leonard M. Adleman. Np-complete decision problems for quadratic polynomials. In Proceedings of the 8th Annual ACM Symposium on Theory of Computing, May 3-5, 1976, Hershey, Pennsylvania, USA, pages 23–29. ACM, 1976. doi:10.1145/800113.803627.
- [31] Dániel Marx and Valia Mitsou. Double-exponential and triple-exponential bounds for choosability problems parameterized by treewidth. In 43rd International Colloquium on Automata, Languages, and Programming, ICALP, volume 55 of LIPIcs, pages 28:1–28:15, 2016. doi:10.4230/LIPIcs.ICALP.2016.28.
- [32] Garth P. McCormick. Computability of global solutions to factorable nonconvex programs: Part I - convex underestimating problems. Math. Program., 10(1):147–175, 1976. doi:10.1007/BF01580665.
- [33] S. Thomas McCormick, Scott R. Smallwood, and Frits C. R. Spieksma. A polynomial algorithm for multiprocessor scheduling with two job lengths. Math. Oper. Res., 26(1):31–49, 2001. doi:10.1287/moor.26.1.31.10590.
- [34] Matthias Mnich and René van Bevern. Parameterized complexity of machine scheduling: 15 open problems. Comput. Oper. Res., 100:254–261, 2018. doi:10.1016/j.cor.2018.07.020.
- [35] Alexander Schrijver. Theory of linear and integer programming. Wiley-Interscience series in discrete mathematics and optimization. Wiley, 1999.
- [36] Craig A. Tovey. A simplified np-complete satisfiability problem. Discret. Appl. Math., 8(1):85–89, 1984. doi:10.1016/0166-218X(84)90081-7.
Appendix A Omitted Proofs
A.1 Proof of Claims 11–13
Claim 11 (✀). [Restated, see original statement.]
The constraints given in Equations C2–★ C5 ensure that contains exactly the block of corresponding to variable , i.e., for we get . Additionally, the values of all introduced variables are unique for fixed and .
Proof.
We show by induction over , that after search steps, the variable equals the integer represented by a contiguous subsequence of blocks and that this subsequence contains the -th block.
Base Case: Assume . Then, by Equation C2 we have, . As contains all blocks, this also holds for the -th block. The Euclidean division of Equation C3, in combination with the bound of remainder , ensures that both, the quotient and the remainder are unique. Note, that is now split into two integers and that represent two equal-sized subsequences.
Inductive Step: Let and assume that equals the integer represented by a contiguous subsequence of blocks and that this subsequence contains the -th block. For the same reason as stated in the base case, the Euclidean division gives unique values for and . Equation ★ C5 now simulates a case distinction. Take the -th bit of the binary representation of . If we keep the lower half, i.e., we set . If we keep the upper half, i.e., we set . In either case equals the concatenation of the blocks of the chosen half which contains exactly blocks as is a power of 2. Also, since is the binary representation of , the -th block remains in the selected half.
Finally, after steps, the subsequence consists of block which is the -th block, i.e., .
Claim 12 (✀). [Restated, see original statement.]
The constraints given in Equations C2–☆ C8 ensure that the variables and match the corresponding values in the definition of in Equation 2 for a given , i.e., and . Additionally, the values of all introduced variables are unique for fixed and .
Proof.
With Claim 11, we have . Equation C6 together with ensures as the Euclidean division separates the quotient and the remainder . Note that both values are unique for fixed and .
Equation C7 together with simulates another Euclidean division that now extracts the correct values for and . More concretely, we obtain the unique values and .
Claim 13 (✀). [Restated, see original statement.]
For , the constraints given in Equations C2–☆ C12 imply that
All other introduced variables are binary (part of ).
Proof.
Note that by [22], we have for given . We now make a case distinction over the value of . Since it is binary, we consider the following two cases.
Case 1.
Assume . Then the left-hand side of Equation C11 equals 0. This implies and therefore . With this, and Equation ★ C9, we get:
With Equation ★ C10, we get
Now, the inequality allows , thus:
Case 2.
Assume . Now, the left-hand side of Equation C11 equals 1. Therefore, exactly one of , and equals 1 and the other two equal 0. The inequality implies . With Equations ★ C9 and ★ C10, we get the following possibilities for and :
As this case distinction is exhaustive, there are no other possibilities. This completes the proof.
Appendix B Omitted Constraints
In this section, we give the linearized constraints referred to in Theorem 10. The constraints can be obtained through a direct application of Lemma 6 to Equation ★ C5 and Equations ★ C9 and ★ C10.
B.1 Linearization of Constraints (★ ☆)
B.1.1 Decoding Constraints (★ C5)
B.1.2 Clause Constraints (★ C9), (★ C10)
The linearization follows by applying Lemma 6, where is an upper bound for the involved variables. By construction, and . Therefore, we set :
| (☆C9) |
| (☆C10) |
B.2 Construction of Equality Constraints
In this section, we introduce slack variables to turn the linear constraints of the prior section into equations. We start by stating the linear equality constraints equivalent to Equation ★ C1.
B.2.1 Variable Constraints
See [22] for details and proofs. Our notation differs slightly: we renamed some variables and, unlike [22], is the most significant bit in .
| (C1) |
The lower bound of each variable is 0. The largest upper bound of the variables is . Also, the absolute values of the coefficients and the right hand sides of these constraints are upper bounded by .
B.2.2 Decoding Constraints
The constraints in Equations ☆ C4, ☆C5, and ☆ C8 can be transformed into equality constraints through the introduction of slack variables for all .
| (C2) | |||||
| (C3) | |||||
| (C4) | |||||
| (C5) |
| (C6) | ||||
| (C7) |
| (C8) |
Again, each variable is lower bounded by 0. The upper bounds can be set as follows:
Both, the largest absolute value of the coefficients and the right-hand side is (Equation C5).
B.2.3 Clause Constraints
Finally, the constraints in Equations ☆C9–☆ C12 can be transformed into equality constrains through the introduction of slack variables for each .
| (C9) |
| (C10) |
| (C11) | ||||
| (C12) |
As usual, the lower bound of the variables is 0. We can set the upper bounds to:
Here, the largest absolute value of the coefficients and the right-hand side is (Equations C9 and C10).
