Modified Integer Linear Programming Model for Bin-Packing Problems

§ University of Peradeniya University of Peradeniya

Send Message

To: Author

Modified Integer Linear Programming Model for Bin-Packing Problems

Article Fingerprint

ReserarchID

W24UK

Modified Integer Linear Programming Model for Bin-Packing Problems Banner

Key Research Insights

Synthesized scholarly intelligence & interactive research assistant
  • English
  • Afrikaans
  • Albanian
  • Amharic
  • Arabic
  • Armenian
  • Azerbaijani
  • Basque
  • Belarusian
  • Bengali
  • Bosnian
  • Bulgarian
  • Catalan
  • Cebuano
  • Chichewa
  • Chinese (Simplified)
  • Chinese (Traditional)
  • Corsican
  • Croatian
  • Czech
  • Danish
  • Dutch
  • Esperanto
  • Estonian
  • Filipino
  • Finnish
  • French
  • Frisian
  • Galician
  • Georgian
  • German
  • Greek
  • Gujarati
  • Haitian Creole
  • Hausa
  • Hawaiian
  • Hebrew
  • Hindi
  • Hmong
  • Hungarian
  • Icelandic
  • Igbo
  • Indonesian
  • Irish
  • Italian
  • Japanese
  • Javanese
  • Kannada
  • Kazakh
  • Khmer
  • Korean
  • Kurdish (Kurmanji)
  • Kyrgyz
  • Lao
  • Latin
  • Latvian
  • Lithuanian
  • Luxembourgish
  • Macedonian
  • Malagasy
  • Malay
  • Malayalam
  • Maltese
  • Maori
  • Marathi
  • Mongolian
  • Myanmar (Burmese)
  • Nepali
  • Norwegian
  • Pashto
  • Persian
  • Polish
  • Portuguese
  • Punjabi
  • Romanian
  • Russian
  • Samoan
  • Scots Gaelic
  • Serbian
  • Sesotho
  • Shona
  • Sindhi
  • Sinhala
  • Slovak
  • Slovenian
  • Somali
  • Spanish
  • Sundanese
  • Swahili
  • Swedish
  • Tajik
  • Tamil
  • Telugu
  • Thai
  • Turkish
  • Ukrainian
  • Urdu
  • Uzbek
  • Vietnamese
  • Welsh
  • Xhosa
  • Yiddish
  • Yoruba
  • Zulu
Reading Preferences
Font Size
Line Spacing
Background
This converted HTML version may contain rendering inconsistencies. Please refer to the PDF for the authoritative version, or click here to provide feedback.

Abstract

In this paper, our objective is to compare the solutions obtained from develop mathematical model and general model for Two-Dimensional Bin Packing Problem (BPP) with different sizes of boxes. It has become one of the most important mathematical applications throughout the time. In our study, Modified Branch and Bound Algorithm (MBBA) is developed to generate all the feasible packing patterns of given boxes to required containers for Two-Dimensional BPP. A computer program is developed using Matlab software package to generate feasible packing patterns and optimum packing plan. As a case study, three different sizes of rectangular shape packing items are selected with given demand in order to pack into two different sizes of pallets. Applying the proposed algorithm, demand is satisfied and total unused area significantly minimized. Accordingly, proposed mathematical model is more appropriate for medium size two dimensional BPP.

I. INTRODUCTION

Competence of production system becomes a key factor of the success in today's competitive manufacturing environment and industries. Productivity can be enhanced by minimizing waste, lead time and hence reducing the cost of manufacture. For that reason, Operations Research plays a major role in minimizing manufacture waste. Many people including scientists have contributed and engaged in their research and other activities to overcome above challenges. BPP is become an important way of optimization of resources in manufacturing and trading industries. BPP could be one-dimensional (1D), two-dimensional (2D) and three-dimensional (3D) packing which gives optimum layout of packing items such that to improve the utilization ratio of bins. In other words; minimizing the bin's slack without overlapping the packages. Output obtains by BPP optimize all the aspects of resources while meeting the given supply-demand by minimizing wastage leading to reduction of cost of production. The BPP can be interpreted as a finite collection of items with varying specifications to be packed into one or more box utilizing the maximum volume of the box while satisfying the supply-demand. Each container can hold any subset of the collection of objects without exceeding its capacity (customer requirements). Bin packing is known as container loading, box packing, cargo loading, knapsack, etc. A burning issue faced by the industries is how to find the optimum layout (packing arrangement) of boxes or packing items such that to improve the utilization ratio of bins or minimize the bin slack without overlapping the packages. Researchers have worked on the BPP and used different approaches to solve the existing problem.

Among them, Gilmore et al [1] conducted some of the earliest research in this area and one-dimensional cutting stock problem is solved using Linear Programming Technique. In this study, unlimited numbers of raw materials with different lengths are assumed available in stock, and a mathematical model has been developed to minimize the total cutting cost of the stock length of the feasible cutting patterns and Column Generation Algorithm has been developed to generate feasible cutting patterns. Then, Gilmore has claimed that feasible cutting patterns are increased with the required cutting items and Linear Programming Technique is not applicable to solved mathematical model with too many variables. Gilmore [2] has made an approach for one-dimensional cutting stock problem as an extended of earliest paper (Gilmore et al (1961)) and cutting stock problem has been described as a NP-hard problem. A new and rapid algorithm for the knapsack problem and changes in the mathematical formulation has been evolved and Gilmore has explained the procedure of the Knapsack Method using a test problem. Solve the one dimensional BPP with island parallel grouping genetic algorithms was the main motivation of Dokeroglu T. et al (2014). Combining state-of-the-art computation tools; parallel processing, GGAs and bin oriented heuristics to efficiently solve the intractable one-dimensional BPP. Different size case studies discussed in the paper using Minimum Bin Slack (MBS) and Best Fit Decrease (BFD) / First Fit Decrease (FFD) [3].

Christian Blum and Verena Schmid (2013) have dealt with two-dimensional BPP under free guillotine cutting, a problem in which a set of oriented rectangular items are given which must be packed into minimum number of bins of equal size. An evolutionary algorithm has been discussed and the results of the proposed algorithm are compared with some of the best approaches from the literature [4]. Puchinger has described a combined genetic algorithm/branch & bound approach for solving a real world glass-cutting problem. The Genetic Algorithm uses an order-based representation, which is decoded using a greedy heuristic. The Branch & Bound algorithm was applied with a certain probability enhancing the decoding phase by generating locally optimal sub patterns. Reported results indicate that the approach of occasionally solving sub patterns to optimality may increase the overall solution quality [5]. Rodrigo et al (2012) developed an algorithm, based on Modified Branch and Bound algorithm to determine the feasible cutting patterns for Two-Dimensional cutting stock problem with rectangular shape cutting items. The method was illustrated with the use of a case study, where the data were obtained from a floor tile company known as Mega Marble Company located in London. A computer programme was coded using Matlab inbuilt functions [6]. As an extension of the above study, Rodrigo et al (2012) redesigned the developed algorithm to determine the locations of each cutting item using Cartesian Coordinate Geometry [7]. Other than that, Octarina et al (2019) has used Branch and Bound Algorithm and Gilmore and Gomary model on two dimensional multiple stock size cutting stock problem. A case study has discussed with four stock sizes and five products. Optimum packing schedule illustrated for each stock [8].

Further, Fernandez (2010) has presented a method to find Integer Solutions to One-dimensional CSP to minimize the trim loss or to minimize the number of master rolls needed to satisfy the orders. Integer linear programming models for the One-dimensional CSP with different objective cost functions have been considered. Fernandez has studied an approach based on the classical column-generation procedure by Gilmore and Gomary for solving the linear programming (LP) relaxations. Also to obtain an integer solution, a final integer CSP after using an extra column-generation procedure has been solved [9]. Also, Jatinder N. D. Gupta and Johnny C. (1999) have described a new Heuristic Algorithm to solve the one-dimensional Bin Packing problem. Effectiveness of the proposed algorithm has been compared with the First Fit Decreasing (FFD) and the Best Fit Decreasing (BFD) algorithms using five different data sets [10].

In this paper, packing items with rectangular shapes are selected to nest into pallets with rectangular shape base. An algorithm based on MBBA and a computer program using Matlab software package to generate feasible packing patterns and to solve the formulated integer linear programming model is used. Then, the optimum packing schedule obtained from MILPP with the results of BBA with Gilmore & Gomory for BPP are compared.

Minimize z=∑k=1r∑j=1ncjkxjk (Total Unused area)

Subject to ∑j=1npijkxjk≥di for all i=1,2,...,m (Demand Constraints)

xjk,pijk≥0 and integer for all i,j,k.

where r=Number of containers, m = Number of items

n= Number of patterns,

pijk=The number of occurrences of the ith item in the jth pattern of the kth container, cjk=Unused area for each jth pattern of the kth container,

di=Demand of the ith item,

xjk= The number of containers used to be packed according to the jth pattern.

According to the mathematical model developed by Gilmore and Gomory, total unused area is minimized with satisfying the customer requirements. Sometimes, it is impracticable to obtain the optimal packing schedule only minimizing the unused area. Because, the total number of pieces of each packing item should be satisfy at least the demand of each packing item. That is there can be more pieces than to the demand of packing items in the optimal packing schedule. In this context, allocating extra pieces of each packing item is wastage.

In order to rectify the above disparity, mathematical model has developed to meet the exact demand.

