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 条
  • [1] AN EXACT ALGORITHM FOR THE DUAL BIN PACKING PROBLEM
    LABBE, M
    LAPORTE, G
    MARTELLO, S
    OPERATIONS RESEARCH LETTERS, 1995, 17 (01) : 9 - 18
  • [2] A Plant Propagation Algorithm for the Bin Packing Problem
    Abo-Alsabeh, Rewayda Razaq
    Cheraitia, Meryem
    Salhi, Abdellah
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2024, 30 (08) : 1008 - 1022
  • [3] Adaptive Cuckoo Search Algorithm for the Bin Packing Problem
    Zendaoui, Zakaria
    Layeb, Abdesslem
    MODELLING AND IMPLEMENTATION OF COMPLEX SYSTEMS, MISC 2016, 2016, : 107 - 120
  • [4] An Enhanced Grasshopper Optimization Algorithm to the Bin Packing Problem
    Feng, Hangwei
    Ni, Hong
    Zhao, Ran
    Zhu, Xiaoyong
    JOURNAL OF CONTROL SCIENCE AND ENGINEERING, 2020, 2020
  • [5] A hybrid evolutionary algorithm for the offline Bin Packing Problem
    Istvan Borgulya
    Central European Journal of Operations Research, 2021, 29 : 425 - 445
  • [6] Comparative Benchmark of a Quantum Algorithm for the Bin Packing Problem
    Garcia de Andoin, Mikel
    Oregi, Izaskun
    Villar-Rodriguez, Esther
    Osaba, Eneko
    Sanz, Mikel
    2022 IEEE SYMPOSIUM SERIES ON COMPUTATIONAL INTELLIGENCE (SSCI), 2022, : 930 - 937
  • [7] A Novel Genetic Algorithm for Bin Packing Problem in jMetal
    Luo, Fei
    Scherson, Isaac D.
    Fuentes, Joel
    2017 IEEE 1ST INTERNATIONAL CONFERENCE ON COGNITIVE COMPUTING (ICCC 2017), 2017, : 17 - 23
  • [8] The FFD algorithm for the bin packing problem with kernel items
    Zhang G.
    Yao E.
    Applied Mathematics-A Journal of Chinese Universities, 1998, 13 (3) : 335 - 340
  • [9] A hybrid evolutionary algorithm for the offline Bin Packing Problem
    Borgulya, Istvan
    CENTRAL EUROPEAN JOURNAL OF OPERATIONS RESEARCH, 2021, 29 (02) : 425 - 445