Sequential vector packing

  • Authors:
  • Mark Cieliebak;Alexander Hall;Riko Jacob;Marc Nunkesser

  • Affiliations:
  • sd & m Schweiz AG, 8050 Zurich, Switzerland;Google Switzerland, Brandschenkestr. 110, CH-8002 Zurich, Switzerland;Institut für Informatik der Technische Universität München, Germany;Department of Computer Science, ETH Zurich, Switzerland

  • Venue:
  • Theoretical Computer Science
  • Year:
  • 2008

Quantified Score

Hi-index 5.23

Visualization

Abstract

We introduce a novel variant of the well known d-dimensional bin (or vector) packing problem. Given a sequence of non-negative d-dimensional vectors, the goal is to pack these into as few bins as possible, of the smallest possible size. In the classical problem, the bin size vector is given and the sequence can be partitioned arbitrarily. We study a variation where the vectors have to be packed in the order in which they arrive, and the bin size vector can be chosen once in the beginning. This setting gives rise to two combinatorial problems: one in which we want to minimize the number of bins used for a given total bin size, and one in which we want to minimize the total bin size for a given number of bins. We prove that both problems are NP-hard, and propose an LP based bicriteria (1@e,11-@e)-approximation algorithm. We give a 2-approximation algorithm for the version with a bounded number of bins. Furthermore, we investigate properties of natural greedy algorithms, and present an easy to implement heuristic, which is fast and performs well in practice. Experiments with the heuristic and an ILP formulation yield promising results on real world data.