Colored Bin Packing: Online Algorithms and Lower Bounds

被引:6
|
作者
Bohm, Martin [1 ]
Dosa, Gyorgy [2 ]
Epstein, Leah [3 ]
Sgall, Jiri [1 ]
Vesely, Pavel [1 ]
机构
[1] Charles Univ Prague, Comp Sci Inst, Prague, Czech Republic
[2] Univ Pannonia, Dept Math, Veszprem, Hungary
[3] Univ Haifa, Dept Math, Haifa, Israel
关键词
Online algorithms; Bin packing; Worst-case analysis; Colored bin packing; Black and white bin packing; CARDINALITY CONSTRAINTS;
D O I
10.1007/s00453-016-0248-2
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
In the Colored Bin Packing problem a sequence of items of sizes up to 1 arrives to be packed into bins of unit capacity. Each item has one of at least two colors and an additional constraint is that we cannot pack two items of the same color next to each other in the same bin. The objective is to minimize the number of bins. In the important special case when all items have size zero, we characterize the optimal value to be equal to color discrepancy. As our main result, we give an (asymptotically) 1.5-competitive algorithm which is optimal. In fact, the algorithm always uses at most bins and we can force any deterministic online algorithm to use at least bins while the offline optimum is for any value of . In particular, the absolute competitive ratio of our algorithm is 5 / 3 and this is optimal. For items of arbitrary size we give a lower bound of 2.5 on the asymptotic competitive ratio of any online algorithm and an absolutely 3.5-competitive algorithm. When the items have sizes of at most 1 / d for a real the asymptotic competitive ratio of our algorithm is . We also show that classical algorithms First Fit, Best Fit and Worst Fit are not constant competitive, which holds already for three colors and small items. In the case of two colors-the Black and White Bin Packing problem-we give a lower bound of 2 on the asymptotic competitive ratio of any online algorithm when items have arbitrary size. We also prove that all Any Fit algorithms have the absolute competitive ratio 3. When the items have sizes of at most 1 / d for a real we show that the Worst Fit algorithm is absolutely -competitive.
引用
收藏
页码:155 / 184
页数:30
相关论文
共 50 条
  • [1] Colored Bin Packing: Online Algorithms and Lower Bounds
    Martin Böhm
    György Dósa
    Leah Epstein
    Jiří Sgall
    Pavel Veselý
    [J]. Algorithmica, 2018, 80 : 155 - 184
  • [2] Lower Bounds for Several Online Variants of Bin Packing
    János Balogh
    József Békési
    György Dósa
    Leah Epstein
    Asaf Levin
    [J]. Theory of Computing Systems, 2019, 63 : 1757 - 1780
  • [3] Lower Bounds for Several Online Variants of Bin Packing
    Balogh, Janos
    Bekesi, Jozsef
    Dosa, Gyoergy
    Epstein, Leah
    Levin, Asaf
    [J]. THEORY OF COMPUTING SYSTEMS, 2019, 63 (08) : 1757 - 1780
  • [4] Online Colored Bin Packing
    Boehm, Martin
    Sgall, Jiri
    Vesely, Pavel
    [J]. APPROXIMATION AND ONLINE ALGORITHMS, WAOA 2014, 2015, 8952 : 35 - 46
  • [5] AN IMPROVED LOWER BOUND FOR ONLINE BIN PACKING ALGORITHMS
    VANVLIET, A
    [J]. INFORMATION PROCESSING LETTERS, 1992, 43 (05) : 277 - 284
  • [6] New Lower Bounds for Certain Classes of Bin Packing Algorithms
    Balogh, Janos
    Bekesi, Jozsef
    Galambos, Gabor
    [J]. APPROXIMATION AND ONLINE ALGORITHMS, 2011, 6534 : 25 - 36
  • [7] Online LIB problems: Heuristics for bin covering and lower bounds for bin packing
    Finlay, L
    Manyem, P
    [J]. RAIRO-OPERATIONS RESEARCH, 2005, 39 (03) : 163 - 183
  • [8] New lower bounds for certain classes of bin packing algorithms
    Balogh, Janos
    Bekesi, Jozsef
    Galambos, Gabor
    [J]. THEORETICAL COMPUTER SCIENCE, 2012, 440 : 1 - 13
  • [9] Improved lower bounds for semi-online bin packing problems
    Balogh, Janos
    Bekesi, Jozsef
    Galambos, Gabor
    Markot, Mihaly Csaba
    [J]. COMPUTING, 2009, 84 (1-2) : 139 - 148
  • [10] Improved lower bounds for the online bin packing problem with cardinality constraints
    Fujiwara, Hiroshi
    Kobayashi, Koji
    [J]. JOURNAL OF COMBINATORIAL OPTIMIZATION, 2015, 29 (01) : 67 - 87