Online Bin Packing with Known T

In the online bin packing problem, a sequence of items is revealed one at a time, and each item must be packed into an available bin instantly upon its arrival. In this paper, we revisit the problem under a setting where the total number of items T is known in advance, also known as the closed online bin packing problem. Specifically, we study both the stochastic model where the item sizes are drawn independently from an unknown distribution and the random permutation model where the item sizes may be adversarially chosen, but the items arrive in a randomly permuted order. We develop and analyze an adaptive algorithm that solves an offline bin packing problem at geometric time intervals and uses the offline optimal solution to guide the online packing decisions. Under both models, we show that the algorithm achieves C √ T regret (in terms of the number of used bins) compared to the hindsight optimal solution, where C is a universal constant (≤ 13) that bears no dependence on the underlying distribution or the item sizes. The result shows the lower bound barrier of Ω( √ T log T ) in (Shor, 1986) can be broken with solely the knowledge of the horizon T , but without a need of knowing the underlying distribution. As to the algorithm analysis, we develop a new approach to analyzing the packing dynamic using the notion of exchangeable random variables. The approach creates a symmetrization between the offline solution and the online solution, and it is used to analyze both the algorithm performance and the various benchmarks related to the bin packing problem. For the latter one, our analysis provides an alternative (probably simpler) treatment and tightens the analysis of the asymptotic benchmark of the stochastic bin packing problem in (Rhee and Talagrand, 1989a,b). As the analysis only relies on a symmetry between the offline and online problems, the algorithm and benchmark analyses can be naturally extended from the stochastic model to the random permutation model.

[1]  Wansoo T. Rhee,et al.  Exact bounds for the stochastic upward matching problem , 1988 .

[2]  Mihalis Yannakakis,et al.  Fundamental discrepancies between average-case analyses under discrete and continuous distributions: a bin packing case study , 1991, STOC '91.

[3]  Claire Mathieu,et al.  On the Sum-of-Squares algorithm for bin packing , 2002, JACM.

[4]  Richard M. Karp,et al.  An efficient approximation scheme for the one-dimensional bin-packing problem , 1982, 23rd Annual Symposium on Foundations of Computer Science (sfcs 1982).

[5]  Morteza Zadimoghaddam,et al.  Overcommitment in Cloud Services Bin packing with Chance Constraints , 2016, SIGMETRICS.

[6]  A. Radovanovic,et al.  Interior-Point Based Online Stochastic Bin Packing , 2015 .

[7]  Edward G. Coffman,et al.  Closed On-Line Bin Packing , 2002, Acta Cybern..

[8]  D. Simchi-Levi,et al.  Online Pricing with Offline Data: Phase Transition and Inverse Square Law , 2019, ICML.

[9]  Wansoo T. Rhee,et al.  On Line Bin Packing with Items of Random Size , 1993, Math. Oper. Res..

[10]  Ana Radovanovic,et al.  Interior-Point-Based Online Stochastic Bin Packing , 2020, Oper. Res..

[11]  David P. Williamson,et al.  The Design of Approximation Algorithms , 2011 .

[12]  Rebecca Hoberg,et al.  A Logarithmic Additive Integrality Gap for Bin Packing , 2015, SODA.

[13]  J. Lamperti ON CONVERGENCE OF STOCHASTIC PROCESSES , 1962 .

[14]  Costas Courcoubetis,et al.  NECESSARY AND SUFFICIENT CONDITIONS FOR STABILITY OF A BIN-PACKING SYSTEM , 1986 .

[15]  S. Chobanyan,et al.  Exact Maximal Inequalities for Exchangeable Systems of Random Variables , 2001 .

[16]  Wansoo T. Rhee Optimal Bin Packing with Items of Random Sizes , 1988, Math. Oper. Res..

[17]  Zeyu Zheng,et al.  Measuring Policy Performance in Online Pricing with Offline Data , 2021, SSRN Electronic Journal.

[18]  Wansoo T. Rhee,et al.  Optimal Bin Packing with Items of Random Sizes III , 1989, SIAM J. Comput..

[19]  Anupam Gupta,et al.  Random-Order Models , 2020, Beyond the Worst-Case Analysis of Algorithms.

[20]  Peter W. Shor The average-case analysis of some on-line algorithms for bin packing , 1986, Comb..

[21]  George L. Nemhauser,et al.  Price-Directed Control of Remnant Inventory Systems , 1999, Oper. Res..

[22]  Wansoo T. Rhee,et al.  Optimal Bin Packing with Items of Random Sizes II , 1989, SIAM J. Comput..

[23]  David S. Johnson,et al.  Bin packing with discrete item sizes, part II: tight bounds on first fit , 1997 .

[24]  David S. Johnson,et al.  Fast Algorithms for Bin Packing , 1974, J. Comput. Syst. Sci..

[25]  Andrew Chi-Chih Yao,et al.  Resource Constrained Scheduling as Generalized Bin Packing , 1976, J. Comb. Theory A.

[26]  David S. Johnson,et al.  Near-optimal bin packing algorithms , 1973 .

[27]  Wansoo T. Rhee,et al.  On-Line Bin Packing of Items of Random Sizes, II , 1993, SIAM J. Comput..

[28]  Paul Louis Hennequin,et al.  Ecole d'Eté de Probabilités de Saint-Flour V-1975 , 1976 .

[29]  Siddhartha Banerjee,et al.  Uniform Loss Algorithms for Online Stochastic Decision-Making With Applications to Bin Packing , 2020, SIGMETRICS.

[30]  R. Gomory,et al.  A Linear Programming Approach to the Cutting-Stock Problem , 1961 .

[31]  Edward G. Coffman,et al.  Approximation algorithms for bin packing: a survey , 1996 .

[32]  Peter W. Shor,et al.  How to pack better than best fit: tight bounds for average-case online bin packing , 1991, [1991] Proceedings 32nd Annual Symposium of Foundations of Computer Science.

[33]  Adam Krzyzak,et al.  A Distribution-Free Theory of Nonparametric Regression , 2002, Springer series in statistics.

[34]  Thomas Rothvoß,et al.  Approximating Bin Packing within O(log OPT * Log Log OPT) Bins , 2013, 2013 IEEE 54th Annual Symposium on Foundations of Computer Science.