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] A New Heuristic Algorithm for the 3D Bin Packing Problem
    Maarouf, Wissam F.
    Barbar, Aziz M.
    Owayjan, Michel J.
    INNOVATIONS AND ADVANCED TECHNIQUES IN SYSTEMS, COMPUTING SCIENCES AND SOFTWARE ENGINEERING, 2008, : 342 - 345
  • [42] A hybrid genetic algorithm with a new packing strategy for the three-dimensional bin packing problem
    Kang, Kyungdaw
    Moon, Ilkyeong
    Wang, Hongfeng
    APPLIED MATHEMATICS AND COMPUTATION, 2012, 219 (03) : 1287 - 1299
  • [43] A note on a selfish bin packing problem
    Ma, Ruixin
    Dosa, Gyoergy
    Han, Xin
    Ting, Hing-Fung
    Ye, Deshi
    Zhang, Yong
    JOURNAL OF GLOBAL OPTIMIZATION, 2013, 56 (04) : 1457 - 1462
  • [44] THE GRAPH-BIN PACKING PROBLEM
    Bujtas, Csilla
    Dosa, Gyoergy
    Imreh, Csanad
    Nagy-Gyoergy, Judit
    Tuza, Zsolt
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2011, 22 (08) : 1971 - 1993
  • [45] The stochastic generalized bin packing problem
    Perboli, Guido
    Tadei, Roberto
    Baldi, Mauro M.
    DISCRETE APPLIED MATHEMATICS, 2012, 160 (7-8) : 1291 - 1297
  • [46] ON A GENERALIZED BIN-PACKING PROBLEM
    LEWIS, RT
    PARKER, RG
    NAVAL RESEARCH LOGISTICS, 1982, 29 (01) : 119 - 145
  • [47] A note on a selfish bin packing problem
    Ruixin Ma
    György Dósa
    Xin Han
    Hing-Fung Ting
    Deshi Ye
    Yong Zhang
    Journal of Global Optimization, 2013, 56 : 1457 - 1462
  • [48] The maximum resource bin packing problem
    Boyar, J
    Epstein, L
    Favrholdt, LM
    Kohrt, JS
    Larsen, KS
    Pedersen, MM
    Wohlk, S
    FUNDAMENTALS OF COMPUTATIONAL THEORY, PROCEEDINGS, 2005, 3623 : 397 - 408
  • [49] A typical problem of bin-packing
    Figueroa Mata, Geovanni
    Carrera Retana, Ernesto
    TECNOLOGIA EN MARCHA, 2011, 24 (02): : 34 - 43
  • [50] The Bin Packing Problem with Precedence Constraints
    Dell'Amico, Mauro
    Diaz, Jose Carlos Diaz
    Iori, Manuel
    OPERATIONS RESEARCH, 2012, 60 (06) : 1491 - 1504