Algorithm NextFit for the Bin Packing Problem

被引:1
|
作者
Fujiwara, Hiroshi [1 ]
Adachi, Ryota [2 ]
Yamamoto, Hiroaki [1 ]
机构
[1] Shinshu Univ, Nagano, Japan
[2] Intage Technosphere Inc, Tokyo, Japan
来源
FORMALIZED MATHEMATICS | 2021年 / 29卷 / 03期
关键词
bin packing problem; online algorithm; approximation algorithm; combinatorial optimization;
D O I
10.2478/forma-2021-0014
中图分类号
O1 [数学];
学科分类号
0701 ; 070101 ;
摘要
The bin packing problem is a fundamental and important optimization problem in theoretical computer science [4], [6]. An instance is a sequence of items, each being of positive size at most one. The task is to place all the items into bins so that the total size of items in each bin is at most one and the number of bins that contain at least one item is minimum. Approximation algorithms have been intensively studied. Algorithm NextFit would be the simplest one. The algorithm repeatedly does the following: If the first unprocessed item in the sequence can be placed, in terms of size, additionally to the bin into which the algorithm has placed an item the last time, place the item into that bin; otherwise place the item into an empty bin. Johnson [5] proved that the number of the resulting bins by algorithm NextFit is less than twice the number of the fewest bins that are needed to contain all items. In this article, we formalize in Mizar [1], [2] the bin packing problem as follows: An instance is a sequence of positive real numbers that are each at most one. The task is to find a function that maps the indices of the sequence to positive integers such that the sum of the subsequence for each of the inverse images is at most one and the size of the image is minimum. We then formalize algorithm NextFit, its feasibility, its approximation guarantee, and the tightness of the approximation guarantee.
引用
收藏
页码:141 / 151
页数:11
相关论文
共 50 条
  • [41] Heuristics for the variable sized bin-packing problem
    Haouari, Mohamed
    Serairi, Mehdi
    COMPUTERS & OPERATIONS RESEARCH, 2009, 36 (10) : 2877 - 2884
  • [42] Heuristics for Evolutionary Optimization for the Centered Bin Packing Problem
    de Jeu, Luke
    Yaman, Anil
    APPLICATIONS OF EVOLUTIONARY COMPUTATION, EVOAPPLICATIONS 2024, PT I, 2024, 14634 : 162 - 177
  • [43] LOWER BOUNDS AND REDUCTION PROCEDURES FOR THE BIN PACKING PROBLEM
    MARTELLO, S
    TOTH, P
    DISCRETE APPLIED MATHEMATICS, 1990, 28 (01) : 59 - 70
  • [44] Towards a Characterization of Difficult Instances of the Bin Packing Problem
    Mexicano, A.
    Perez, J.
    Romero, D.
    Cruz, L.
    IEEE LATIN AMERICA TRANSACTIONS, 2015, 13 (07) : 2454 - 2462
  • [45] Linked Markovian quantum tunnels: An approximation technique for solving the bin packing problem
    Ligeiro, Rui
    JOURNAL OF COMPUTATIONAL SCIENCE, 2017, 20 : 1 - 7
  • [46] An algorithm for online two-dimensional bin packing with two open bins
    Hu, Shunyi
    Wang, Xijie
    Journal of Information and Computational Science, 2013, 10 (17): : 5449 - 5456
  • [47] Online bin packing problem with buffer and bounded size revisited
    Minghui Zhang
    Xin Han
    Yan Lan
    Hing-Fung Ting
    Journal of Combinatorial Optimization, 2017, 33 : 530 - 542
  • [48] Mathematical models and exact algorithms for the Colored Bin Packing Problem
    Borges, Yulle G. F.
    Schouery, Rafael C. S.
    Miyazawa, Flavio K.
    COMPUTERS & OPERATIONS RESEARCH, 2024, 164
  • [49] An Experimental Study of Grouping Crossover Operators for the Bin Packing Problem
    Amador-Larrea, Stephanie
    Quiroz-Castellanos, Marcela
    Hoyos-Rivera, Guillermo-de-Jesus
    Mezura-Montes, Efren
    COMPUTACION Y SISTEMAS, 2022, 26 (02): : 663 - 682
  • [50] Three dimensional Bin Packing Problem in batch scheduling.
    Koblasa, Frantisek
    Vavrousek, Miroslav
    Manlig, Frantisek
    34TH INTERNATIONAL CONFERENCE MATHEMATICAL METHODS IN ECONOMICS (MME 2016), 2016, : 407 - 412