Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Bin packing problem

From Wikipedia, the free encyclopedia
Mathematical and computational problem
Not to be confused withBin picking.
Covering/packing-problem pairs
Covering problemsPacking problems
Minimum set coverMaximum set packing
Minimum edge coverMaximum matching
Minimum vertex coverMaximum independent set
Bin coveringBin packing
Polygon coveringRectangle packing

Thebin packing problem[1][2][3][4] is anoptimization problem, in which items of different sizes must be packed into a finite number of bins or containers, each of a fixed given capacity, in a way that minimizes the number of bins used. The problem has many applications, such as filling up containers, loading trucks with weight capacity constraints, creating filebackups in media, splitting a network prefix into multiple subnets,[5] and technology mapping inFPGAsemiconductor chip design.

Computationally, the problem isNP-hard, and the correspondingdecision problem, deciding if items can fit into a specified number of bins, isNP-complete. Despite its worst-case hardness, optimal solutions to very large instances of the problem can be produced with sophisticated algorithms. In addition, manyapproximation algorithms exist. For example, thefirst fit algorithm provides a fast but often non-optimal solution, involving placing each item into the first bin in which it will fit. It requiresΘ(n log n) time, wheren is the number of items to be packed. The algorithm can be made much more effective by firstsorting the list of items into decreasing order (sometimes known as the first-fit decreasing algorithm), although this still does not guarantee an optimal solution and for longer lists may increase the running time of the algorithm. It is known, however, that there always exists at least one ordering of items that allows first-fit to produce an optimal solution.[6]

There are manyvariations of this problem, such as 2D packing, linear packing, packing by weight, packing by cost, and so on. The bin packing problem can also be seen as a special case of thecutting stock problem. When the number of bins is restricted to 1 and each item is characterized by both a volume and a value, the problem of maximizing the value of items that can fit in the bin is known as theknapsack problem.

A variant of bin packing that occurs in practice is when items can share space when packed into a bin. Specifically, a set of items could occupy less space when packed together than the sum of their individual sizes. This variant is known as VM packing[7] since whenvirtual machines (VMs) are packed in a server, their totalmemory requirement could decrease due topages shared by the VMs that need only be stored once. If items can share space in arbitrary ways, the bin packing problem is hard to even approximate. However, if space sharing fits into a hierarchy, as is the case with memory sharing in virtual machines, the bin packing problem can be efficiently approximated.

Another variant of bin packing of interest in practice is the so-calledonline bin packing. Here the items of different volume are supposed to arrive sequentially, and the decision maker has to decide whether to select and pack the currently observed item, or else to let it pass. Each decision is without recall. In contrast, offline bin packing allows rearranging the items in the hope of achieving a better packing once additional items arrive. This of course requires additional storage for holding the items to be rearranged.

Formal statement

[edit]

InComputers and Intractability[8]: 226  Garey and Johnson list the bin packing problem under the reference [SR1]. They define its decision variant as follows.

Instance: Finite setI{\displaystyle I} of items, a sizes(i)Z+{\displaystyle s(i)\in \mathbb {Z} ^{+}} for eachiI{\displaystyle i\in I}, a positive integer bin capacityB{\displaystyle B}, and a positive integerK{\displaystyle K}.

Question: Is there a partition ofI{\displaystyle I} intodisjoint setsI1,,IK{\displaystyle I_{1},\dots ,I_{K}} such that the sum of the sizes of the items in eachIj{\displaystyle I_{j}} isB{\displaystyle B} or less?

Note that in the literature often an alternate, but not equivalent, notation is used, whereB=1{\displaystyle B=1} ands(i)Q(0,1]{\displaystyle s(i)\in \mathbb {Q} \cap (0,1]} for eachiI{\displaystyle i\in I}. Furthermore, research is mostly interested in the optimization variant, which asks for the smallest possible value ofK{\displaystyle K}. A solution isoptimal if it has minimalK{\displaystyle K}. TheK{\displaystyle K}-value for an optimal solution for a set of itemsI{\displaystyle I} is denoted byOPT(I){\displaystyle \mathrm {OPT} (I)} or justOPT{\displaystyle \mathrm {OPT} } if the set of items is clear from the context.

A possibleinteger linear programming formulation of the problem is:

minimizeK=j=1nyj{\displaystyle K=\sum _{j=1}^{n}y_{j}}
subject toK1,{\displaystyle K\geq 1,}
iIs(i)xijByj,{\displaystyle \sum _{i\in I}s(i)x_{ij}\leq By_{j},}j{1,,n}{\displaystyle \forall j\in \{1,\ldots ,n\}}
j=1nxij=1,{\displaystyle \sum _{j=1}^{n}x_{ij}=1,}iI{\displaystyle \forall i\in I}
yj{0,1},{\displaystyle y_{j}\in \{0,1\},}j{1,,n}{\displaystyle \forall j\in \{1,\ldots ,n\}}
xij{0,1},{\displaystyle x_{ij}\in \{0,1\},}iIj{1,,n}{\displaystyle \forall i\in I\,\forall j\in \{1,\ldots ,n\}}

whereyj=1{\displaystyle y_{j}=1} if binj{\displaystyle j} is used andxij=1{\displaystyle x_{ij}=1} if itemi{\displaystyle i} is put into binj{\displaystyle j}.[9]

Hardness of bin packing

