Online Sorting and Translational Packing of Convex Polygons
Anders Aamand, Mikkel Abrahamsen, Lorenzo Beretta, Linda Kleist
Abstract
We investigate several online packing problems in which convex polygons arrive one by one and have to be placed irrevocably into a container, while the aim is to minimize the used space. Among other variants, we consider strip packing and bin packing, where the container is the infinite horizontal strip [0, ∞) × [0, 1] or a collection of 1 × 1 bins, respectively.
If polygons may be rotated, there exist O(1)-competitive online algorithms for all problems at hand [Baker and Schwarz, SIAM J. Comput., 1983]. Likewise, if the polygons may not be rotated but only translated, then using a result from [Alt, de Berg and Knauer, JoCG, 2017] we can derive O(1)approximation algorithms for all problems at hand. Thus, it is natural to conjecture that the online version of these problems, in which only translations are allowed, also admits a O(1)-competitive algorithm. We disprove this conjecture by showing a superconstant lower bound on the competitive ratio for several online packing problems.
The offline approximation algorithm for translation-only packing sorts the convex polygons by their "natural slope," so that they form a fan-like pattern. We prove that this step is essential, in the sense that packing polygons without rotating them is as hard as sorting numbers online. Technically, we prove lower bounds on the competitive ratio of translation-only online packing problems by reducing from a purpose-built novel and natural combinatorial problem that we call online sorting. In a nutshell, the problem requires us to place n numbers x1, . . . , xn coming online into an oversized array of length γn for γ ≥ 1, while minimizing the sum of absolute differences of consecutive numbers. Note that the offline optimum is achieved by sorting x1, . . . , xn. We show a superconstant lower bound on the competitive ratio of online sorting, for any constant γ. We prove that this yields superconstant lower bounds for all packing problems at hand. We believe that this technique is of independent interest since it uncovers a deep connection between inherently geometrical and purely combinatorial problems.
As a complement, we also include algorithms for both online sorting and translation-only online strip packing with non-trivial competitive ratios. Our algorithm for strip packing relies on a new technique for recursively subdividing the strip into parallelograms of varying height, thickness and slope.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 5d90415e-075a-4f3a-821f-0f67f97aa762Cited by top-tier papers2
- Nearly Optimal Bounds for Stochastic Online SortingYang HuSODA 2026
- Nearly Tight Bounds for the Online Sorting ProblemYossi Azar, Debmalya Panigrahi, Or VardiSODA 2026
Builds on1
Related papers
- Bin Packing under Random-Order: Breaking the Barrier of 3/2Anish Hebbar, Arindam Khan, K. V. N. SreenivasSODA 2024 · 3 citations
- Tight Bounds for Online Graph PartitioningMonika Henzinger, Stefan Neumann, Harald Räcke, Stefan SchmidSODA 2021 · 12 citations
- Tight Results for Online Convex PagingAnupam Gupta, Amit Kumar, Debmalya PanigrahiSTOC 2025 · 1 citation
- Random Order Online Set Cover is as Easy as OfflineAnupam Gupta, Gregory Kehne, Roie LevinFOCS 2021 · 8 citations
- Chasing Convex Bodies OptimallyMark SellkeSODA 2020 · 36 citations
