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 条
  • [32] Tighter bounds for the harmonic bin packing algorithm
    Epstein, Leah
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2024, 316 (01) : 72 - 84
  • [33] Improved lower bounds for the online bin packing problem with cardinality constraints
    Fujiwara, Hiroshi
    Kobayashi, Koji
    JOURNAL OF COMBINATORIAL OPTIMIZATION, 2015, 29 (01) : 67 - 87
  • [34] Improved lower bounds for the online bin packing problem with cardinality constraints
    Hiroshi Fujiwara
    Koji Kobayashi
    Journal of Combinatorial Optimization, 2015, 29 : 67 - 87
  • [35] Invasive Weed Optimization Algorithm Based on Differential Evolution Operators to Solve Bin Packing Problem
    Li, Xue-Long
    Wang, Jie-sheng
    Yang, Xue
    PROCEEDINGS OF THE 32ND 2020 CHINESE CONTROL AND DECISION CONFERENCE (CCDC 2020), 2020, : 4141 - 4145
  • [36] Integrated bin packing and lot-sizing problem considering the configuration-dependent bin packing process
    Hao, Xinye
    Zheng, Li
    Li, Na
    Zhang, Canrong
    EUROPEAN JOURNAL OF OPERATIONAL RESEARCH, 2022, 303 (02) : 581 - 592
  • [37] A Multiobjective Ant Colony-based Optimization Algorithm for the Bin Packing Problem with Load Balancing
    Lara, Oscar D.
    Labrador, Miguel A.
    2010 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC), 2010,
  • [38] A Review on the Bin Packing Capacitated Vehicle Routing Problem
    Zhang, Qun
    Wei, Lirong
    Hu, Rui
    Yan, Rui
    Li, Lihua
    Zhu, Xiaoning
    MATERIALS SCIENCE, MACHINERY AND ENERGY ENGINEERING, 2014, 853 : 668 - 673
  • [39] Approximation algorithms for the integrated path and bin packing problem
    Li, Weidong
    Sun, Ruiqing
    RAIRO-OPERATIONS RESEARCH, 2025, 59 (01) : 325 - 333
  • [40] Heuristics and lower bounds for the bin packing problem with conflicts
    Gendreau, M
    Laporte, G
    Semet, F
    COMPUTERS & OPERATIONS RESEARCH, 2004, 31 (03) : 347 - 358