[edit]

The bin packing problem isstrongly NP-complete. This can be proven by reducing the strongly NP-complete3-partition problem to bin packing.[8]

Furthermore, there can be noapproximation algorithm with absolute approximation ratio smaller than32{\displaystyle {\tfrac {3}{2}}} unlessP=NP{\displaystyle {\mathsf {P}}={\mathsf {NP}}}. This can be proven by a reduction from thepartition problem:[10] given an instance of Partition where the sum of all input numbers is2T{\displaystyle 2T}, construct an instance of bin-packing in which the bin size isT. If there exists an equal partition of the inputs, then the optimal packing needs 2 bins; therefore, every algorithm with an approximation ratio smaller than3/2 must return less than 3 bins, which must be 2 bins. In contrast, if there is no equal partition of the inputs, then the optimal packing needs at least 3 bins.

On the other hand, bin packing is solvable inpseudo-polynomial time for any fixed number of binsK, and solvable in polynomial time for any fixed bin capacityB.[8]

Approximation algorithms for bin packing

[edit]

To measure the performance of an approximation algorithm there are two approximation ratios considered in the literature. For a given list of itemsL{\displaystyle L} the numberA(L){\displaystyle A(L)} denotes the number of bins used when algorithmA{\displaystyle A} is applied to listL{\displaystyle L}, whileOPT(L){\displaystyle \mathrm {OPT} (L)} denotes the optimum number for this list. The absolute worst-case performance ratioRA{\displaystyle R_{A}} for an algorithmA{\displaystyle A} is defined as

RAinf{r1:A(L)/OPT(L)r for all lists L}.{\displaystyle R_{A}\equiv \inf\{r\geq 1:A(L)/\mathrm {OPT} (L)\leq r{\text{ for all lists }}L\}.}

On the other hand, the asymptotic worst-case ratioRA{\displaystyle R_{A}^{\infty }} is defined as

RAinf{r1:N>0,A(L)/OPT(L)r for all lists L with OPT(L)N}.{\displaystyle R_{A}^{\infty }\equiv \inf\{r\geq 1:\exists N>0,A(L)/\mathrm {OPT} (L)\leq r{\text{ for all lists }}L{\text{ with }}\mathrm {OPT} (L)\geq N\}.}

Equivalently,RA{\displaystyle R_{A}^{\infty }} is the smallest number such that there exists some constantK, such that for all listsL:[4]

A(L)RAOPT(L)+K{\displaystyle A(L)\leq R_{A}^{\infty }\cdot \mathrm {OPT} (L)+K}.

Additionally, one can restrict the lists to those for which all items have a size of at mostα{\displaystyle \alpha }. For such lists, the bounded size performance ratios are denoted asRA(sizeα){\displaystyle R_{A}({\text{size}}\leq \alpha )} andRA(sizeα){\displaystyle R_{A}^{\infty }({\text{size}}\leq \alpha )}.

Approximation algorithms for bin packing can be classified into two categories:

  1. Online heuristics, that consider the items in a given order and place them one by one inside the bins. These heuristics are also applicable to the offline version of this problem.
  2. Offline heuristics, that modify the given list of items e.g. by sorting the items by size. These algorithms are no longer applicable to the online variant of this problem. However, they have an improved approximation guarantee while maintaining the advantage of their small time-complexity. A sub-category of offline heuristics is asymptotic approximation schemes. These algorithms have an approximation guarantee of the form(1+ε)OPT(L)+C{\displaystyle (1+\varepsilon )\mathrm {OPT} (L)+C} for some constant that may depend on1/ε{\displaystyle 1/\varepsilon }. For an arbitrarily largeOPT(L){\displaystyle \mathrm {OPT} (L)} these algorithms get arbitrarily close toOPT(L){\displaystyle \mathrm {OPT} (L)}. However, this comes at the cost of a (drastically) increasedtime complexity compared to the heuristical approaches.

Online heuristics

[edit]

In theonline version of the bin packing problem, the items arrive one after another and the (irreversible) decision where to place an item has to be made before knowing the next item or even if there will be another one. A diverse set of offline and online heuristics for bin-packing have been studied byDavid S. Johnson on his Ph.D. thesis.[11]

Single-class algorithms

[edit]

There are many simple algorithms that use the following general scheme:

  • For each item in the input list:
    1. If the item fits into one of the currently open bins, then put it in one of these bins;
    2. Otherwise, open a new bin and put the new item in it.

The algorithms differ in the criterion by which they choose the open bin for the new item in step 1 (see the linked pages for more information):

In order to generalize these results, Johnson introduced two classes of online heuristics calledany-fit algorithm andalmost-any-fit algorithm:[4]: 470 

Refined algorithms

[edit]

Better approximation ratios are possible with heuristics that are not AnyFit. These heuristics usually keep several classes of open bins, devoted to items of different size ranges (see the linked pages for more information):

General lower bounds for online algorithms

[edit]

Yao[15] proved in 1980 that there can be no online algorithm with an asymptotic competitive ratio smaller than32{\displaystyle {\tfrac {3}{2}}}. Brown[17] and Liang[18] improved this bound to1.53635. Afterward, this bound was improved to1.54014 by Vliet.[19] In 2012, this lower bound was again improved by Békési and Galambos[20] to2481611.54037{\displaystyle {\tfrac {248}{161}}\approx 1.54037}.