Modified Integer Linear Programming Problem (MILPP) for BPP:

Minimize z=∑k=1r∑i=1m∑j=1n[(aijkxjk)−(di′xjk)]

(Totalpackingitemsused fromeachitem)

Subject to ∑j=1naijkxjk≥di for all i=1,2,…,m

(DemandConstraints)

k=1,2,…,r

xjk,aijk≥0 and integer for all i,j,k

where r=Number of containers,

m= Number of pieces,

n= Number of patterns,

aijk=The number of occurrences of the iht item in the jth pattern of the kth container,

cjk= Unused packing area for each jth pattern of the kth container,

di=Demand value of the ith item,

xjk=The number of containers should be used according to the jth pattern from thekth container.

c) Modified Branch and Bound Algorithm in stepwise form:

Step 1: Arrange required lengths, Lk, k = 1, 2,..., r in decreasing order, ie L1>L2>…>Lr, where r = number containers.

Arrange required widths, Wk, k=1,2,…,r

according to the corresponding length Lk, k=1,2,…,r.

Notes

Step 2: Arrange required lengths, li, i = 1, 2,..., m in decreasing order, ie l1>l2>…>lm, where m = number of packing items.

Arrange required widths, wi, i=1,2,…,m according to the corresponding length li, i=1,2,…,m.

Step 3: For i=1,2,…,m and j=1 do Steps 4 to 6.

Step 4: Set a111=[[L1/l1]];

(B. 1)aijk=[[(Lk−∑z=1i−1azjklz)/li]],

where Lk is the length of the base of the kth container.

Here, aijk is the number of pieces of the ith packing items in the jth pattern of the kth container along the length of the kht container and [[y]] is the greatest integer les than or equal to y.

Step 5: If aijk>0, then set

(B. 2)bijk=[[Wk/wi]],

else set bijk=0, where Wk is the width of the base of the kht container.

Here, bijk is the number of pieces of the ith packing item in the jth pattern along the width of the base of the kth container.

Step 6: Set pijk=aijk×bijk, where pijk is the number of pieces of the ith item in the jth pattern of the kth container.

Step 7: Unused packing area (i) Unused packing area along the length of the kht container:

cuk=(Lk−∑i=1maijkli)×Wk
Fori=1,2,…,m
 If (Lk−∑i=1maijkli)≥wi and Wk≥li, then 
pijk=pijk+(Aijk×Bijk).

else set Aijk=0;

Bijk=0;
Pijk=Pijk.

If Aijk>0, then

setCuk=[(Lk−∑i=1maijkli)−Aijkwi]×Bijkli;
Cvk=(Lk−∑i=1maijkli)×(Wk−Bijkli).
elseCuk=(Lk−∑i=1maijkli)×Wk,

where, Aijk and Bijk are the number of pieces of the ith item in the jth pattern of the kht container along the length and width of the cuk rectangle respectively and Cuk and Cvk are the total unused area along the length and width of the cuk rectangle respectively.

(ii) Unused area along the width of the container:

cvk=(aijk×li)×Kijk.
Here,Kijk=Wk−(bijk×wi);
 If (bijk×wi)=0, then 
 set Kijk=0,

where Kijk is the remaining width of each item in each pattern.

For z≠i

If (aijk×li)≥lz and Kijk≥wz, then

 set Azjk=[[((aijk×li)lz)]];
setCuk=((aijk×li)−(Azjk×lz))×Bzjkwz;
Cvk=(aijk×li)×(Kijk−(Bzjk×lz)).
elseCvk=(aijk×li)×(Kijk−(Bzjk×lz)),

where, Azjk and Bzjk are the number of pieces of the ith item in the jth pattern of the kht container along the length and width of the cvk rectangle respectively. Cu and Cv are the total unused area along the length and width of the cvk rectangle respectively.

Step 8: Set r = m - 1.

While r>0, do Step 9.

Step 9: While arjk>0

set j=j+1 and do Step 10.

Step 10: If arjk≥brjk, then generate a new pattern according to the following conditions:

\begin{array}{c} \text {For z = 1,2,...,r - 1} \\\text {set a_{zjk} = a_{z(j - 1)k} ;} \\b _ {z j k} = b _ {z (j - 1) k}. \end{array}

For z=r

 set azjk=az(j−1)k−1;
 if azjk>0, then set bzjk=[[Wkwz]];

else set bzjk=0.

For z=r+1,…,m

calculate azjk and bzjk using Equations (2.3) and (2.4). Go to Step 5. else generate a new pattern according to the following conditions:

Forz=1,2,…,r−1
setazjk=az(j−1)k;
bzjk=bz(j−1)k.

For z=r

 set azjk=az(j−1)k;
