Online bin packing asymptotic competitive ratio
Description of constant
In classic one-dimensional online bin packing, a sequence $I = (s_1, \dots, s_n)$ of items of sizes in $(0, 1]$ arrives one by one and must be assigned irrevocably to unit-capacity bins without exceeding total size $1$ in any bin. For a deterministic online algorithm $A$, let $A(I)$ denote the number of bins used on instance $I$ and $\mathrm{OPT}(I)$ denote the offline minimum number of bins. The asymptotic competitive ratio of $A$ is
\[R_\infty(A) := \limsup_{k \to \infty} \sup_{\mathrm{OPT}(I) = k} \frac{A(I)}{k},\]equivalently $\inf{R > 0 : \exists C \ge 0,\ \forall I,\ A(I) \le R\,\mathrm{OPT}(I) + C}$. The constant $C_{94} = R_\infty$ is the infimum of $R_\infty(A)$ over all deterministic online algorithms $A$.
Known upper bounds
| Bound | Reference | Comments |
|---|---|---|
| $2$ | [Joh1973], [Joh1974] | Achieved by Next Fit (NF) and Any Fit (AF). |
| $1.7$ | [Joh1974], [JDUGG1974] | Achieved by First Fit (FF), Best Fit (BF), and Almost Any Fit (AAF). |
| $5/3 \approx 1.66667$ | [Yao1980] | Refined First Fit (RFF), packing size-based subsets separately. |
| $1.69103$ | [LL1985] | Limiting ratio of the Harmonic algorithm $H_k$ as $k \to \infty$ (listed chronologically; superseded by Refined Harmonic in the same paper). |
| $< 1.636$ | [LL1985] | Refined Harmonic. |
| $< 1.61562$ | [RBLL1989] | Modified Harmonic (Modified Harmonic-2 achieves approximately $1.612$). |
| $1.58889$ | [Sei2002] | Super Harmonic framework (Harmonic++), completing and correcting the design of [Ric1991]. |
| $1.5815$ | [HvS2016] | Extreme Harmonic / Son of Harmonic (analysis questioned in Appendix D of [BBDEL2018]). |
| $1.57828956$ | [BBDEL2018] | Advanced Harmonic (AH): exact rational certificate $10060574276093395247 / 6374352691333693440 \approx 1.5782895556$ over $402$ scenarios ($212$ size classes and a single tiny-item pool below $1/43$). |
| $1.5782147437$ | [Mar2026] | Exact rational LP optimization of the [BBDEL2018] duals ($1.5782893074\dots$ with published parameters) and proportion re-tuning across $15$ regular classes plus the tiny class over all $402$ scenarios. |
| $1.570479158429$* | [Kir2026] | Exact rational bound $201431855117992903200674131547545287965417 / 128261399737095411415305145034022600000000 \approx 1.57047915842864$ (additive constant $\le 7{,}015$ bins). Extends Advanced Harmonic with tiny cutoff $1/160$, $26$ tiny bands with $9$ tiny reserves and hybrid count/volume closure, $341$ large and $561$ small classes, actual-size reservations for large pairs, a global $y \le 1/3$ actual-size anchor discount active on $482$ scenarios, and a uniform threshold-class deficit bound ($\Phi \ge n - 14$). Independently verified across $2{,}322$ scenarios by separate Python Fraction and C/GMP checkers (zero fixed-table LP gap, calibrations on [BBDEL2018], [Mar2026], $1.5761380989$, $1.572926523027$, and $1.571839305182$*, stream simulator up to $300{,}000$ items, and $13$ negative controls each). Proof, tables, and checkers at commit b3346b5b39db17316d0fc4bc799b99a8bc1ef86b of willk30/optimization-certificates. |
Known lower bounds
| Bound | Reference | Comments |
|---|---|---|
| $1.5403$ | [BBG2012] | Improved adversarial sequence building on earlier lower bounds in [Bro1979], [Lia1980], and [vV1992]. |
| $1.5427809064\dots$ | [BBDEL2021] | Adaptive adversary tree with exact limiting value $r_\infty^* = (1363 - \sqrt{1387369})/120 \approx 1.5427809064729$; finite truncations give $r^*(3) \approx 1.5427541762$ and $r^*(4) \approx 1.5427803609$ (rigidity of ordinary extensions analyzed in [Mar2026]). |
Additional comments
- For the absolute competitive ratio $\sup_I A(I)/\mathrm{OPT}(I)$ (without additive constant), the exact optimal value is $5/3$ [BBDSvS2015].
- Heydrich and van Stee [HvS2016] proved a $1.5762$ lower floor for algorithms that color a fixed fraction of each type red and make packing decisions solely by type (corrected from $1.5766$ in [Mar2026], §7). Multi-container Advanced Harmonic with multiple tiny reservations, cutoff $1/160$, and global actual-size anchor discounting breaks past $1.5762$ to $1.570479158429$* [Kir2026].
References
- [BBDSvS2015] Balogh, J.; Békési, J.; Dósa, Gy.; Sgall, J.; van Stee, R. (2015). The optimal absolute ratio for online bin packing. In Proc. 26th Annual ACM-SIAM Symposium on Discrete Algorithms (SODA 2015), pp. 1425–1438.
- [BBDEL2018] Balogh, J.; Békési, J.; Dósa, G.; Epstein, L.; Levin, A. (2018). A new and improved algorithm for online bin packing. In Proc. 26th Annual European Symposium on Algorithms (ESA 2018), LIPIcs 112, 5:1–5:14; full version arXiv:1707.01728.
- [BBDEL2021] Balogh, J.; Békési, J.; Dósa, G.; Epstein, L.; Levin, A. (2021). A new lower bound for classic online bin packing. Algorithmica 83(7): 2047–2062 (preliminary version in WAOA 2019); arXiv:1807.05554.
- [BBG2012] Balogh, J.; Békési, J.; Galambos, G. (2012). New lower bounds for certain classes of bin packing algorithms. Theoretical Computer Science 440–441: 1–13.
- [Bro1979] Brown, D. J. (1979). A lower bound for on-line one-dimensional bin packing algorithms. Technical Report R-864, Coordinated Science Laboratory, University of Illinois.
- [HvS2016] Heydrich, S.; van Stee, R. (2016). Beating the Harmonic lower bound for online bin packing. In Proc. 43rd International Colloquium on Automata, Languages, and Programming (ICALP 2016), paper 41:1–14; full version arXiv:1511.00876v7 (2018).
- [JDUGG1974] Johnson, D. S.; Demers, A.; Ullman, J. D.; Garey, M. R.; Graham, R. L. (1974). Worst-case performance bounds for simple one-dimensional packing algorithms. SIAM Journal on Computing 3: 256–278.
- [Joh1973] Johnson, D. S. (1973). Near-optimal bin packing algorithms. Ph.D. thesis, Massachusetts Institute of Technology.
- [Joh1974] Johnson, D. S. (1974). Fast algorithms for bin packing. Journal of Computer and System Sciences 8: 272–314.
- [Kir2026] Kirschenman, W. (2026). A smaller upper bound for classic online bin packing. Proof, exact rational certificates, and verifiers: https://github.com/willk30/optimization-certificates/tree/b3346b5b39db17316d0fc4bc799b99a8bc1ef86b/online-bin-packing-v4.
- [LL1985] Lee, C. C.; Lee, D. T. (1985). A simple on-line bin-packing algorithm. Journal of the ACM 32(3): 562–572.
- [Lia1980] Liang, F. M. (1980). A lower bound for on-line bin packing. Information Processing Letters 10(2): 76–79.
- [Mar2026] Martin, K. (2026). Tightening the online bin packing gap from both sides, and the limits of the current methods. Preprint, arXiv:2610.32367; code and certificates: https://github.com/ksnmartin/online-bin-packing-bounds/tree/9f3bdaf840a33f5c373c44426aa11e3868b93a20.
- [RBLL1989] Ramanan, P.; Brown, D. J.; Lee, C. C.; Lee, D. T. (1989). On-line bin packing in linear time. Journal of Algorithms 10(3): 305–326.
- [Ric1991] Richey, M. B. (1991). Improved bounds for harmonic-based bin packing algorithms. Discrete Applied Mathematics 34(1–3): 203–227.
- [Sei2002] Seiden, S. S. (2002). On the online bin packing problem. Journal of the ACM 49(5): 640–671.
- [vV1992] van Vliet, A. (1992). An improved lower bound for on-line bin packing algorithms. Information Processing Letters 43(5): 277–284.
- [Yao1980] Yao, A. C.-C. (1980). New algorithms for bin packing. Journal of the ACM 27(2): 207–227.
Contribution notes
Prepared with AI assistance; references and verifiers reviewed by Will Kirschenman.