Comparison table

[edit]
AlgorithmApproximation guaranteeWorst case listL{\displaystyle L}Time-complexity
Next-fit (NF)NF(L)2OPT(L)1{\displaystyle NF(L)\leq 2\cdot \mathrm {OPT} (L)-1}[11]NF(L)=2OPT(L)2{\displaystyle NF(L)=2\cdot \mathrm {OPT} (L)-2}[11]O(|L|){\displaystyle {\mathcal {O}}(|L|)}
First-fit (FF)FF(L)1.7OPT(L){\displaystyle FF(L)\leq \lfloor 1.7\mathrm {OPT} (L)\rfloor }[13]FF(L)=1.7OPT(L){\displaystyle FF(L)=\lfloor 1.7\mathrm {OPT} (L)\rfloor }[13]O(|L|log(|L|)){\displaystyle {\mathcal {O}}(|L|\log(|L|))}[11]
Best-fit (BF)BF(L)1.7OPT(L){\displaystyle BF(L)\leq \lfloor 1.7\mathrm {OPT} (L)\rfloor }[14]BF(L)=1.7OPT(L){\displaystyle BF(L)=\lfloor 1.7\mathrm {OPT} (L)\rfloor }[14]O(|L|log(|L|)){\displaystyle {\mathcal {O}}(|L|\log(|L|))}[11]
Worst-Fit (WF)WF(L)2OPT(L)1{\displaystyle WF(L)\leq 2\cdot \mathrm {OPT} (L)-1}[11]WF(L)=2OPT(L)2{\displaystyle WF(L)=2\cdot \mathrm {OPT} (L)-2}[11]O(|L|log(|L|)){\displaystyle {\mathcal {O}}(|L|\log(|L|))}[11]
Almost-Worst-Fit (AWF)RAWF17/10{\displaystyle R_{AWF}^{\infty }\leq 17/10}[11]RAWF=17/10{\displaystyle R_{AWF}^{\infty }=17/10}[11]O(|L|log(|L|)){\displaystyle {\mathcal {O}}(|L|\log(|L|))}[11]
Refined-First-Fit (RFF)RFF(L)(5/3)OPT(L)+5{\displaystyle RFF(L)\leq (5/3)\cdot \mathrm {OPT} (L)+5}[15]RFF(L)=(5/3)OPT(L)+1/3{\displaystyle RFF(L)=(5/3)\mathrm {OPT} (L)+1/3} (forOPT(L)=6k+1{\displaystyle \mathrm {OPT} (L)=6k+1})[15]O(|L|log(|L|)){\displaystyle {\mathcal {O}}(|L|\log(|L|))}[15]
Harmonic-k (Hk)RHk1.69103{\displaystyle R_{Hk}^{\infty }\leq 1.69103} fork{\displaystyle k\rightarrow \infty }[16]RHk1.69103{\displaystyle R_{Hk}^{\infty }\geq 1.69103}[16]O(|L|log(|L|){\displaystyle {\mathcal {O}}(|L|\log(|L|)}[16]
Refined Harmonic (RH)RRH373/2281.63597{\displaystyle R_{RH}^{\infty }\leq 373/228\approx 1.63597}[16]O(|L|){\displaystyle {\mathcal {O}}(|L|)}[16]
Modified Harmonic (MH)RMH538/331.61562{\displaystyle R_{MH}^{\infty }\leq 538/33\approx 1.61562}[21]
Modified Harmonic 2 (MH2)RMH2239091/1483041.61217{\displaystyle R_{MH2}^{\infty }\leq 239091/148304\approx 1.61217}[21]
Harmonic + 1 (H+1)RH+11.59217{\displaystyle R_{H+1}^{\infty }\geq 1.59217}[22]
Harmonic ++ (H++)RH++1.58889{\displaystyle R_{H++}^{\infty }\leq 1.58889}[22]RH++1.58333{\displaystyle R_{H++}^{\infty }\geq 1.58333}[22]

Offline algorithms

[edit]

In the offline version of bin packing, the algorithm can see all the items before starting to place them into bins. This allows to attain improved approximation ratios.

Multiplicative approximation

[edit]

The simplest technique used by offline approximation schemes is the following:

  • Ordering the input list by descending size;
  • Run an online algorithm on the ordered list.

Johnson[11] proved that any AnyFit scheme A that runs on a list ordered by descending size has an asymptotic approximation ratio of

1.22119RA54=1.25{\displaystyle 1.22\approx {\frac {11}{9}}\leq R_{A}^{\infty }\leq {\frac {5}{4}}=1.25}.

Some methods in this family are (see the linked pages for more information):

Fernandez de la Vega and Lueker[29] presented aPTAS for bin packing. For everyε>0{\displaystyle \varepsilon >0}, their algorithm finds a solution with size at most(1+ε)OPT+1{\displaystyle (1+\varepsilon )\mathrm {OPT} +1} and runs in timeO(nlog(1/ε))+Oε(1){\displaystyle {\mathcal {O}}(n\log(1/\varepsilon ))+{\mathcal {O}}_{\varepsilon }(1)}, whereOε(1){\displaystyle {\mathcal {O}}_{\varepsilon }(1)} denotes a function only dependent on1/ε{\displaystyle 1/\varepsilon }. For this algorithm, they invented the method ofadaptive input rounding: the input numbers are grouped and rounded up to the value of the maximum in each group. This yields an instance with a small number of different sizes, which can be solved exactly using theconfiguration linear program.[30]

Additive approximation

[edit]

TheKarmarkar-Karp bin packing algorithm finds a solution with size at mostOPT+O(log2(OPT)){\displaystyle \mathrm {OPT} +{\mathcal {O}}(\log ^{2}(\mathrm {OPT} ))}, and runs in time polynomial inn (the polynomial has a high degree, at least 8).

Rothvoss[31] presented an algorithm that generates a solution with at mostOPT+O(log(OPT)loglog(OPT)){\displaystyle \mathrm {OPT} +{\mathcal {O}}(\log(\mathrm {OPT} )\cdot \log \log(\mathrm {OPT} ))} bins.

Hoberg and Rothvoss[32] improved this algorithm to generate a solution with at mostOPT+O(log(OPT)){\displaystyle \mathrm {OPT} +{\mathcal {O}}(\log(\mathrm {OPT} ))} bins. The algorithm is randomized, and its running-time is polynomial inn.

Comparison table

[edit]
AlgorithmApproximation guaranteeWorst case instance
First-fit-decreasing (FFD)FFD(I)119OPT(I)+69{\displaystyle \mathrm {FFD} (I)\leq {\frac {11}{9}}\mathrm {OPT} (I)+{\frac {6}{9}}}[23]FFD(I)=119OPT(I)+69{\displaystyle \mathrm {FFD} (I)={\frac {11}{9}}\mathrm {OPT} (I)+{\frac {6}{9}}}[23]
Modified-first-fit-decreasing (MFFD)MFFD(I)7160OPT(I)+1{\displaystyle \mathrm {MFFD} (I)\leq {\frac {71}{60}}\mathrm {OPT} (I)+1}[28]RMFFD7160{\displaystyle R_{\mathrm {MFFD} }^{\infty }\geq {\frac {71}{60}}}[27]
Karmarkar and KarpKK(I)OPT(I)+O(log2OPT(I)){\displaystyle \mathrm {KK} (I)\leq \mathrm {OPT} (I)+O(\log ^{2}{\mathrm {OPT} (I)})}[33]
RothvossHB(I)OPT(I)+O(logOPT(I)loglogOPT(I)){\displaystyle \mathrm {HB} (I)\leq \mathrm {OPT} (I)+O(\log {\mathrm {OPT} (I)}\log \log {\mathrm {OPT} (I)})}[31]
Hoberg and RothvossHB(I)OPT(I)+O(logOPT(I)){\displaystyle \mathrm {HB} (I)\leq \mathrm {OPT} (I)+O(\log {\mathrm {OPT} (I)})}[32]

Exact algorithms

[edit]

Martello and Toth[34] developed anexact algorithm for the 1-dimensional bin-packing problem, called MTP. A faster alternative is the Bin Completion algorithm proposed byRichard E. Korf in 2002[35] and later improved.[36]

A further improvement was presented by Schreiber and Korf in 2013.[37] The new Improved Bin Completion algorithm is shown to be up to five orders of magnitude faster than Bin Completion on non-trivial problems with 100 items, and outperforms the BCP (branch-and-cut-and-price) algorithm by Belov and Scheithauer on problems that have fewer than 20 bins as the optimal solution. Which algorithm performs best depends on problem properties like the number of items, the optimal number of bins, unused space in the optimal solution and value precision.

Small number of different sizes

[edit]

A special case of bin packing is when there is a small numberd of different item sizes. There can be many different items of each size. This case is also calledhigh-multiplicity bin packing, and It admits more efficient algorithms than the general problem.

Bin-packing with fragmentation

[edit]

Bin-packing with fragmentation orfragmentable object bin-packing is a variant of the bin packing problem in which it is allowed to break items into parts and put each part separately on a different bin. Breaking items into parts may allow for improving the overall performance, for example, minimizing the number of total bin. Moreover, thecomputational problem of finding an optimal schedule may become easier, as some of the optimization variables become continuous. On the other hand, breaking items apart might be costly. The problem was first introduced by Mandal, Chakrabarti and Ghose.[38]

Variants

[edit]

The problem has two main variants.

  1. In the first variant, calledbin-packing with size-increasing fragmentation (BP-SIF), each item may be fragmented; overhead units are added to the size of every fragment.
  2. In the second variant, calledbin-packing with size-preserving fragmentation (BP-SPF) each item has a size and a cost; fragmenting an item increases its cost but does not change its size.

Computational complexity

[edit]

Mandal, Chakrabarti and Ghose[38] proved that BP-SPF isNP-hard.

Menakerman and Rom[39] showed that BP-SIF and BP-SPF are bothstrongly NP-hard. Despite the hardness, they present several algorithms and investigate their performance. Their algorithms use classic algorithms for bin-packing, likenext-fit andfirst-fit decreasing, as a basis for their algorithms.

Bertazzi, Golden and Wang[40] introduced a variant of BP-SIF with1x{\displaystyle 1-x} split rule: an item is allowed to be split in only one way according to its size. It is useful for thevehicle routing problem for example. In their paper, they provide the worst-case performance bound of the variant.

Shachnai, Tamir and Yehezkeli[41] developed approximation schemes for BP-SIF and BP-SPF; a dualPTAS (a PTAS for the dual version of the problem), an asymptotic PTAS called APTAS, and a dual asymptoticFPTAS called AFPTAS for both versions.

Ekici[42] introduced a variant of BP-SPF in which some items are in conflict, and it is forbidden to pack fragments of conflicted items into the same bin. They proved that this variant, too, is NP-hard.

Cassazza and Ceselli[43] introduced a variant with no cost and no overhead, and the number of bins is fixed. However, the number of fragmentations should be minimized. They present mathematical programming algorithms for both exact and approximate solutions.

Related problems

[edit]

The problem offractionalknapsack with penalties was introduced by Malaguti, Monaci, Paronuzzi and Pferschy.[44] They developed an FPTAS and adynamic program for the problem, and they showed an extensive computational study comparing the performance of their models. See also:Fractional job scheduling.

Performance with divisible item sizes

[edit]

An important special case of bin packing is that the item sizes form adivisible sequence (also calledfactored). A special case of divisible item sizes occurs in memory allocation in computer systems, where the item sizes are all powers of 2. If the item sizes are divisible, then some of theheuristic algorithms for bin packing find an optimal solution.[45]

Cardinality constraints on the bins

[edit]

There is a variant of bin packing in which there arecardinality constraints on the bins: each bin can contain at mostk items, for some fixed integerk.

Non-additive functions

[edit]

There are various ways to extend the bin-packing model to more general cost and load functions:

  • Anily, Bramel and Simchi-Levi[48] study a setting where the cost of a bin is aconcave function of the number of items in the bin. The objective is to minimize the totalcost rather than the number of bins. They show thatnext-fit-increasing bin packing attains an absolute worst-case approximation ratio of at most 7/4, and an asymptotic worst-case ratio of 1.691 for any concave and monotone cost function.
  • Cohen, Keller, Mirrokni and Zadimoghaddam[49] study a setting where the size of the items is not known in advance, but it is arandom variable. This is particularly common incloud computing environments. While there is an upper bound on the amount of resources a certain user needs, most users use much less than the capacity. Therefore, the cloud manager may gain a lot by slightovercommitment. This induces a variant of bin packing withchance constraints: the probability that the sum of sizes in each bin is at mostB should be at leastp, wherep is a fixed constant (standard bin packing corresponds top=1). They show that, under mild assumptions, this problem is equivalent to asubmodular bin packing problem, in which the "load" in each bin is not equal to the sum of items, but to a certainsubmodular function of it.

Related problems

[edit]

In the bin packing problem, thesize of the bins is fixed and theirnumber can be enlarged (but should be as small as possible).

In contrast, in themultiway number partitioning problem, thenumber of bins is fixed and theirsize can be enlarged. The objective is to find a partition in which the bin sizes are as nearly equal is possible (in the variant calledmultiprocessor scheduling problem orminimummakespan problem, the goal is specifically to minimize the size of the largest bin).

In thevector bin packing problem, each item is a vector, and the size of each bin is also a vector. Let a bin has sizew{\displaystyle w}, and the sum of vectors in the bin bev{\displaystyle v}, then the requirement is thati,viwi{\displaystyle \forall i,v_{i}\leq w_{i}}.[50]

In theinverse bin packing problem,[51] both the number of bins and their sizes are fixed, but the item sizes can be changed. The objective is to achieve the minimum perturbation to the item size vector so that all the items can be packed into the prescribed number of bins.

In themaximum resource bin packing problem,[52] the goal is tomaximize the number of bins used, such that, for some ordering of the bins, no item in a later bin fits in an earlier bin. In a dual problem, the number of bins is fixed, and the goal is to minimize the total number or the total size of items placed into the bins, such that no remaining item fits into an unfilled bin.

In thebin covering problem, the bin size is boundedfrom below: the goal is tomaximize the number of bins used such that the total size in each bin is at least a given threshold.

In thefair indivisible chore allocation problem (a variant offair item allocation), the items represent chores, and there are different people each of whom attributes a different difficulty-value to each chore. The goal is to allocate to each person a set of chores with an upper bound on its total difficulty-value (thus, each person corresponds to a bin). Many techniques from bin packing are used in this problem too.[53]

In theguillotine cutting problem, both the items and the "bins" are two-dimensional rectangles rather than one-dimensional numbers, and the items have to be cut from the bin using end-to-end cuts.

In theselfish bin packing problem, each item is a player who wants to minimize its cost.[54]

There is also a variant of bin packing in which the cost that should be minimized is not the number of bins, but rather a certainconcave function of the number of items in each bin.[48]

Inlogistics and e-commerce, three-dimensional bin packing underlies “cartonization,” where software selects a shipping carton and a feasible packing arrangement for a set of items; closely related industrial problems include container and pallet loading.[55]

Other variants aretwo-dimensional bin packing,[56]three-dimensional bin packing,[57]bin packing with delivery,[58]

Resources

[edit]
  • BPPLIB - a library of surveys, codes, benchmarks, generators, solvers, and bibliography.

References

[edit]
  1. ^Martello, Silvano; Toth, Paolo (1990),"Bin-packing problem"(PDF),Knapsack Problems: Algorithms and Computer Implementations, Chichester, UK: John Wiley and Sons,ISBN 0471924202, archived fromthe original(PDF) on 8 May 2006
  2. ^Korte, Bernhard; Vygen, Jens (2006)."Bin-Packing".Combinatorial Optimization: Theory and Algorithms. Algorithms and Combinatorics 21. Springer. pp. 426–441.doi:10.1007/3-540-29297-7_18.ISBN 978-3-540-25684-7.
  3. ^Barrington, David Mix (2006)."Bin Packing". Archived fromthe original on 2019-02-16. Retrieved2016-02-27.
  4. ^abcCoffman Jr., Edward G.; Csirik, János; Galambos, Gábor; Martello, Silvano; Vigo, Daniele (2013), Pardalos, Panos M.; Du, Ding-Zhu; Graham, Ronald L. (eds.),"Bin Packing Approximation Algorithms: Survey and Classification",Handbook of Combinatorial Optimization, New York, NY: Springer, pp. 455–531,doi:10.1007/978-1-4419-7997-1_35,ISBN 978-1-4419-7997-1, retrieved2021-08-08{{citation}}: CS1 maint: work parameter with ISBN (link)
  5. ^"DHCPv6-PD - First steps". Retrieved12 June 2024.
  6. ^Lewis, R. (2009),"A General-Purpose Hill-Climbing Method for Order Independent Minimum Grouping Problems: A Case Study in Graph Colouring and Bin Packing"(PDF),Computers and Operations Research,36 (7):2295–2310,doi:10.1016/j.cor.2008.09.004,S2CID 1577334
  7. ^Sindelar, Michael; Sitaraman, Ramesh K.; Shenoy, Prashant (2011)."Sharing-aware algorithms for virtual machine colocation".Proceedings of the twenty-third annual ACM symposium on Parallelism in algorithms and architectures. pp. 367–378.doi:10.1145/1989493.1989554.ISBN 978-1-4503-0743-7.
  8. ^abcGarey, M. R.;Johnson, D. S. (1979).Victor Klee (ed.).Computers and Intractability: A Guide to the Theory of NP-Completeness. A Series of Books in the Mathematical Sciences. San Francisco, Calif.: W. H. Freeman and Co. pp. x+338.ISBN 0-7167-1045-5.MR 0519066.
  9. ^Martello & Toth 1990, p. 221
  10. ^Vazirani, Vijay V. (14 March 2013).Approximation Algorithms. Springer Berlin Heidelberg. p. 74.ISBN 978-3662045657.
  11. ^abcdefghijklmnopJohnson, David S (1973)."Near-optimal bin packing algorithms"(PDF).Massachusetts Institute of Technology.
  12. ^Gonzalez, Teofilo F. (23 May 2018).Handbook of approximation algorithms and metaheuristics. Volume 2 Contemporary and emerging applications. Taylor & Francis Incorporated.ISBN 9781498770156.
  13. ^abcDósa, György; Sgall, Jiri (2013)."First Fit bin packing: A tight analysis".30th International Symposium on Theoretical Aspects of Computer Science (STACS 2013).20. Schloss Dagstuhl–Leibniz-Zentrum für Informatik:538–549.doi:10.4230/LIPIcs.STACS.2013.538.
  14. ^abcGyörgy, Dósa; Sgall, Jirí (2014). "Optimal Analysis of Best Fit Bin Packing".Automata, Languages, and Programming. Lecture Notes in Computer Science. Vol. 8572. pp. 429–441.doi:10.1007/978-3-662-43948-7_36.ISBN 978-3-662-43947-0.
  15. ^abcdeYao, Andrew Chi-Chih (April 1980)."New Algorithms for Bin Packing".Journal of the ACM.27 (2):207–227.doi:10.1145/322186.322187.S2CID 7903339.
  16. ^abcdefgLee, C. C.; Lee, D. T. (July 1985)."A simple online bin-packing algorithm".Journal of the ACM.32 (3):562–572.doi:10.1145/3828.3833.S2CID 15441740.
  17. ^Donna J, Brown (1979)."A Lower Bound for On-Line One-Dimensional Bin Packing Algorithms"(PDF).Technical Rept.Archived(PDF) from the original on March 17, 2022.
  18. ^Liang, Frank M. (1980). "A lower bound for on-line bin packing".Information Processing Letters.10 (2):76–79.doi:10.1016/S0020-0190(80)90077-0.
  19. ^van Vliet, André (1992). "An improved lower bound for on-line bin packing algorithms".Information Processing Letters.43 (5):277–284.doi:10.1016/0020-0190(92)90223-I.
  20. ^Balogh, János; Békési, József; Galambos, Gábor (July 2012)."New lower bounds for certain classes of bin packing algorithms".Theoretical Computer Science.440–441:1–13.doi:10.1016/j.tcs.2012.04.017.
  21. ^abRamanan, Prakash; Brown, Donna J; Lee, C.C; Lee, D.T (September 1989). "On-line bin packing in linear time".Journal of Algorithms.10 (3):305–326.doi:10.1016/0196-6774(89)90031-X.hdl:2142/74206.
  22. ^abcSeiden, Steven S. (2002). "On the online bin packing problem".Journal of the ACM.49 (5):640–671.doi:10.1145/585265.585269.S2CID 14164016.
  23. ^abcDósa, György (2007). "The Tight Bound of First Fit Decreasing Bin-Packing Algorithm Is FFD(I) ≤ 11/9\mathrm{OPT}(I) + 6/9".Combinatorics, Algorithms, Probabilistic and Experimental Methodologies. ESCAPE.doi:10.1007/978-3-540-74450-4_1.
  24. ^Baker, B. S.; Coffman, Jr., E. G. (1981-06-01)."A Tight Asymptotic Bound for Next-Fit-Decreasing Bin-Packing".SIAM Journal on Algebraic and Discrete Methods.2 (2):147–152.doi:10.1137/0602019.ISSN 0196-5212.{{cite journal}}: CS1 maint: multiple names: authors list (link)
  25. ^Csirik, J.; Galambos, G.; Frenk, J.B.G.; Frieze, A.M.; Rinnooy Kan, A.H.G. (1986-11-01)."A probabilistic analysis of the next fit decreasing bin packing heuristic".Operations Research Letters.5 (5):233–236.doi:10.1016/0167-6377(86)90013-1.hdl:1765/11645.ISSN 0167-6377.S2CID 50663185.
  26. ^Fisher, David C. (1988-12-01)."Next-fit packs a list and its reverse into the same number of bins".Operations Research Letters.7 (6):291–293.doi:10.1016/0167-6377(88)90060-0.ISSN 0167-6377.
  27. ^abJohnson, David S; Garey, Michael R (October 1985)."A 7160 theorem for bin packing".Journal of Complexity.1 (1):65–106.doi:10.1016/0885-064X(85)90022-6.
  28. ^abYue, Minyi; Zhang, Lei (July 1995). "A simple proof of the inequality MFFD(L) ≤ 71/60 OPT(L) + 1,L for the MFFD bin-packing algorithm".Acta Mathematicae Applicatae Sinica.11 (3):318–330.doi:10.1007/BF02011198.S2CID 118263129.
  29. ^Fernandez de la Vega, W.; Lueker, G. S. (1981). "Bin packing can be solved within 1 + ε in linear time".Combinatorica.1 (4):349–355.doi:10.1007/BF02579456.ISSN 1439-6912.S2CID 10519631.
  30. ^Claire Mathieu."Approximation Algorithms Part I, Week 3: bin packing".Coursera.Archived from the original on 2021-07-15.
  31. ^abRothvoß, T. (2013-10-01). "Approximating Bin Packing within O(log OPT · Log Log OPT) Bins".2013 IEEE 54th Annual Symposium on Foundations of Computer Science. pp. 20–29.arXiv:1301.4010.doi:10.1109/FOCS.2013.11.ISBN 978-0-7695-5135-7.S2CID 15905063.
  32. ^abHoberg, Rebecca; Rothvoss, Thomas (2017), "A Logarithmic Additive Integrality Gap for Bin Packing",Proceedings of the Twenty-Eighth Annual ACM-SIAM Symposium on Discrete Algorithms, SIAM, pp. 2616–2625,arXiv:1503.08796,doi:10.1137/1.9781611974782.172,ISBN 978-1-61197-478-2,S2CID 1647463
  33. ^Karmarkar, Narendra; Karp, Richard M. (November 1982)."An efficient approximation scheme for the one-dimensional bin-packing problem".23rd Annual Symposium on Foundations of Computer Science (SFCS 1982). pp. 312–320.doi:10.1109/SFCS.1982.61.S2CID 18583908.
  34. ^Martello & Toth 1990, pp. 237–240.
  35. ^Korf, Richard E. (2002).A new algorithm for optimal bin packing(PDF). AAAI-02.
  36. ^Richard E. Korf (2003),An improved algorithm for optimal bin packing. Proceedings of the International Joint Conference on Artificial Intelligence, (pp. 1252–1258)
  37. ^Schreiber, Ethan L.;Korf, Richard E. (2013),"Improved Bin Completion for Optimal Bin Packing and Number Partitioning"(PDF),Proceedings of the Twenty-Third International Joint Conference on Artificial Intelligence, IJCAI '13, Beijing, China: AAAI Press, pp. 651–658,ISBN 978-1-57735-633-2
  38. ^abMandal, C. A.; Chakrabarti, P. P.; Ghose, S. (1998-06-01)."Complexity of fragmentable object bin packing and an application".Computers & Mathematics with Applications.35 (11):91–97.doi:10.1016/S0898-1221(98)00087-X.ISSN 0898-1221.
  39. ^Nir Menakerman and Raphael Rom "Bin Packing with Item Fragmentation". Algorithms and Data Structures, 7th International Workshop, WADS 2001, Providence, RI, USA, August 8-10, 2001, Proceedings.
  40. ^Bertazzi, Luca; Golden, Bruce; Wang, Xingyin (2019-05-31)."The Bin Packing Problem with Item Fragmentation:A worst-case analysis".Discrete Applied Mathematics. GO X Meeting, Rigi Kaltbad (CH), July 10--14, 2016.261:63–77.doi:10.1016/j.dam.2018.08.023.ISSN 0166-218X.S2CID 125361557.
  41. ^Shachnai, Hadas; Tamir, Tami; Yehezkely, Omer (2006)."Approximation Schemes for Packing with Item Fragmentation". In Erlebach, Thomas; Persinao, Giuseppe (eds.).Approximation and Online Algorithms. Lecture Notes in Computer Science. Vol. 3879. Berlin, Heidelberg: Springer. pp. 334–347.doi:10.1007/11671411_26.ISBN 978-3-540-32208-5.
  42. ^Ekici, Ali (2021-02-01)."Bin Packing Problem with Conflicts and Item Fragmentation".Computers & Operations Research.126 105113.doi:10.1016/j.cor.2020.105113.ISSN 0305-0548.S2CID 225002556.
  43. ^Casazza, Marco; Ceselli, Alberto (2014-06-01)."Mathematical programming algorithms for bin packing problems with item fragmentation".Computers & Operations Research.46:1–11.doi:10.1016/j.cor.2013.12.008.ISSN 0305-0548.
  44. ^Malaguti, Enrico; Monaci, Michele; Paronuzzi, Paolo; Pferschy, Ulrich (2019-03-16)."Integer optimization with penalized fractional values: The Knapsack case".European Journal of Operational Research.273 (3):874–888.doi:10.1016/j.ejor.2018.09.020.hdl:11585/657029.ISSN 0377-2217.S2CID 31722681.
  45. ^Coffman, E. G; Garey, M. R; Johnson, D. S (1987-12-01)."Bin packing with divisible item sizes".Journal of Complexity.3 (4):406–428.doi:10.1016/0885-064X(87)90009-4.ISSN 0885-064X.
  46. ^Krause, K. L.; Shen, V. Y.; Schwetman, H. D. (1975-10-01)."Analysis of Several Task-Scheduling Algorithms for a Model of Multiprogramming Computer Systems".Journal of the ACM.22 (4):522–550.doi:10.1145/321906.321917.ISSN 0004-5411.S2CID 10214857.
  47. ^Kellerer, H.; Pferschy, U. (1999-01-01)."Cardinality constrained bin-packing problems".Annals of Operations Research.92:335–348.doi:10.1023/A:1018947117526.ISSN 1572-9338.S2CID 28963291.
  48. ^abAnily, Shoshana; Bramel, Julien; Simchi-Levi, David (1994-04-01)."Worst-Case Analysis of Heuristics for the Bin Packing Problem with General Cost Structures".Operations Research.42 (2):287–298.doi:10.1287/opre.42.2.287.ISSN 0030-364X.
  49. ^Cohen, Maxime C.; Keller, Philipp W.; Mirrokni, Vahab; Zadimoghaddam, Morteza (2019-07-01)."Overcommitment in Cloud Services: Bin Packing with Chance Constraints".Management Science.65 (7):3255–3271.arXiv:1705.09335.doi:10.1287/mnsc.2018.3091.ISSN 0025-1909.S2CID 159270392.
  50. ^Johnson, David S. (2016),"Vector Bin Packing", in Kao, Ming-Yang (ed.),Encyclopedia of Algorithms, New York, NY: Springer New York, pp. 2319–2323,doi:10.1007/978-1-4939-2864-4_495,ISBN 978-1-4939-2863-7, retrieved2025-05-15
  51. ^Chung, Yerim; Park, Myoung-Ju (2015-01-01)."Notes on inverse bin-packing problems".Information Processing Letters.115 (1):60–68.doi:10.1016/j.ipl.2014.09.005.ISSN 0020-0190.
  52. ^Boyar, Joan; Epstein, Leah; Favrholdt, Lene M.; Kohrt, Jens S.; Larsen, Kim S.; Pedersen, Morten M.; Wøhlk, Sanne (2006-10-11)."The maximum resource bin packing problem".Theoretical Computer Science.362 (1):127–139.doi:10.1016/j.tcs.2006.06.001.ISSN 0304-3975.
  53. ^Huang, Xin; Lu, Pinyan (2020-11-10). "An Algorithmic Framework for Approximating Maximin Share Allocation of Chores".arXiv:1907.04505 [cs.GT].
  54. ^Ma, Ruixin; Dósa, György; Han, Xin; Ting, Hing-Fung; Ye, Deshi; Zhang, Yong (2013-08-01)."A note on a selfish bin packing problem".Journal of Global Optimization.56 (4):1457–1462.doi:10.1007/s10898-012-9856-9.ISSN 0925-5001.S2CID 3082040.
  55. ^"3D Bin Packing: The Tetris of Logistics".www.optioryx.com. Retrieved2026-01-06.
  56. ^Lodi A., Martello S., Monaci, M., Vigo, D. (2010) "Two-Dimensional Bin Packing Problems". In V.Th. Paschos (Ed.),Paradigms of Combinatorial Optimization, Wiley/ISTE, pp. 107–129
  57. ^Kanavathy L.R., Dube E. (2006) Proceedings of the Sixth IASTED International Conference on Modelling, Simulation, and Optimization, MSOOptimizing Three-Dimensional Bin Packing Through Simulation
  58. ^Benko, Attila; Dosa, Gyorgy; Tuza, Zsolt (2010)."Bin Packing/Covering with Delivery, solved with the evolution of algorithms".2010 IEEE Fifth International Conference on Bio-Inspired Computing: Theories and Applications (BIC-TA). pp. 298–302.doi:10.1109/BICTA.2010.5645312.ISBN 978-1-4244-6437-1.
Abstract packing
Circle packing
Sphere packing
Other 2-D packing
Other 3-D packing
Puzzles
Retrieved from "https://en.wikipedia.org/w/index.php?title=Bin_packing_problem&oldid=1331501776"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp