Papers
Topics
Authors
Recent
Search
2000 character limit reached

A 2.37332-Competitive Algorithm for Online Square Packing with Gravity

Published 9 Sep 2026 in cs.CG | (2609.10101v1)

Abstract: We consider online packing of axis-parallel squares into a unit-width strip under the Tetris and gravity constraints: An incoming square must be lowered from above along a monotonic downwards path until it reaches support from below. Fekete, Kamphans, and Schweer [Algorithmica, 2014] gave an algorithm with asymptotic competitive ratio 34/13≈2.615434/13\approx2.6154 in this model. We present AsymmetricSlots\mathrm{AsymmetricSlots}, a recursive algorithm based on splitting each slot into a wide and narrow subslot. The proof uses a local charging argument: squares that are large relative to its associated slot pay for the height they create with their own area, while smaller squares are balanced between the two subslots and may use a bounded temporary credit. For a suitable split parameter p<sup>⋆p<sup>\star, we prove AsymmetricSlotsp<sup>⋆(σ)≤</sup>2.37332OPT⁡(σ)+O(1)\mathrm{AsymmetricSlots}{p<sup>\star}(σ)\le</sup> 2.37332 \operatorname{OPT} (σ)+O(1) for every input sequence σσ. Additionally, we show that the same framework gives an algorithm with asymptotic competitive ratio O(κ)O(κ) for rectangles of aspect ratio at most κκ, and a matching Ω(κ) Ω(κ) lower bound shows that the dependence on κκ is asymptotically optimal. For the square algorithm, we give a lower bound of $2$ on its asymptotic competitive ratio.

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Tweets

Sign up for free to view the 1 tweet with 0 likes about this paper.