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 条
  • [31] Tighter bounds of the First Fit algorithm for the bin-packing problem
    Xia, Binzhou
    Tan, Zhiyi
    DISCRETE APPLIED MATHEMATICS, 2010, 158 (15) : 1668 - 1675
  • [32] The three-dimensional bin packing problem and its practical algorithm
    Jin, ZH
    Ito, T
    Ohno, K
    JSME INTERNATIONAL JOURNAL SERIES C-MECHANICAL SYSTEMS MACHINE ELEMENTS AND MANUFACTURING, 2003, 46 (01) : 60 - 66
  • [33] A grouping genetic algorithm with controlled gene transmission for the bin packing problem
    Quiroz-Castellanos, Marcela
    Cruz-Reyes, Laura
    Torres-Jimenez, Jose
    Gomez, Claudia S.
    Huacuja, Hector J. Fraire
    Alvin, Adriana C. F.
    COMPUTERS & OPERATIONS RESEARCH, 2015, 55 : 52 - 64
  • [34] A variable neighborhood search algorithm for the bin packing problem with compatible categories
    Moura Santos, Luiz F. O.
    Iwayama, Renan Sallai
    Cavalcanti, Luisa Brandao
    Turi, Leandro Maciel
    de Souza Morais, Fabio Emanuel
    Mormilho, Gabriel
    Cunha, Claudio B.
    EXPERT SYSTEMS WITH APPLICATIONS, 2019, 124 : 209 - 225
  • [35] An algorithm for constructing an admissible solution to the bin packing problem with fuzzy constraints
    Nasibov, E.N.
    Izvestiya Akademii Nauk. Teoriya i Sistemy Upravleniya, 2004, (02): : 50 - 57
  • [36] Algorithm for Crew-Scheduling Problem with Bin-Packing Features
    Qiao, Wenxin
    Hamedi, Masoud
    Haghani, Ali
    TRANSPORTATION RESEARCH RECORD, 2010, (2197) : 80 - 88
  • [37] An algorithm for constructing an admissible solution to the bin packing problem with fuzzy constraints
    Nasibov, ÉN
    JOURNAL OF COMPUTER AND SYSTEMS SCIENCES INTERNATIONAL, 2004, 43 (02) : 205 - 212
  • [38] A Hybrid Algorithm with Reduction Criteria for the Bin Packing Problem in One Dimension
    Perez, Joaquin
    Castillo, Hilda
    Vilarino, Darnes
    Zavala, Jose C.
    De la Rosa, Rafael
    Ruiz-Vanoye, Jorge A.
    PROCEEDINGS OF THE INTERNATIONAL CONFERENCE OF NUMERICAL ANALYSIS AND APPLIED MATHEMATICS 2014 (ICNAAM-2014), 2015, 1648
  • [39] An asymptotically exact algorithm for the high-multiplicity bin packing problem
    Carlo Filippi
    Alessandro Agnetis
    Mathematical Programming, 2005, 104 : 21 - 37
  • [40] Parallel Coevolutionary Algorithm for Three-Dimensional Bin Packing Problem
    Bozejko, Wojciech
    Kacprzak, Lukasz
    Wodecki, Mieczyslaw
    ARTIFICIAL INTELLIGENCE AND SOFT COMPUTING, PT I, 2015, 9119 : 319 - 328