Online bin packing competitive ratio

Still openEvidence checked

Subjects: Algorithms and data structures · Approximation algorithms

Collections: Limits of computation

Reading depth

The problem

Imagine filling boxes of capacity one as objects arrive. Two objects of size 0.4 could share a box, leaving little room. If two objects of size 0.6 then arrive, that choice needs three boxes; knowing the future would let you pair 0.4 with 0.6 in two. Online bin packing asks how well a rule can do when it must place each object before seeing the next.[1] [2]

The same first items, two possible futures Each bin has capacity one. After two items of size 0.4, one placement puts both together; the other puts them in separate bins. The next items are unknown and the first placement cannot be changed. If arrivals stop, together uses one bin and separate uses two, while the offline optimum uses one. If two items of size 0.6 follow, the displayed continuations use three bins for together and two for separate. The offline optimum uses two bins, each pairing a 0.4 item with a 0.6 item. The offline packing sees the complete list. These are finite teaching outcomes, not an asymptotic lower bound or benchmark. Each bin holds 1. First: 0.4, then 0.4 Together Separate 0.4 0.4 1 bin 0.4 0.4 2 bins Choose before you know what comes next. If arrivals stop Together Separate 0.4 0.4 1 bin 0.4 0.4 2 bins Offline best: 1 bin 0.4 0.4 Or 0.6, then 0.6 arrive Together Separate 0.4 0.4 0.6 0.6 3 bins 0.4 0.6 0.4 0.6 2 bins Offline best: 2 bins 0.4 0.6 0.4 0.6 The same first items, two possible futures Each bin has capacity one. After two items of size 0.4, one placement puts both together; the other puts them in separate bins. The next items are unknown and the first placement cannot be changed. If arrivals stop, together uses one bin and separate uses two, while the offline optimum uses one. If two items of size 0.6 follow, the displayed continuations use three bins for together and two for separate. The offline optimum uses two bins, each pairing a 0.4 item with a 0.6 item. The offline packing sees the complete list. These are finite teaching outcomes, not an asymptotic lower bound or benchmark. Each bin holds 1. First: 0.4, then 0.4 Together 0.4 0.4 Separate 0.4 0.4 Choose before you know what comes next. If arrivals stop 1 bin 2 bins Offline best: 1 bin 0.4 0.4 Or 0.6, then 0.6 arrive 0.4 0.4 0.6 0.6 0.4 0.6 0.4 0.6 3 bins 2 bins Offline best: 2 bins 0.4 0.6 0.4 0.6
Earlier items cannot move. Packing tightly saves a bin if arrivals stop; separate bins leave room for larger items. Offline best knows the whole list. These finite outcomes do not establish a long-run ratio.
Scope

Classical one-dimensional online bin packing: arbitrary finite adversarial sequences of positive rational sizes at most one, unit-capacity bins, one deterministic algorithm, immediate irrevocable placement and minimization of used bins. Determine the infimum asymptotic competitive ratio over such algorithms. No item-count cap, random-order promise, samples, advice, migration, multiple parallel packings or waiting-cost objective is supplied.

What remains open

Even the best rule must sometimes waste space because it does not know what comes next. Researchers can guarantee fewer than about 1.57829 times the number of boxes a fully informed packing needs. They also know that every deterministic rule can be forced above about 1.54278. The exact best long-run guarantee between these bounds remains unknown for the classical arrival model.[1] [2] [3]

Why it matters

The little example explains the conflict: packing tightly now can destroy useful space later, while reserving space can waste boxes if the arrivals stop. Neither instinct always wins. A solution would identify the precise cost of making irreversible choices without future information. It would also show whether the current sophisticated rules already capture everything that can be gained from watching the arrivals so far.[1] [2]

Research directions

3 directions to explore

Definitions

2 terms
offline optimum

The fewest bins that can hold the whole input list when every item size is known in advance. It compares the online rule with the best packing of the same items, rather than with another guess about future arrivals.[1] [4]

asymptotic competitive ratio

A rule’s worst-case factor compared with the offline optimum as the optimal bin count becomes arbitrarily large. It removes the influence of a fixed number of extra bins on small inputs. It is a guarantee against unfavorable input orders, rather than an average over typical inputs.[1] [2]

Sources

Partial results
János Balogh, József Békési, György Dósa, Leah Epstein and Asaf Levin

Advanced Harmonic achieves an asymptotic competitive ratio at most 1.57828956. Scope: The classical deterministic online one-dimensional bin-packing model.

First arXiv date, not ESA 2018 publication. This is an upper bound on the unknown optimum and does not prove it is best possible.

Source date: 2017-07-06The primary manuscript defines AH, analyzes its size-class patterns and states the bound; the April 2026 primary Introduction retains its rounded value.Read the source ↗
János Balogh, József Békési, György Dósa, Leah Epstein and Asaf Levin

Branching with fully adaptive item sizes raises the universal lower bound above 1.54278. Scope: Deterministic algorithms making one irrevocable online packing of arbitrary sequences.

First arXiv date, not the July 2021 journal issue. The construction does not supply a matching algorithm or a lower bound for models with extra information or multiple copies.

Source date: 2018-07-15The primary Introduction and adaptive-construction statement explain how future sizes depend on past placements.Read the source ↗
  1. A new and improved algorithm for online bin packing János Balogh, József Békési, György Dósa, Leah Epstein and Asaf Levin · 2017-07-06
    Notes on A new and improved algorithm for online bin packing

    Primary arXiv HTML and PDF read at the model, ratio definition, Advanced Harmonic construction overview, weight analysis and 1.57828956 bound. First arXiv submission 6 July 2017; the ESA 2018 record was checked separately. Decimal bounds are guarantees, not benchmark measurements.

  2. A new lower bound for classic online bin packing János Balogh, József Békési, György Dósa, Leah Epstein and Asaf Levin · 2018-07-15
    Notes on A new lower bound for classic online bin packing

    Actual primary manuscript read at its Introduction, ratio definitions, branching and adaptive size construction. First arXiv submission 15 July 2018; the journal version is Algorithmica 2021. The adaptive deterministic adversary is the relevant model here.

  3. More on online cardinality constrained bin packing with small cardinality bounds János Balogh, József Békési, György Dósa, Leah Epstein and Asaf Levin · 2026-04-13
    Notes on More on online cardinality constrained bin packing with small cardinality bounds

    Direct full-text endpoint failed. The official publisher’s indexed Abstract and complete Introduction were actually read, with selected later indexed excerpts. That Introduction explicitly states the classical [1.54278,1.57829] gap and distinguishes cardinality constraints. The source date here is the displayed 13 April 2026 issue date, not an inferred first-online date.

  4. Lower Bounds for Several Standard Bin Packing Algorithms in the Random Order Model Leah Epstein and Asaf Levin
    Notes on Lower Bounds for Several Standard Bin Packing Algorithms in the Random Order Model

    Official WADS 2025 primary PDF read at the Introduction’s classic gap, asymptotic measure and random-order distinction. The article’s specific random-order lower bounds are not presented as universal adversarial-order improvements.

  5. Parallel Online Algorithms for the Bin Packing Problem Sándor P. Fekete, Jonas Grosse-Holz, Phillip Keldenich and Arne Schmidt · 2019-10-08
    Notes on Parallel Online Algorithms for the Bin Packing Problem

    Primary arXiv abstract read: a k-copy collective keeps several online decisions and uses its best resulting packing. Its stated improvements use multiple copies, rather than contradicting the one-copy lower bound. Main proof was not read and no new theorem acceptance is conferred.

Related problems

Suggest a correction