bzjk=bz(j−1)k−1.
Table 1: The sizes of the stocks
ith stockLength (inches)Width (inches)
12414
22413
31810
41310
Table 2: The sizes and demands of the products III. RESULTS AND DISCUSSION
ithproductLength (inches)Width (inches)Number of Demand
1852
2743
3532
4425
5215

MBBA is applied to the above examples to generate feasible packing patterns. Effectiveness of the proposed Integer Linear Programming Problem has been compared with the results given in the paper [8].

Table 1: No of bins for problems given in the paper [8]
No of Containers from different algorithms with LP modelsMBBA with MILPPBBA with Gilmore & Gomory model
ith stock
111
211
322
423

In this study, feasible packing patterns are generated using MBBA and the integer linear programming model developed by Gilmore and Gomory and MILPP are applied to generate the optimum packing schedule. According to the optimum solution obtain from MILPP, only 2 plates of 13 inches 10 inches are used to fulfil the customer demand while 3 plates of 13 inches 10 inches are used with Gilmore and Gomory model. Comparing the solutions obtained from MBBA with MILPP and BBA with Gilmore and Gomory model, it is clear that the less number of plates needed to satisfy the customer demand using the proposed method in this research than to the BBA with Gilmore and Gomory model [8].

References

10 Cites in Article
  1. 1. P Gilmore,R Gomory (1961). A Linear Programming Approach to the Cutting Stock Problem. Operations Research, 9(2), 849-859.
  2. 2. P Gilmore,R Gomory (1963). A Linear Programming Approach to the Cutting Stock Problem—Part II. Operations Research, 11(6), 863-888.
  3. 3. T Dokeroglu,M Bayir,A Cosar (2014). Integer linear programming solution for the multiple query optimization problem. Information Science and Systems, 51-60.
  4. 4. B Christian,S Verena (2013). Solving the 2D bin packing problem by means of a Hybrid Evolutionary Algorithm. International Conference on Computational Science, 899-908.
  5. 5. Jakob Puchinger,Günther Raidl,Gabriele Koller (2004). Solving a Real-World Glass Cutting Problem. Lecture Notes in Computer Science, 165-176.
  6. 6. W Rodrigo,W Daundasekera,A Perera (2012). A Method for Two-Dimensional Cutting Stock Problem with Triangular Shape Items. British Journal of Mathematics & Computer Science, 3(4), 750-771.
  7. 7. Wnp Rodrigo,W Daundasekera,Aai Perera (2012). Pattern Generation for Two-Dimensional Cutting Stock Problem with Location. Indian Journal of Computer Science and Engineering, 3(2), 354-368.
  8. 8. Sisca Octarina,Vinny Ananda,Evi Yuliza (2019). Gilmore and gomory model on two dimensional multiple stock size cutting stock problem. Journal of Physics: Conference Series, 1282(1), 012015.
  9. 9. L Fern´andez,L Fern´andez,C Pola (2010). Integer Solutions to Cutting Stock Problems. 2nd International Conference on Engineering Optimization
  10. 10. N Jatinder,Johnny Gupta (1999). A new heuristic algorithm for the onedimensional bin-packing problem. Production planning and Control, 10(6), 598-603.

Funding

No external funding was declared for this work.

Conflict of Interest

The authors declare no conflict of interest.

Ethical Approval

No ethics committee approval was required for this article type.

Data Availability

Not applicable for this article.

How to Cite This Article

Niluka P. Rodrigo, W. B. Daundasekera, A. A.I. Perera. 2020. "Modified Integer Linear Programming Model for Bin-Packing Problems". Global Journal of Science Frontier Research - F: Mathematics & Decision GJSFR-F Volume 20 (GJSFR Volume 20 Issue F8).

More Citation Formats

Download Citation

Journal Specifications

Crossref Journal DOI 10.17406/GJSFR

Print ISSN 0975-5896

e-ISSN 2249-4626

Keywords
Classification
GJSFR-F Classification MSC 2010: 15A86
Version of record

v1.2

Issue date
December 15, 2020

Language
English
Order Article Reprint
Experience in AR

Explore published articles in an immersive Augmented Reality environment. Our platform converts research papers into interactive 3D books, allowing readers to view and interact with content using AR and VR compatible devices.

Read in 3D

Your published article is automatically converted into a realistic 3D book. Flip through pages and read research papers in a more engaging and interactive format.

Article Matrices
Total Views: 966
Total Downloads: 77
All Trends

Request Access

Please fill out the form below to request access to this research paper. Your request will be reviewed by the editorial or author team.
X

This is the heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

High-quality academic research articles on global topics and journals.

Modified Integer Linear Programming Model for Bin-Packing Problems

Niluka Rodrigo
Niluka Rodrigo University of Peradeniya
W. Daundasekera
W. Daundasekera <p>University of Peradeniya</p>
A. Perera
A. Perera <p>University of Peradeniya</p>