Manuscript Offprint
arXiv:2610.32367Tightening the Online Bin Packing Gap from Both Sides, and the Limits of the Current Methods
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
The asymptotic competitive ratio of online bin packing has been bracketed since 2018 by the lower bound 1.54278 of Balogh, Békési, Dósa, Epstein and Levin and the upper bound 1.57829 of their Advanced Harmonic algorithm. We revisit both sides with exact rational computation and prove what the computations say. On the upper bound, we rebuild the certification of Advanced Harmonic as an exact optimization: the published analysis only exhibits feasible dual values and shares over-assigned weight tables across scenario groups, and optimizing the duals exactly already certifies a ratio strictly below the published one with the published parameters. Re-tuning the algorithm's proportion parameters then gives a certified asymptotic competitive ratio of 1.5782147437 (an exact rational), independently re-verified on all 402 scenarios; to our knowledge this is the first movement of the upper bound since 2018. On the lower bound, we prove that the 2018 adversary construction is rigid: extending it by any finite number of new batches of ordinary size (outside the window of sizes s with and rational part at most 0.64819), placed anywhere, with counts depending on the observed statistics, adaptive or not, never improves the bound at any truncation level, and the extended family has exactly the paper's limit. The load-bearing fact is that the construction is volume-tight at every stop. A single window-sized batch added to the truncation-3 tree is shown, by finitely many machine-verified certificates, to leave its value below the published limit. A computational map covers the remaining natural extensions: unions of the main structural variants are bracketed exactly inside the paper's own value bracket; multi-batch two-statistic adversaries and three natural families of adaptive conditions that the paper's own separation theorem legalizes but never uses are screened just above the paper's value, and none passes, for identifiable reasons. On the algorithm side we show that the marking, bonus-item and red-sand mechanisms of Extreme Harmonic bind nowhere in Advanced Harmonic, whose bottleneck is a two-medium-item bin that no known mechanism targets, and that the tuned parameters are a local optimum of the natural move set up to the resolution of the screen. We record two corrections to commonly cited numbers. The picture that emerges is that both bounds now sit at the edge of what their frameworks can express.
1 Introduction
In online bin packing, items of sizes in arrive one at a time and must be irrevocably assigned to unit-capacity bins; the goal is to use few bins. The asymptotic competitive ratio of an algorithm ALG is the infimum of such that for every input . The best known bounds on the optimal ratio are a lower bound of 1.5427809..., proved by Balogh, Békési, Dósa, Epstein and Levin [1] with a branching, partly adaptive adversary, and an upper bound of 1.57829, achieved by their Advanced Harmonic algorithm [2]. Both are from 2018; the gap has not moved since.
This paper reports what happens when both sides are attacked with exact machine computation, and then proves the structural statements that the computations reveal. Our contributions are the following.
-
An improved upper bound, exactly certified. We rebuild the Advanced Harmonic analysis as an exact per-scenario optimization over its dual variables. With the published parameters this certifies (an exact rational, Theorem 3.1), strictly below the published 1.5782895555\ldots; the slack comes from the paper's use of feasibility-only duals and of weight tables shared across groups of scenarios. Re-tuning the algorithm's proportion parameters within the constraints of the analysis then gives a certified ratio of 1.5782147437\ldots (Theorem 3.2), re-verified by an independently written checker on every scenario with zero failures. The tuned parameters are a local optimum of the natural move set up to the screen's resolution of (Section 3.4).
-
Rigidity theorems for the lower-bound construction. We prove that the 2018 construction is volume-tight at every stop (Lemma 4.1), and derive from it that no extension by finitely many new batches of ordinary size, placed anywhere with counts depending on the observed statistics, adaptive or not, improves the bound at any truncation level (Theorem 4.2); the extended family has exactly the paper's limit (Corollary 4.3), so any improvement by added batches must use an item in the window, the sizes with lexicographically and (Corollary 4.4). For a single window batch added to we give finitely many machine-verified certificates placing the value below (Theorem 4.5).
-
A computational map of the remaining extensions. Unions of the main structural variants of the construction are bracketed exactly inside the paper’s own value bracket at t = 3. Multi-batch adversaries with a second adaptive statistic, searched over compositions of moves ( two-statistic trees), and three natural families of adaptive conditions that the paper’s separation theorem allows but never uses, are screened by an exact feasibility check above the paper’s value, and none passes. We identify the mechanism in each case (Section 5).
-
Negative results with mechanisms on the algorithm side. The marking constraint of Extreme Harmonic, transplanted into Advanced Harmonic's analysis as a sound distribution LP, has zero dual value in every scenario tested; the bonus-item and red-sand mechanisms target the same critical bins. Advanced Harmonic's binding configurations are instead two-medium bins, which no known mechanism addresses (Section 6).
-
Two corrections. The fixed-fraction floor of Heydrich and van Stee is 1.5762 in the full version of their paper (1.5766 appears only in the conference abstract), and whether that floor formally covers Advanced Harmonic is not established anywhere in print (Section 7).
We are explicit about the character of each result. The upper-bound improvement is a certificate- and parameter-level improvement inside a fixed algorithmic framework; it moves a number that had not moved in eight years, but it is not a new mechanism. The lower-bound results are structural theorems about the 2018 construction, and, we believe, the first statements of any kind about the optimality of an online bin packing lower-bound construction within its method (Section 7). Together they locate both bounds at the boundary of their frameworks and say precisely what a further improvement must contain.
2.1 Adversary trees and the behaviour LP
Following [1], a lower-bound instance is a rooted tree of batches. Each batch presents items of one size class, where is a scale parameter; the adversary may stop after any batch , at which point is compared with , and at a node with several children exactly one continuation is presented (branching). A batch may be adaptive: by the separation theorem of [1, Theorem 1], the adversary can choose item sizes from an infinitesimal interval so that the items satisfying a binary condition on how they were packed are all smaller, by any prescribed factor, than the items violating it. The paper instantiates the condition as “the item is packed into a bin that already contains at least one item”, so the bin-opening items form the large class; the fraction n of items in the large class is a statistic observed by the adversary, and later batch counts may be affine in n.
For a fixed target , the algorithm’s possible behaviours form a linear program over virtual-bin patterns: a pattern fixes a bin’s contents on every continuation simultaneously, feasibility being checked per root-to-leaf path in the limit. Coverage constraints, the statistic identity, and one ratio row per stop define the behaviour LP; the value of the tree is
OPT is the fractional covering optimum, which differs from the true optimum by an additive constant. As a function of the statistic vector, OPT is convex piecewise-linear; on each simplex of an adaptively refined triangulation it is bounded above by the linear interpolant of its vertex values, constructively (the convex combination of the vertex packings covers the interpolated demands). Infeasibility on every simplex, certified by a Farkas vector, proves .
The 2018 construction consists of a prefix chain of batches at scales , an adaptive batch of items near , and three continuations under : a single batch of items above ; a chain of items near then near ; and a chain of two complement batches with sizes and whose counts are affine in the statistic. Its value is , with , , increasing to . Sizes are represented as lex-infinitesimal numbers with rational coefficients, and every comparison is understood for all sufficiently small , exactly as in the -ledger of [1].
2.2 Advanced Harmonic and its scenario analysis
Advanced Harmonic [2] classifies items into size classes with boundaries and a tiny class below . Items of class are placed into containers of several types in target proportions , with , for every , and strictly positive proportions for the tiny class. Containers are positive or negative and are combined into bins by fixed compatibility rules, with a postponement mechanism for certain decisions. The analysis fixes a scenario determined by the sizes of the last large items, assigns each item a weight that is affine in three dual parameters subject to four linear constraints, and bounds the ratio in that scenario by the maximum total weight of any bin of the optimal solution, computed by two exact knapsack problems (one with, one without a huge item) over the weights, with tiny items entering as “sand” of a fixed density. The asymptotic competitive ratio is bounded by . The paper states that its analysis has 412 scenarios; our enumeration has 402. The discrepancy is in the paper’s prose, not in the scenario set: the paper’s own tables list 34 non-large and 164 large-threshold scenario rows besides the 160 uniform ones, with the 44 scenarios below 1/6 untabulated, and the authors’ published supplement of weight functions contains exactly 402 tables, one per scenario, whose intervals coincide with our enumeration interval for interval (checked by script against the paper’s source). Every certificate below is therefore for the scenario set of the published analysis. The validity theorem of [2] is parametric: it holds for every proportion table satisfying the constraints above and for every feasible .
3 The upper bound
3.1 Exact certification as an optimization
We implemented the full analysis in exact rational arithmetic: all 212 class boundaries, the complete proportion table (with the sum constraints asserted), the scenario enumeration, the affine weights, and exact branch-and-bound knapsacks with sand. For each scenario, instead of exhibiting feasible dual values, we solve
by a cutting-plane method whose pricing step is the exact knapsack itself: a violated pattern is separated, added as a cut, and the LP re-solved, until the knapsack maximum at the current equals the LP value. All LPs are solved exactly over the rationals.
We validated the implementation against [2] on six reference scenarios, reproducing the published per-scenario bounds to 10–11 digits, including the exact binding fraction 10 060 574 276 093 395 247 / 6 374 352 691 333 693 440, and by reproducing two complete published weight tables entry by entry. Two facts learned in the process explain the slack in the published certificates: the published tables use one over-assigned weight function shared by a whole group of scenarios, tight only at the worst member of the group; and the published duals are feasible values found by search rather than optima.
Theorem 3.1 (published parameters, optimal duals). With the proportion table of [2], the asymptotic competitive ratio of Advanced Harmonic is at most
strictly below the published certificate 10 060 574 276 093 395 247 / 6 374 352 691 333 693 440 = 1.5782895555 ... (the commonly cited 1.57828956 is a round-up).
The improvement is ; it is small because the published analysis was already nearly tight at its binding scenarios. The binding scenarios at this point are , and , followed by a plateau of scenarios in at 1.5782015....
3.2 Re-tuning the proportions
Since the validity theorem is parametric in the proportion table, the table can be optimized against the exact certificates. We ran a coordinate descent over a move set of 40 proportion shifts (mass moved between two container types of one class, for the classes whose items appear in the binding patterns, a shift applied uniformly to the 160 classes between 1/6 and 1/3, and opening a previously unused container type for the class (3/7, 1/2]), evaluating each candidate by the exact per-scenario optimization on a watchlist of the 47 hardest scenarios, and periodically on all 402. Descent stalls when the three binding scenarios are equalized: after 11 shifts they balance at 1.5782206488..., and after 16 shifts at the value below, where (3/7, 1/2], (533/1600, 1/3] and (49/320, 1/6] agree to seven decimal places, the signature of a genuine optimum of the move set.
Theorem 3.2 (tuned parameters). There is a proportion table satisfying all constraints of the analysis of [2] (all rows sum to one, all entries nonnegative, all tiny-class entries strictly positive; checked exactly) for which the asymptotic competitive ratio of Advanced Harmonic is at most 4 352 511 675 791 652 445 491 291 971 161 065 859 763 057 971 646 201 076 221 224 375 333 444 301 / 2 757 870 367 885 430 623 246 395 267 379 223 653 471 665 545 153 623 399 543 807 051 482 071 748
The improvement over the 2018 certificate is , about of the current gap width. The table differs from the published one in 15 classes (the class of items just below ; the classes near , , , and ; and several small classes) and in the tiny class.
Table 1: Progression of certified upper bounds (all exact rationals; all re-verified).
| Step | Certified ratio | Change |
|---|---|---|
| Published certificate [2] | 1.5782895555 | — |
| Published parameters, optimal duals (Thm 3.1) | 1.5782893074 | exact dual optimization |
| One proportion balanced | 1.5782830233 | first shift |
| 10 shifts | 1.5782238110 | descent |
| 11 shifts (three scenarios balanced) | 1.5782206488 | descent, local optimum of 20 moves |
| 16 shifts (Thm 3.2) | 1.5782147437 | descent, local optimum of 40 moves |
3.3 Verification
Every certified value in Table 1 was obtained by a full sweep of all 402 scenarios and then re-checked by an independently written verifier that re-derives the weights from the parameters with fresh arithmetic and re-examines every pattern by an exhaustive density-ordered knapsack that makes no maximality assumption, comparing the stored against the claimed . It reported zero failures for every value. The certificates (per-scenario duals and binding patterns) are stored with the code (Appendix B).
3.4 Local optimality of the tuned table
To test whether the descent optimum was an artifact of slow evaluation, we built an exact feasibility screen: for a fixed target the same cutting plane decides whether some feasible has every pattern weight at most , with two sound early exits (the LP value over any subset of cuts is a lower bound on the optimum, so exceeding certifies infeasibility; an iterate whose exact knapsack maxima are all at most certifies feasibility by itself). The screen was validated against the exact optimizer on the three binding scenarios and five random scenarios at (11/11 agree). A randomized walk over the 40-move set from the tuned table, accepting a candidate only if all 36 watchlist scenarios pass the screen at the incumbent minus , evaluated 327 candidates with ratcheting from down to and accepted none; every rejection occurred at (3/7, 1/2]. No single move of the set therefore improves the watch maximum by or more at any step size tried. That is the precise statement: resuming coordinate descent from the tuned table accepts three moves, each improving by less than that margin, and reaches 1.5782147417 on the watch list, a value not carried through the full sweep and not claimed. A separate boundary-insertion experiment (adding a class boundary with the paper's bulk proportions) was uniformly worse (1.58–1.61).
4 Rigidity of the lower-bound construction
4.1 Two ingredients
Throughout, for a fixed , and is a rational with , which exists because strictly. All statements of this section are about the behaviour LP of Section 2.1, that is, in the limit: a behaviour is a vector of pattern masses per items, is the fractional covering optimum over lex-feasible patterns, and the volume of a multiset is the sum of its counts times the rational parts of its sizes. Two facts hold exactly there: , because every lex-feasible pattern has rational load at most one, and .
Lemma W (witness). For every there is a behaviour for , with its statistic fixed at some , such that at every stop .
Proof. This is the definition of .
Lemma 4.1 (volume-tightness). For every stop v of and every value of the statistic, exactly in the behaviour LP, where is the volume of the items presented up to v; for concrete inputs this reads .
Proof. Lemmas 3 and 4 of [1] exhibit packings of every stop's items with no wasted space up to . We re-verified the statement exactly for : at each of the eight stops and at eleven values of the statistic across its full range, the exact fractional optimum equals the rational part of the volume with gap zero.
Lemma 4.1 is the whole reason for what follows. It is a design feature of [1] (its “new approach to sizes” chooses sizes so that every prefix packs perfectly, which makes OPT as small as possible and hence the ratio as large as possible), and it is not shared by the earlier constructions: after the first batch of Yao’s sequence [7], the optimum packs six items of size just above 1/7 per bin and wastes about a seventh of each bin, and it was exactly by adding batches to such constructions that the lower bound progressed from 1980 to 2018. The next theorem says that the feature which makes the 2018 construction strong is the feature that makes it rigid.
4.2 The multi-batch theorem
Partition the sizes by three conditions on the rational part , with one lexicographic condition: ; and ; two items fit in a bin); . Since for , and overlap and together cover every size with . The sizes covered by none of them form the window . A size is admissible if it is not in the window.
An admissible extension of inserts finitely many new batches , each attached anywhere (as a new leaf child of any node, as a child of another new batch, or spliced into an existing edge so that the old continuation follows it), each holding count items where count is an affine function of the statistics observed before , as in Section 2.1 (the proof uses only that it is a nonnegative number determined by the behaviour), each with one or more size classes (several if is itself adaptive, differing only in infinitesimal terms as the separation theorem provides, hence with a common rational part ) all lying in the same one of , , . The adversary may stop after any batch, old or new. may carry its own statistic on which later counts depend. The original batches, their sizes and the condition defining the original statistic are unchanged; an extension that alters them is a different object, treated computationally in Section 5.4.
Theorem 4.2. For every , every and every admissible extension of : .
Proof. Take the witness of Lemma W with statistic . We construct a feasible behaviour for at directly in pattern space, in two parts. (i) Every pattern of is kept with its mass. As a pattern of it contains no new item, so it is lex-feasible on every continuation, covers the original batches exactly as before, and keeps the original statistic at ; hence the original batches have the same sizes and counts as in at . (ii) The items of each new batch , taken in the order of the tree, are covered by pure patterns: items per pattern, where is the largest integer with lexicographically, if ; two per pattern if ; one per pattern if . If is adaptive, each pattern holds one opening item and the rest body items, which is lex-feasible because body items are no larger than opening items; the statistic of is then the mass of these patterns, so the counts of later batches that depend on it are determined and the construction proceeds batch by batch.
Write for the realised count of per , for its volume, and for the mass of its pure patterns. In case , lexicographically forces , so and . In case , since . In case , since . In all three cases
with weak inequalities and no error term, which is why the boundaries of , , may be included. Now let be any stop of . The items presented up to are those of the path in ending at the deepest original node on the path (with if there is none), together with the new batches , , on the path. Then , and by Lemma W and Lemma 4.1,
Adding (1) and (2), by the volume bound in . So satisfies every ratio row of at , and .
Lemma 4.1 is used exactly once, in (1), to convert the witness bound relative to the original optimum into a bound relative to the original volume, which is what makes it additive with the new items' volume. Without it, would be false in general, since new items could fill slack in the original optimal packing; this is precisely what happens for the earlier constructions. Admissibility is used once per batch in (2) with that batch's own extreme size; the placement, count, adaptivity and mutual interaction of the new batches never enter, which is why the theorem is uniform over all of them. The whole argument lives inside the LP, so no rounding or terms arise; an online algorithm realising on a concrete input pays an additive constant per pattern type and an term, both absorbed by the asymptotic ratio as in [1].
Corollary 4.3. Let a finite list of new batches have all size classes strictly outside the closed window , and let be extended by them. Then for every , and . The extended family proves exactly the bound the paper's family proves, never more.
Proof. Admissibility is monotone in (each condition only gets easier as grows), and every boundary case of lies strictly inside one of , , (a size with is strictly inside , since ; a size with is strictly inside ; sizes above the window have ). Hence there is such that every new size is admissible for every . For each pick ; Theorem 4.2 gives , and letting gives , while because contains every stop of .
A -independent margin below cannot be asked for, since .
Corollary 4.4 (what an improvement must contain). Any extension of the 2018 construction by new batches, in any number, with counts depending on the observed statistics, placed anywhere, the new batches adaptive or not, with the original batches and the condition defining the original statistic unchanged, that improves on must include a new batch with a size class in the closed window .
The window is a lexicographic set: it contains every size , and three batches of the construction itself, , and , have such sizes. Extensions that change the original batches, for instance by making adaptive or by replacing the opener condition on A, are outside the theorem and are treated computationally in Section 5.4.
4.3 A single window batch, at t = 3
The window is exactly the range in which no fresh-bin rule satisfies (2): items above 1/2 cannot be paired, and below 1/λ a singleton bin costs more than λ times its volume, so the new item's interaction with the original bins cannot be avoided. For a single window batch added to we closed the case by machine, in the sense made precise below.
Theorem 4.5 (machine-certified). Let , let be any node of , and let be a new leaf batch under with a size in the window. Let the count of be a constant if , where the statistic is not yet observed, and with rational if is or a node below it. Then for when and when ; both are below .
The certificates have the following structure, each element stored and re-verified by fresh exact arithmetic. (1) Pattern monotonicity: a virtual-bin pattern feasible when X has size q is feasible for every size at most q, so one pattern list, enumerated at the right endpoint of a size interval, underlies the whole interval. (2) Corner witnesses: the window times the count half-line is covered by finitely many rectangles (a size interval times a count segment from the anchor list ); for each rectangle one fixed row configuration, checking each stop's ratio row against a chosen valid lower bound on OPT (the volume bound with the X-volume set to p; the big-item bound OPT number of items above 1/2; or a fixed covering-dual vector extracted at the infimum size class and re-verified dual-feasible there, hence valid throughout the rectangle), admits exact behaviour witnesses at all four corners. (3) Interpolation: for fixed count all constraints are affine in the size's rational part, and for fixed size affine in the count, so corner witnesses interpolate across the rectangle. (4) Tail: beyond the last anchor, adding pure single-X bins increases ALG with slope one while OPT grows at least as fast, since each window item needs its own bin. (5) Common statistic: every stored witness, at every attachment node, every size interval and every count, has the same statistic value ; the rectangle at above was re-certified with the statistic pinned to that value, and the verifier prints the set of statistic values per rectangle. This is what covers counts of the form . An algorithm that plays the prefix with statistic faces the fixed count , for which a witness with statistic exists; interpolation between corner witnesses with equal statistics preserves the statistic, and the tail adds pure single-X patterns, which do not change it. Without a common value the step would not be automatic: for a fixed row configuration the feasible set is convex in (behaviour, statistic, count), but the true feasible set need not be, so witnesses with different statistics at different counts would not have covered a statistic-dependent count.
The certificates cover the window completely at all eight attachment nodes: a single rectangle at , , , , , ; two rectangles at split at , the exact boundary at which a bin hosting both X and a item stops being feasible, with an exactly tight ridge at count (where OPT becomes purely count-driven) crossed inside the rectangles by re-shaped witnesses; and one rectangle at . An independent second pass certifies the same window at , (5126 combinatorial cells) and (14280 cells) by one exact witness per cell, with zero failures. The hunt itself surfaced adversarial phenomena that were each first flagged by a certificate failure and then shown not to be improvements: sizes constructed by the machine as exact complements of existing items (e.g. , the complement of a item and a small item); interactions of several big items; and kinks of OPT at structural rationals such as count , which required Stern–Brocot rather than dyadic splitting of segments.
Together with the analytic cases (the , , cases of Theorem 4.2 for , valid for every ), this establishes that no single-leaf extension of improves the published bound , and that for arbitrary only window-sized items could even in principle require further certification. The statement is about , not about the value of itself: exceeds by at six nodes and by at and , so a window leaf that raised the truncation-3 value by less than those margins is not excluded, only one that reaches the limit.
5 A computational map of the game class
5.1 The machine and its gates
The behaviour LP of Section 2.1 was implemented with exact rational arithmetic on demand, Farkas sifting over enumerated maximal patterns (sound for both sides: a genuine bin extends greedily to a maximal pattern with the same opening batch; supersets only cover more), up to two adaptive statistics with the constructive simplicial bound on OPT, and an independent checker for certificates. Before any experiment it reproduced, as exact brackets containing the analytic values, the classical bounds of Yao (3/2), van Vliet (1.5401468) and Balogh-Békési-Galambos (248/161), and the 2018 construction at (bracket (1.542754175, 1.542754177]) and ((1.542780355, 1.542780366], 62011 patterns). An exact certificate at for the union of the paper's tree with two complement families and a quarter-chain was produced and verified. That certificate places the union's value above 1.542754175, as for the paper's tree; the complementary direction is an exact feasible behaviour at 1.542754177. Adding the searched variants to that union one at a time, up to twenty batch nodes and 17132 patterns, both directions hold at every step, the upper one obtained by re-solving the behaviour LP at the feasible behaviour's own statistic value with the exact optimum rather than its interpolant, so each union has value inside the paper's own bracket (1.542754175, 1.542754177].
5.2 Structural variants
About sixty structural variants of were evaluated: seven added fourth branches, deeper chains, prefix branching, hill climbing over all count coefficients and over sixty candidate sizes, adaptive continuations with a second statistic at several nodes, the family of complements fitting small adaptive items and punished by a large one, split and layered adaptive batches at two scales, and alternative prefix scale sequences. Every variant that retains the construction’s full punishment capability has exactly the paper’s value (1.5427541456 in the machine’s float bisection at ; the exact value is ), and every other variant is strictly worse. The exact primal at just above the bound shows why: every stop constraint of the paper’s tree is simultaneously tight (only has slack, ), and the optimal behaviour is a balanced portfolio of multi-branch virtual bins against which any added continuation sits slack. This is an empirical strengthening of [1, Remark 10], which states optimality of the weight parameter for the paper’s own formula.
5.3 Multi-batch adversaries with a second statistic
Theorem 4.5 leaves open extensions by several batches at once, and in particular a coupled extension in which a second adaptive batch (a fresh bin-opening statistic at another scale) is paired with a continuation that punishes its items through counts affine in the new statistic; on the upper-bound side, it is exactly such coupled moves, each neutral alone, that produced the gains of Section 3. We built a search over a general tree specification (batches attach anywhere; at most one added adaptive batch, since the machine supports two statistics; later counts affine in both statistics) with a beam over compositions of moves that deliberately keeps states tied at the record, so that depth-two coupled moves are reached. Candidates were screened by a single feasibility check at , just above and well below , so that infeasibility there certifies a genuine improvement over the paper's construction at ; attaching the second statistic under the paper's own statistic-dependent complement chain makes the two statistics degenerate and was excluded. A focused probe evaluated 132 coupled pairs (seven scales for the second batch from 1/8 to 1/3, two attachment points, two counts, five punishment continuations each) and the beam evaluated 718 compositions through depth one. Every one of these two-statistic trees is feasible at 1.5427544. Precisely: none has value above 1.5427544, so none improves the value of by more than and none approaches ; an improvement below that threshold would pass the screen and is not excluded by it. The float bisection used for the single-statistic variants of Section 5.2 and in Table 2 sits about below the exact value and has the corresponding resolution.
5.4 The unused conditions of the separation theorem
The separation theorem of [1] is stated for an arbitrary binary condition on how an item is packed; the paper's own examples include “the item is packed into a bin already containing an item of size above 1/2”. The paper uses only “packed into a bin that already contains at least one item”, and every result above, and every construction in the literature, lives inside that one choice. Other conditions are legal at no cost, and to our knowledge had never been priced.
We generalized the pattern engine so that the large/small split of an adaptive batch is derived from the bin's contents at arrival via a condition, for three families: opened-or-same(k), satisfied iff the bin was opened by an earlier batch or already holds at least k items of this batch (k = 1 is the paper's condition); same(k), satisfied iff the bin already holds at least k items of this batch, regardless of who opened it (for k = 1: the first item of the batch in every bin is large, even in prefix-opened bins, a condition the paper cannot express); and contains(X), satisfied iff the bin already holds an item of an earlier batch X. Soundness of the maximal-pattern relaxation requires care: the derived counts are monotone in the total for the first two families, and for the third the enumeration is split into the halves “X absent” and “X present” with maximality taken within each half, since a genuine bin with X absent may only be extended within its half. Only the statistic rows of the LP change (the statistic becomes the number of large items rather than the number of bins opened). Under the paper's condition the engine reproduces the original machine bit for bit (818 patterns, the same value).
Table 2: Adaptive conditions at the batch of (and one at ), float bisection. The paper's condition gives 1.5427541456; 1.5403447181 is the value at which adaptivity contributes nothing.
| Condition | Counts | Value |
|---|---|---|
| opened-or-same(1) (the paper) | paper's | 1.5427541456 |
| opened-or-same(k), k = 2..6, both orientations | paper's | 1.5403447181 |
| same(1), large side unchanged | paper's | 1.5419948197 |
| same(1), counts returned (±1/12..1/3 on all coefficients) | retuned | 1.5419948197 (no improving move) |
| same(1), sizes, counts and branch structure re-optimized | full menu | 1.5419948198 (no improving move among 120) |
| same(k), k = 2..6; all flipped orientations | paper's | 1.5403447181 |
| contains(C3), contains(C2), both orientations | paper's | 1.5403447181 |
| B21 adaptive on contains(A), second statistic | paper's | 1.5427541457 (inert) |
| B21 adaptive on contains(A), B22 count riding it (±) | 1 ± n/2, 1 - n | 1.5232745990 |
Every alternative condition is either inert (the split changes nothing that OPT can exploit and no continuation uses the statistic) or strictly dominated, most collapsing to the value at which adaptivity contributes nothing. The mechanism is visible in the construction: the complement branch of [1], with sizes and and counts and , is engineered around the items that the algorithm was forced to isolate, which is what the opener condition detects. Under any other condition the large class no longer coincides with what the complements punish, and neither count retuning nor the finite menu of sizes and branch templates supplies a replacement complement design. Within the paper's tree family the opener condition is the uniquely useful one; a different condition would require its own complement design from scratch, which we leave open.
5.5 Summary
Table 3: Status of the natural extensions of the 2018 construction.
| Extension | Status |
|---|---|
| Any number of non-window batches, anywhere, any counts, adaptive or not | proved for all (Theorem 4.2) |
| One window batch added to , any node | value below , machine-certified (Theorem 4.5) |
| Structural variants: branches, chains, prefix branching, scales | computed, variants, none above the float screen; unions of the main families bracketed exactly in (1.542754175, 1.542754177] up to 20 nodes |
| Two statistics, coupled compositions | computed, trees, none above the exact screen at 1.5427544 |
| Non-opener adaptive conditions, three families | computed, all inert or dominated (Table 2) |
| Two or more window batches; window batch with a new statistic; the whole class | open (conjecture: pinned) |
6 Negative results on the algorithm side, with mechanisms
6.1 Marking does not bind in Advanced Harmonic
Extreme Harmonic [3] beats the Super Harmonic floor of 19/12 by a marking mechanism whose analytic content is a constraint on the distribution of optimal bins: the critical bin consisting of one huge item, one medium item of the threshold class and sand satisfies , where is the fraction of class- items packed alone and counts class- items in . Advanced Harmonic's Best-Fit-on-volumes conversion of temporary containers keeps the smallest lone class- items lone, which is the size guarantee the marking lemma needs, so the transplant is plausible. We folded the constraint into the per-scenario analysis as a distribution LP with a dual variable and modified cuts, sound given the (deferred) marking lemma for Advanced Harmonic, and re-optimized. The result is in every large-threshold scenario tested: fourteen scenarios sampled across the medium range from 0.3483 to 1/3, and the binding scenario (3/7, 1/2] with the previously unused container type of its threshold class opened at six fractions. Marking buys nothing.
The reason is that Advanced Harmonic's binding patterns are not the critical bins that marking caps. In scenario (1/3, 1067/3200] the binding pattern is {two items just above 1/3, one near 1/4, one near 1/13, sand}, a two-medium bin; in the record scenario (3/7, 1/2] the heavy pattern is {huge, an item near 1/3, several small items}, whose medium item is not of the threshold class, so the marking constraint cannot reach it, and the class-2 critical bin weighs only 1.5613 against . The containers and postponement of Advanced Harmonic already defuse the simple huge-plus-medium critical bins that bind Harmonic++ and that marking was invented to beat; on this algorithm, marking and postponement are substitutes, not complements. This also explains the ordering of the known bounds: Advanced Harmonic (1.5783) is already below marking-enabled Son of Harmonic (1.5813, corrected) and its red-sand variant (1.5787).
6.2 Bonus items and red sand target the same bins
The bonus-item rule of [3] (exceed the target proportion of paired items only when a matching large item exists, relabelling the surplus as sand) adds no weight term to the analysis; it only powers the constraints that bind at the critical bins {one medium, one item above 1/2}. A two-medium bin has no partner above 1/2 and never becomes a bonus configuration; raising the red fraction even raises its weight. Red sand, the mechanism of the 1.5787 variant, is already present in Advanced Harmonic as the 17/60 tiny-container cap. In both published analyses the binding pattern is the single-medium-plus-large critical bin; two-medium bins are never binding there. The entire Extreme Harmonic toolbox attacks a pattern that Advanced Harmonic has already neutralized, and does not touch the pattern Advanced Harmonic is stuck on.
6.3 Consequence
The remaining slack of Advanced Harmonic is guarded by two-medium bins and by huge-plus-medium-plus-multismall bins, and no mechanism in the literature targets them. The only route below the fixed-fraction floor, if the floor applies (Section 7), is an adaptive decision about how many medium items to pair, aimed at exactly these configurations; designing and analysing such a mechanism is an open problem. The one Extreme Harmonic idea that may still nibble at the multismall plateau is the mirror-threshold rule for every medium threshold , which we did not pursue.
7 Related work, prior art, and two corrections
Lower bounds. Yao [7] gave 3/2; Brown and Liang [8, 9] 1.5363; van Vliet [10] 1.5401 by an LP over Sylvester-sequence inputs; Balogh, Békési and Galambos [11] 248/161 ≈ 1.5403 with a non-Sylvester sequence; and [1] 1.54278 with branching and a fully adaptive batch, reusing the separation theorem of [12]. As noted in [13], the 2018 bound holds only against deterministic algorithms and the best bound valid against randomized algorithms remains 1.5403; Fekete et al. [14] show that eleven parallel copies of an algorithm achieve 1.5406 < 1.54278, consistent with the adaptive part being what a single deterministic algorithm cannot evade.
Prior statements about optimality of a construction. We searched for any prior statement or proof that a lower-bound construction for online bin packing is optimal within its method, or that extending the adversary tree cannot improve it, and found none across the papers above, the follow-ups of the same group, the surveys, and the works citing [1] and [2] through 2026. The nearest statement is [1, Remark 10]: “our choice of w and r are optimal in the sense that the lower bound of Lemma 8 cannot be used to prove a higher lower bound on R using other values of w for the formula which we obtained”, together with the remark in their Section 4 that the tightness of the analysis of this construction was verified by a mathematical program for small t. Both concern the analysis of the fixed construction, not the construction among extensions; the paper never discusses whether more batches, branching or adaptivity could help. For online bin stretching, Lhomme, Catusse and Brauner [15] prove that restricting the adversary to item sizes of granularity 1/g yields computable lower bounds converging to the true game value, the general principle behind “a restricted class has a computable optimum”; it has not been applied to classic bin packing, and the computer-search lower bounds of Böhm and Simon [16] and Lieskovský [17] are likewise for bin stretching only.
Upper bounds and framework floors. The harmonic lineage runs from Lee and Lee [18] through Ramanan et al. [19], Seiden's Super Harmonic framework and Harmonic++ (1.58889) [20], Heydrich and van Stee's Extreme Harmonic [3], and Advanced Harmonic [2]. Ramanan et al. prove that no Super Harmonic algorithm beats 19/12; Heydrich and van Stee prove a floor for algorithms that colour a fixed fraction of each type red and decide by type. Correction 1. That floor is 1.5762 in the full version of their paper (arXiv:1511.00876v7, Section 8: inputs of sizes , , , ; the case of two red type-4 items per bin gives 1.5762, the other cases 1.5788 and 100/63); the value 1.5766, which is often cited, appears only in the ICALP extended abstract. Correction 2. Whether this floor formally covers Advanced Harmonic, which uses several container types per class with fixed proportions rather than a single red fraction, is not stated anywhere we could find; the Advanced Harmonic paper declares no floor for its own framework and, in its Appendix D, questions the 1.5815 analysis of Son of Harmonic. It is plausible that the floor applies, since the proportions are fixed fractions, and Section 3.4 shows empirically that no further tuning gain is reachable from the tuned table, but the formal statement is open. Epstein's recent tight analysis of Harmonic [21] concerns a single algorithm rather than a framework floor.
Has the gap moved since 2018? Across the works citing [1] and [2] through 2026, none improves either bound; recent papers continue to cite 1.54278 and 1.57829 as best known.
8 Open problems
-
Full-class optimality of the 2018 construction. Corollary 4.4 reduces it to extensions containing window items; a proof would exhibit a single algorithm-side strategy, equivalently a dual weight function, that handles every adversary in the class, i.e. an upper-bound proof restricted to the class. All computational evidence points to the construction being optimal.
-
Window compositions. Two or more window batches, or a window batch together with a new statistic, are covered only computationally.
-
A complement design for a non-opener condition. Section 5.4 shows that the paper’s complements are specific to the opener condition. Whether some other legal condition admits its own complement design that beats is open; the separation theorem of [1] already licenses it.
-
Does the fixed-fraction floor cover Advanced Harmonic? If it does, 1.5762 is the ceiling of all proportion tuning; if not, the ceiling is unknown.
-
A mechanism for two-medium bins. The bottleneck of Advanced Harmonic is unaddressed by any known technique; adaptive pairing decisions are the natural candidate.
-
Finer scales and more statistics. Adaptivity at the 1/43 and 1/49 scales, and three or more statistics, are beyond the explicit-pattern machine and would need column generation; the scale-mismatch mechanism identified for split adaptive batches suggests no gain, but this is not proved.
Acknowledgements
The code, the experiments, the accompanying documents and the text of this paper were developed with the assistance of Claude, an AI system made by Anthropic, used through Claude Code. The assistant wrote and refactored code, ran and monitored experiments, drafted proofs and prose, and carried out the literature searches, all under the author's direction and review. Every mathematical claim was checked by the independent verifiers and the reproduction harness described in Appendix B, and the author takes full responsibility for the content. The assistant is not an author.
A Exact values
Upper bound. Published certificate [2]: 10 060 574 276 093 395 247 / 6 374 352 691 333 693 440 = 1.5782895555.... Theorem 3.1: 22 981 899 117 912 049 614 283 / 14 561 271 504 392 687 714 304 = 1.5782893074.... Eleven shifts: 396 506 895 178 752 730 140 119 789 995 638 512 460 459 337 309 / 251 236 666 738 523 006 506 532 046 106 587 389 752 053 334 016 = 1.5782206488.... Theorem 3.2 (sixteen shifts): 4 352 511 675 791 652 445 491 291 971 161 065 859 763 057 971 646 201 076 221 224 375 333 444 301 / 2 757 870 367 885 430 623 246 395 267 379 223 653 471 665 545 153 623 399 543 807 051 482 071 748 = 1.5782147437....
Lower bound. Machine float value of : 1.5427541456 (float bisection bias about ; every claimed value was re-checked exactly). Window: ; ;
B Reproducibility
All code is pure-standard-library Python with exact rational arithmetic, run from the repository root as modules. Library: binpacking/exact/ (infinitesimal sizes, exact simplex, maximal pattern enumeration), binpacking/lower_bound/ (adversary trees and the behaviour LP in adversary_tree.py, the independent certificate checker in certificate_check.py, structural search in continuation_search.py, window certification in leaf_extension.py and interval_certificate.py, the multi-batch engine in multi_batch_search.py, adaptive conditions in predicate_tree.py), binpacking/upper_bound/ (class boundaries and proportions in advanced_harmonic_tables.py, scenarios, weights, exact knapsacks, cutting-plane optimization and the feasibility screen in advanced_harmonic.py, the independent verifier in certificate_check.py, proportion states and watch lists in alpha_state.py, the marking transplant in marking.py). Runnable experiments live in experiments/lower_bound/ and experiments/upper_bound/; the referee sweep is python3 -m experiments.upper_bound.certify_advanced_harmonic --state alpha-record.pkl and its verification is python3 -m experiments.upper_bound.verify_certificates --tag e --state alpha-record.pkl. Proportion states are data/states/alpha-descent-d.pkl (11 shifts) and data/states/alpha-record.pkl (16 shifts, Theorem 3.2); certificates are in data/certificates/. The complete experiment log is docs/results-log.md; the proof of Theorem 4.2 with full bookkeeping is docs/theorem-multi-batch-extension.md; the literature check is docs/literature-survey-3-prior-art.md. The repository is at https://github.com/ksnmartin/online-bin-packing-bounds, release tag v1.0; its README describes the layout and how to reproduce every number. The code is released under the Apache License 2.0 and this paper and the accompanying documents under CC BY 4.0.
References
[1] J. Balogh, J. Békési, G. Dósa, L. Epstein, A. Levin. A new lower bound for classic online bin packing. Algorithmica 83(7):2047–2062, 2021; WAOA 2019; arXiv:1807.05554.
[2] J. Balogh, J. Békési, G. Dósa, L. Epstein, A. Levin. A new and improved algorithm for online bin packing. ESA 2018, LIPIcs 112, 5:1–5:14; arXiv:1707.01728.
[3] S. Heydrich, R. van Stee. Beating the harmonic lower bound for online bin packing. ICALP 2016, LIPIcs 55, 41:1–41:14; full version arXiv:1511.00876v7 (2018).
[4] J. Balogh, J. Békési, G. Dósa, L. Epstein, A. Levin. Lower bounds for several online variants of bin packing. Theory Comput. Syst. 63(8):1757–1780, 2019; arXiv:1708.03228.
[5] J. Balogh, J. Békési, G. Dósa, L. Epstein, A. Levin. Lower bounds for batched bin packing. J. Comb. Optim. 43:613–629, 2022.
[6] E. G. Coffman Jr., J. Csirik, G. Galambos, S. Martello, D. Vigo. Bin packing approximation algorithms: survey and classification. In Handbook of Combinatorial Optimization, Springer, 2013.
[7] A. C.-C. Yao. New algorithms for bin packing. J. ACM 27(2):207–227, 1980.
[8] D. J. Brown. A lower bound for on-line one-dimensional bin packing algorithms. Technical Report R-864, Coordinated Science Laboratory, University of Illinois, 1979.
[9] F. M. Liang. A lower bound for on-line bin packing. Inf. Process. Lett. 10(2):76–79, 1980.
[10] A. van Vliet. An improved lower bound for on-line bin packing algorithms. Inf. Process. Lett. 43(5):277–284, 1992.
[11] J. Balogh, J. Békési, G. Galambos. New lower bounds for certain classes of bin packing algorithms. Theoret. Comput. Sci. 440–441:1–13, 2012.
[12] J. Balogh, J. Békési, G. Dósa, L. Epstein, A. Levin. Online bin packing with cardinality constraints resolved. ESA 2017; arXiv:1608.06415.
[13] J. Balogh, G. Dósa, L. Epstein, L. Jež. Lower bounds on the performance of online algorithms for relaxed packing problems. Discrete Optimization, 2026; IWOCA 2022; arXiv:2201.05999.
[14] S. P. Fekete, J. Grosse-Holz, P. Keldenich, A. Schmidt. Parallel online algorithms for the bin packing problem. Algorithmica 85:296–323, 2023; arXiv:1910.03249.
[15] A. Lhomme, N. Catusse, N. Brauner. On the convergence of computational methods for the online bin stretching problem. arXiv:2506.17271, 2025.
[16] M. Böhm, B. Simon. Discovering and certifying lower bounds for the online bin stretching problem. Theoret. Comput. Sci., 2022; arXiv:2001.01125.
[17] M. Lieskovský. Better algorithms for online bin stretching via computer search. LATIN 2024; arXiv:2201.12393.
[18] C. C. Lee, D. T. Lee. A simple on-line bin-packing algorithm. J. ACM 32(3):562–572, 1985.
[19] P. Ramanan, D. J. Brown, C. C. Lee, D. T. Lee. On-line bin packing in linear time. J. Algorithms 10(3):305–326, 1989.
[20] S. S. Seiden. On the online bin packing problem. J. ACM 49(5):640–671, 2002.
[21] L. Epstein. Tighter bounds for the harmonic bin packing algorithm. European J. Oper. Res. 316(1):72–84, 2024.