SlideShare a Scribd company logo
1 of 11
Download to read offline
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
DOI:10.5121/ijfcst.2015.5401 1
BIN PACKING PROBLEM: TWO APPROXIMATION
ALGORITHMS
AbdolahadNoori Zehmakan
Department of Computer Science, Sharif University of Technology, Tehran, Iran
ABSTRACT
The Bin Packing Problem is one of the most important optimization problems. In recent years, due to its
NP-hard nature, several approximation algorithms have been presented. It is proved that the best
algorithm for the Bin Packing Problem has the approximation ratio 3/2 and the time orderO(n),
unlessP=NP. In this paper, first, a -approximation algorithm is presented, then a modification to FFD
algorithm is proposed to decrease time order to linear. Finally, these suggested approximation algorithms
are compared with some other approximation algorithms. The experimental results show the suggested
algorithms perform efficiently.
In summary, the main goal of the research is presenting methods which not only enjoy the best theoretical
criteria, but also perform considerably efficient in practice.
KEYWORDS
Bin Packing Problem, approximation algorithm, approximation ratio, optimization problems, FFD (First-
Fit Decreasing)
1. INTRODUCTION
The Bin Packing Problem has several applications, including filling containers, loading trucks
with weight capacity constraints, creating file backups in removable media and technology
mapping in Field-programmable gate arraysemiconductor chip design. Unfortunately, this
problem is NP-hard therefore many approximation algorithms [1,2,3,4,5] have been suggested.
In computer science and operational research, approximation algorithms are used to find
approximate solutions to optimization problems. Approximation algorithms are often associated
with NP-hard problems. They are also increasingly used for problems where exact polynomial-
time algorithms are known but too expensive due to the input size. The quality and ability of an
approximation algorithm depend on its approximation ratio and time order. For some
approximation algorithms, it is possible to prove certain properties about the approximation of the
optimal result. A ρ-approximation algorithm A is defined to be an algorithm for which it been
proven that the value of the approximate solution A(x) to an instance x will not be more (or less,
depending on the situation) than a factor ρ times the value, OPT, of an optimum solution.
In the classical one-dimensional Bin Packing Problem, a list of items = { , . . . , }, each with a
size ∈ 0,1 , is given and we are asked to pack them into minimum number of unit-
capacity bins.
Many variations of this problem is proposed, such as 2D and 3D bin packing [6,7,8,9,10], with
item fragmentation [11], fragile objects [12,13], extendable bins [14] packing by cost [3] and
variable size bin packing [15]. In this paper, the original and off-line version of the problem is
considered, due to its applications and importance.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
2
Simchi-Levi in [16] proved that the FF (First-Fit) and BF (Best-Fit) algorithms, two of the
foremost approximation algorithms for the Bin Packing Problem, have an absolute worst-case
ratio of 7/4. He also proved that the FFD and BFD algorithms have an absolute worst-case ratio
of 3/2. Zhang and Cai in [17] provided a linear time constant space off-line approximation
algorithm with absolute approximation ratio of 3/2. Their algorithm depends on two kind of
active and extra bins and follows a simple but exact procedure. In 2003, Rudolf and Florian in
[18] presented an approximation algorithm for the BPP with a linear running time and an absolute
approximation factor of 3/2. As mentioned, it is proven that the best algorithm for the Bin
Packing Problem has the approximation ratio of 3/2 and the time order of	 , unless	 =
[16].
In [20] Martel defined the asymptotic approximation ratio instead of the approximation ratio and
proved his proposed algorithm has a 4/3 asymptotic approximation ratio. Furthermore, in [20] the
method of Martel was expanded and a 5/4 asymptotic approximation algorithm was suggested.
In this paper two new approximation algorithms are presented. The first algorithm works based
on a kind of sorting and after classification items into 4 ranges tries to choose the best matching
between them. The second algorithm is a time improved version of FFD. In this algorithm, we try
to decrease FFD time order while maintaining the instructive qualities of FFD and its
performance.
Finally, the two suggested algorithms are compared with two approximation algorithms [17,18],
and FFD. Experimental results show the two suggested algorithms perform much better than the
others.
The reminder of this paper is organized as follows. In section 2, two suggested algorithms are
presented. Furthermore, it is proved that the approximation factor of the first algorithm is 3/2.
Then in sections 3 the experimental results and computational analysis are discussed. Finally, in
section 4 conclusions of the results are drawn and some methods for enhancing previous
algorithms are suggested.
2. THE PROPOSED ALGORITHMS
In this section, two proposed algorithm A1 and A2 are discussed. Algorithm A1 utilizes ranging
technique and classifies inputs into 4 ranges. It will be proved that this algorithm's approximation
ratio is 3/2. Furthermore, a new linear version of FFD algorithm is presented.
2.1. The Proposed Algorithm A1
The algorithm tries to create output bins which are at least 2/3 full. It is proved that in this
condition the approximation ratio of the algorithm is 3/2.
As mentioned, in this algorithm inputs are classified into 4 ranges (0- ), ( -
.
), (
.
- ) and ( -1)
called , , and , respectively.
In first step, items are put in separate output bins, then and are sorted. We try to match
any item in with the biggest possible item in . Obviously, after that this step, some items
will be remained in and . We match items with each other and add
| |
to ! −
#$% &'( (The number of used bins). In next step, we try to match items with items. Finally,
items are matched with each other.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
3
Definition1: ) is the number of bins in OPT solution and )∗
is the number of bins in the
proposed algorithm.
Lemma1: If at least size of each output bin is full, the approximation ratio is at least .
Proof: consider the worst condition that all output bins are completely full in OPT solution.
Suppose that W is the sum of input items. In this condition:
≥ ,		&	 ∗
≤
,
⇒ ∗
/ ≤
3
2
∎
Theorem1: The proposed algorithm A1 is a -approximation algorithm.
Proof: Based on the algorithm in first step, all items are put in separated bins and obviously at
least 2/3 size of these output bins are full. After that, some items are matched with some
items. Definitely, in this step at least 2/3 size of output bins are also full since a item is at least
1/3 and a item is at least 1.5/3. Consequently, their sum is at least 2/3.
In next step, items are matched with each other 2 by 2 and put in separated bins. At least 2/3
size of these bins are full since an item is at least 1/3. After that the rest of items with
items are matched. Now there are two cases:
Case1:
4567	48
| 6|
>
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
4
Case2:
4567	48
| 6|
≤
, : The sum of all items which remain in this step.
,: : The sum of all S items.
| 2| : The number of all items which are remain in this step.
We claim all output bins are more than fill in this step. According on the algorithm, at first we
match some items with some items. Obviously the output bins in this step are more than
full because a item is no more than and we close a bin when it does not have enough space for
a S item. After that, two configurations are possible:
C1: If there are just some items left we put all of them into separate bins therefore the number
of output bins is | 2|. Consequently the average of the output bins equals
4567	48
| 6|
that is more
than based on case1 assumption.
C2: If there are only some items, the output bins in this step are also more than full because a
item is at most .
In case2, the bins that have some S items like case1 are at least full. Therefore we only consider
the bins which have only one item. We claim that in the OPT solution these items are also
associated separate bins because:
On one hand, they cannot be matched with the items and with the items because a bin does
not have enough space for an item and an item or for two items. On the other hand, if a
item (primary item) is matched with a item in the OPT solution, in the suggested
algorithm it will be matched with a item or its complement (meaning the item matched
with it in the OPT solution) is matched with another item (second item). The second
item is bigger than the primary item since the items are sorted. Therefore, the primary
item can be put in every bin that the second has been put (in this condition the algorithm has
been performed better than OPT solution until now).
Based on the mentioned reasons and discussions, for any output bin in the proposed algorithm
which is less than full, there is a bin in the OPT solution that its used capacity is equal or less
than it. Furthermore, all other bins are more than full. In conclusion, based on the lemma1 the
approximation ratio of the suggested algorithm is . ∎
2.2. The Proposed Algorithm A2
As mentioned, the second proposed algorithm is based on the Firs-Fit Decreasing algorithm. In
FFD, the items are packed in order of non-decreasing size, and next item is always packed into
the first bin in which it fits; that is, we first open bin1 and we only start bin k+1 when the current
item does not fit into any of the bins 1, … , <.
In the algorithm A2, we consider 10 classes of bins and 10 ranges of items and in any step we
check at most one bin in each class. The order of choosing items and checking the bins classes are
considered completely intelligently. A pseudocode of the algorithm A2is shown.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
5
Obviously, the running time of the algorithm A2 is (n is the number of input items) since for
making decision about each item the algorithm at most spend 10 time-unit for checking 10 classes
of bins.
We also can make the algorithm more efficient and consider the Scale Parameter r that shows the
number of ranges and bins classes in the algorithm. This parameter can be chosen based on the
number of inputs. For instance, if the number of inputs is 10 =
is reasonable choose ( = 10
instead of ( = 10.
3. COMPUTATIONAL RESULTS
In this section, at first the computational results of two suggested algorithms and three other
algorithms are presented, and it is shown that the proposed algorithms perform considerably
much more efficient. Furthermore, we compare the algorithm A1 with the Algorithm A2 from an
application point of view and their utilization in variant fields and stipulations.
In this section, the two proposed algorithms are compared with two other approximation
algorithms [18, 19] which are the only algorithms have the best possible approximation ratio.
This comparison has been drawn based on all standard instances for BPP from OR-LIBRARY
[21]. We define Ratio as the proportion of the proposed algorithm solution to the OPT solution.
Obviously, ratiohas a direct relationship with algorithm’s approximation ratio. Consequently,
ratio is utilized as a factor for measuring approximation algorithms’ performances.
As mentioned, the standard instances in OR-LIBRARY are used for simulations. Each set of
instances contains 20 instances for the Bin Packing Problem. The two proposed algorithm have
been compared with the Guochuan's algorithm [17], and the Berghammer's algorithm [18] based
on the 8 set of instances. The results of these comparisons for bp1, bp2, bp3, bp4, bp5, bp6, bp7
and bp8 are shown in Fig1, Fig2, Fig3, Fig4, Fig5, Fig6, Fig7, Fig8, respectively.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
Figure 1. The ratios of the algorithms for the set
Figure 2. The ratios of the algorithms for the set problems of instance bp2
Figure 3. The ratios of the algorithms for the set problems of instance bp3
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
The ratios of the algorithms for the set problems of instance bp1
The ratios of the algorithms for the set problems of instance bp2
The ratios of the algorithms for the set problems of instance bp3
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
6
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
Figure 4. The ratios of the algorithms for the set problems of
Figure 5. The ratios of the algorithms for the set problems of instance bp5
Figure 6. The ratios of the algorithms for the set problems of instance bp6
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
The ratios of the algorithms for the set problems of instance bp4
The ratios of the algorithms for the set problems of instance bp5
The ratios of the algorithms for the set problems of instance bp6
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
7
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
Figure 7. The ratios of the algorithms for the set problems of instance bp7
Figure 8. The ratios of the algorithms for the set problems of instance bp8
The diagrams show the two
algorithms. As mentioned, the
the best possible approximation factor. Furthermore, the algorithm
acceptable than the algorithm
similarity between performances of
The results are measured for 20 instances in any class, but for simplification of understanding
the points corresponding to an algorithm are joined by a line.
In Fig9, the average of the simulations results is shown for four mentioned algorithms for the
all sets of instances. This diagram shows that the proposed algorithm
performs more efficiently. After that, the suggested algorithm
performance. Therefore, two suggested algorithms are completely superior to two other ones,
in practice.
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
The ratios of the algorithms for the set problems of instance bp7
The ratios of the algorithms for the set problems of instance bp8
two suggested algorithms perform much better than
algorithms. As mentioned, the two other algorithms are only approximation algorithms with
the best possible approximation factor. Furthermore, the algorithm A1 performance is more
acceptable than the algorithm A2. Another interesting point in the experimental results is the
ween performances ofGuochuan's algorithm, and the Berghammer
The results are measured for 20 instances in any class, but for simplification of understanding
the points corresponding to an algorithm are joined by a line.
f the simulations results is shown for four mentioned algorithms for the
all sets of instances. This diagram shows that the proposed algorithm A1 in all instances
performs more efficiently. After that, the suggested algorithm A2 has much better
. Therefore, two suggested algorithms are completely superior to two other ones,
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
8
suggested algorithms perform much better than two other
other algorithms are only approximation algorithms with
performance is more
. Another interesting point in the experimental results is the
Berghammer's algorithm.
The results are measured for 20 instances in any class, but for simplification of understanding
f the simulations results is shown for four mentioned algorithms for the
in all instances
has much better
. Therefore, two suggested algorithms are completely superior to two other ones,
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
Figure 9. The average of ratios for the 4 algorithms based on the all instances
In Fig 10, the experimental results of the
based on the all sets of instances.
Figure 10. The average of ratios for two suggested algorithms and FFD based on the all instances
The results show that the two suggested algorithms perform much better than
bp5, bp6, bp7, and bp8, but the
bp3 and bp4. It seems their performances are very similar in average. We claim that the
suggested algorithms are more effective and efficient than
order are similar, but FFD is an on
algorithm) while the algorithm A1
superior to FFD because it is a linear time algorithm while the running time of
even in worst-case .
We drew the conclusion that the algorithms
criteria, but also execute better than other ones
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
The average of ratios for the 4 algorithms based on the all instances
In Fig 10, the experimental results of the two suggested algorithms and FFD algorithm are shown
based on the all sets of instances.
The average of ratios for two suggested algorithms and FFD based on the all instances
suggested algorithms perform much better than FFD
bp5, bp6, bp7, and bp8, but the FFD algorithm performances are more acceptable in bp1, bp2,
bp3 and bp4. It seems their performances are very similar in average. We claim that the
suggested algorithms are more effective and efficient than FFD. The algorithm A1 and
is an on-line space algorithm (it means that it save all bins during the
algorithm) while the algorithm A1 use much less space. Furthermore, the algorithm
is a linear time algorithm while the running time of FFD
We drew the conclusion that the algorithms A1 and A2 not only enjoy the best possible theoretical
than other ones in practice, but a natural question which comes up
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
9
algorithm are shown
The average of ratios for two suggested algorithms and FFD based on the all instances
FFD algorithm in
algorithm performances are more acceptable in bp1, bp2,
bp3 and bp4. It seems their performances are very similar in average. We claim that the two
and FFD time
line space algorithm (it means that it save all bins during the
use much less space. Furthermore, the algorithm A2 is also
FFD is >$?
not only enjoy the best possible theoretical
, but a natural question which comes up
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
10
is that "Which algorithm should be used in practice, A1 or A2?". The answer is that it depends. In
the following paragraphs we try to clarify this point.
Firstly, obviously if the important factor is accuracy, AlgorithmA1 is the better one, but if the
significant criterion is speed, AlgorithmA2 will be the choice inasmuch as AlgorithmA1 shows
better performance based on the aforementioned outputs; on the other hand, AlgorithmA2 is a
linear time algorithm. Another point which can be taken into consideration is that AlgorithmA1 is
a constant-space one while the second one is not. Therefore, if space order is a noteworthy factor,
we should exploit AlgorithmA1.
Needless to say, if the input items are almost sorted, the algorithm A1 performs a lot better, but if
the number of input items is significantly high or they are distributed homogenously, the
algorithm A2 will be the option In that AlgorithmA1 needs to sort the items, and the algorithm A2
is much more flexible and is able to use Scale Factor. The aforementioned computational results
confirm this claim because the number of items in the instances increases from bp1 to bp8.
If the number of S (small) items is considerable, Algorithm A1 performs more efficiently. On the
other hand, if the number of L (large) items is high, the second one is the right choice. Moreover,
the state that nearly all items are relevant to the ranges M1 and M2 (are medium) forces the user
to utilize the algorithm A2.
For instance, in packing trucks and ships when the goods are small, we use the first one, but in the
state that they are large enough by considering the capacity unit in the ship or truck, the choice is
second one. Furthermore, in assigning tasks to machines in machine scheduling problem if the
durations of different tasks are approximately equal with each other, the second algorithm
executes better.
Consider the problem of placing computer files with specified sizes into memory blocks of fixed
size. For example, recording all of a computer's music where the length of the pieces to be
recorded are the weights and the bin capacity is the amount of time that can be sorted on an audio
(say 80 minutes). If we want to save the information for a long time, it is better to use the first
algorithm to amplify the accuracy, but if we want to rewrite the information several times, using
the second one is a rational solution. If all items are similar in size, for instance all of them are
songs, probably AlgorithmA1 works acceptably.
Table 1 tries to summarize the aforementioned discussions regarding the application of the
algorithms A1 and A2 in different situations.
Table 1. Choosing between algorithms 1 and 2 based on different factors and condition.
Factor/Condition Algorithnm1 Algorithm2
Accuracy Yes
Speed Yes
Space Yes
Sorted Items Yes
High Number of Items Yes
Homogenous Distribution of
Items
Yes
Majority by S Items Yes
Majority by L Items Yes
Majority by M Items Yes
International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015
11
3. CONCLUSIONS
Two approximation algorithms A1, and A2 were proposed in this paper. It was proved that the A1
approximation ratio is . After that we observed the results of experimental simulations and
analyzed them. Based on the results, we can claim that the two proposed algorithms in this article
are the best presented approximation algorithms for the Bin Packing Problem, in theory and in
practice until now.
In future researches, the focus on Scaling Factor r can enhance the algorithm A2 more and more.
REFERENCES
[1] B. Xia and Z. Tan, (2010) "Tighter bounds of the First Fit algorithm for the bin-packing problem",
Discrete Applied Mathematics, Vol. 158, No. 15, pp1668-1675.
[2] L. Epstein, A. Levin, (2008) "Asymptotic fully polynomial approximation schemes for variants of
open-end bin packing", Information Processing Letters, Vol. 109, pp32-37.
[3] Y. Joseph, T. Leung and Ch. Li, (2008)"An asymptotic approximation scheme for the concave cost
bin packing problem", European Journal of Operational Research, Vol. 191, pp582-586.
[4] J. Balogh, J. Békési and G. Galambos, (2012)"New lower bounds for certain classes of bin packing
algorithms", Theoretical Computer Science, Vol. 441, pp1-13.
[5] W. Bein, R. Correa and X. Han, (2008)"A fast asymptotic approximation scheme for bin packing with
rejection", Theoretical Computer Science, Vol. 393, pp14-22.
[6] W. Bein, R. Correa and X. Han, (2008)"A fast asymptotic approximation scheme for bin packing with
rejection", Theoretical Computer Science, Vol. 393, pp14-22.
[7] C. Blum, V. Schmid, (2013)"Solving the 2D Bin Packing Problem by Means of a Hybrid
Evolutionary Algorithm", Procedia Computer Science, Vol. 18, pp899-908.
[8] A. Lodi, S. Martello and D. Vigo,(1999) "Approximation algorithms for the oriented two-dimensional
bin packing problem", European Journal of Operational Research, Vol. 112, pp158-166.
[9] J. Gonçalves and M. Resende, (2013) "A biased random key genetic algorithm for 2D and 3D bin
packing problems",International Journal of Production Economics, Vol. 145, pp500-510.
[10] J. Bennell, L. Lee and C. Potts, (2013)"A genetic algorithm for two-dimensional bin packing with due
dates", International Journal of Production Economics, Vol. 145, pp547-560.
[11] M. Casazza and A. Ceselli, (2014)"Mathematical programming algorithms for bin packing problems
with item fragmentation", Computers & Operations Research,Vol. 46, pp1-11.
[12] M. Martínez, F. Clautiaux, M. Dell’Amico and M. Iori, (2013)"Exact algorithms for the bin packing
problem with fragile objects", Discrete Optimization, Vol. 10, pp210-220.
[13] F. Clautiaux, M. Dell’Amico, M. Iori and A. Khanafer, (2014)"Lower and upper bounds for the Bin
Packing Problem with Fragile Objects", Discrete Applied Mathematics, Vol. 163, pp73-86.
[14] P. Dell'Olmo, H. Kellerer, M. Speranza and Z. Tuza, (1998)"A 13/12 approximation algorithm for bin
packing with extendable bins", Information Processing Letters, Vol. 65, pp229-233.
[15] J. Bang-Jensen and R, (2012)"Larsen. Efficient algorithms for real-life instances of the variable size
bin packing problem", Computers & Operations Research, Vol. 39, pp2848-2857.
[16] D. Simchi-Levi, (1994)"New worst-case results for the bin packing problem", Naval Res. Logist.,Vol.
41, pp579-584.
[17] G. Zhang, X. Cai and C. Wong, (2000)"Linear time-approximation algorithms for bin packing",
Operations Research Letters, Vol. 26, pp217-222.
[18] R. Berghammer and F. Reuter, (2003)"A linear approximation algorithm for bin packing with
absolute approximation factor 3/2", Science of Computer Programming, Vol. 48, pp67-80.
[19] C. Martel,(1985) "A linear time bin-packing algorithm", Operations Research Letters, Vol. 4, pp189-
192.
[20] J. Békési, G. Galambos and H. Kellerer, (2000)"A 5/4 Linear Time Bin Packing Algorithm", Journal
of Computer and System Sciences, Vol. 60, pp145-160.
[21] Beasley J.E. (2013). OR-LIBRARY, Bin packing – One-dimensional,
http://people.brunel.ac.uk/_mastjjb/jeb/orlib/binpackinfo.html.

More Related Content

What's hot

Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawaleSagar Hadawale
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexityAnkit Katiyar
 
Data Structure and Algorithms
Data Structure and Algorithms Data Structure and Algorithms
Data Structure and Algorithms ManishPrajapati78
 
how to calclute time complexity of algortihm
how to calclute time complexity of algortihmhow to calclute time complexity of algortihm
how to calclute time complexity of algortihmSajid Marwat
 
Data Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study NotesData Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study NotesHaitham El-Ghareeb
 
A Load-Balanced Parallelization of AKS Algorithm
A Load-Balanced Parallelization of AKS AlgorithmA Load-Balanced Parallelization of AKS Algorithm
A Load-Balanced Parallelization of AKS AlgorithmTELKOMNIKA JOURNAL
 
Big oh Representation Used in Time complexities
Big oh Representation Used in Time complexitiesBig oh Representation Used in Time complexities
Big oh Representation Used in Time complexitiesLAKSHMITHARUN PONNAM
 
Complexity analysis - The Big O Notation
Complexity analysis - The Big O NotationComplexity analysis - The Big O Notation
Complexity analysis - The Big O NotationJawad Khan
 
Asymptotic Analysis
Asymptotic AnalysisAsymptotic Analysis
Asymptotic Analysissonugupta
 
Lecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsLecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsVivek Bhargav
 
Fundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencyFundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencySaranya Natarajan
 

What's hot (20)

220exercises2
220exercises2220exercises2
220exercises2
 
Pairwise testing sagar_hadawale
Pairwise  testing sagar_hadawalePairwise  testing sagar_hadawale
Pairwise testing sagar_hadawale
 
Analysis of algorithms
Analysis of algorithmsAnalysis of algorithms
Analysis of algorithms
 
Time and space complexity
Time and space complexityTime and space complexity
Time and space complexity
 
Data Structure and Algorithms
Data Structure and Algorithms Data Structure and Algorithms
Data Structure and Algorithms
 
how to calclute time complexity of algortihm
how to calclute time complexity of algortihmhow to calclute time complexity of algortihm
how to calclute time complexity of algortihm
 
Time andspacecomplexity
Time andspacecomplexityTime andspacecomplexity
Time andspacecomplexity
 
Data Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study NotesData Structures - Lecture 8 - Study Notes
Data Structures - Lecture 8 - Study Notes
 
Lecture 1
Lecture 1Lecture 1
Lecture 1
 
A Load-Balanced Parallelization of AKS Algorithm
A Load-Balanced Parallelization of AKS AlgorithmA Load-Balanced Parallelization of AKS Algorithm
A Load-Balanced Parallelization of AKS Algorithm
 
Data Structures- Hashing
Data Structures- Hashing Data Structures- Hashing
Data Structures- Hashing
 
Big oh Representation Used in Time complexities
Big oh Representation Used in Time complexitiesBig oh Representation Used in Time complexities
Big oh Representation Used in Time complexities
 
Complexity analysis - The Big O Notation
Complexity analysis - The Big O NotationComplexity analysis - The Big O Notation
Complexity analysis - The Big O Notation
 
Algorithm big o
Algorithm big oAlgorithm big o
Algorithm big o
 
Best,worst,average case .17581556 045
Best,worst,average case .17581556 045Best,worst,average case .17581556 045
Best,worst,average case .17581556 045
 
Lec7
Lec7Lec7
Lec7
 
Asymptotic Analysis
Asymptotic AnalysisAsymptotic Analysis
Asymptotic Analysis
 
04greedy 2x2
04greedy 2x204greedy 2x2
04greedy 2x2
 
Lecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithmsLecture 5: Asymptotic analysis of algorithms
Lecture 5: Asymptotic analysis of algorithms
 
Fundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm EfficiencyFundamentals of the Analysis of Algorithm Efficiency
Fundamentals of the Analysis of Algorithm Efficiency
 

Viewers also liked

Infographic betrokkenheid
Infographic betrokkenheidInfographic betrokkenheid
Infographic betrokkenheidMariska Habets
 
Dispositivos moviles
Dispositivos movilesDispositivos moviles
Dispositivos movilesyesparza
 
Como combater o stress
Como combater o stressComo combater o stress
Como combater o stressRui Sousa
 
Beautiful Airlines Liveries
Beautiful Airlines LiveriesBeautiful Airlines Liveries
Beautiful Airlines LiveriesSayyedul Hoq
 
Banner analysis
Banner analysisBanner analysis
Banner analysisJack Dixon
 
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-VoiceDavid Gregory
 
How to Build Your Professional Resilience
How to Build Your Professional ResilienceHow to Build Your Professional Resilience
How to Build Your Professional ResilienceSadashiv Borgaonkar
 
How to write a business plan 02
How to write a business plan 02How to write a business plan 02
How to write a business plan 02Pengyuan Zhao
 
Produção das unidades de saúde mês de junho de 2013
Produção das unidades de saúde mês de junho de 2013Produção das unidades de saúde mês de junho de 2013
Produção das unidades de saúde mês de junho de 2013Secretaria Municipal de Saúde
 
创业项目中常见的技术和管理债务
创业项目中常见的技术和管理债务创业项目中常见的技术和管理债务
创业项目中常见的技术和管理债务March Liu
 
A location based movie recommender system
A location based movie recommender systemA location based movie recommender system
A location based movie recommender systemijfcstjournal
 
Attain Attractive Funds with Quick Decision Loans
Attain Attractive Funds with Quick Decision LoansAttain Attractive Funds with Quick Decision Loans
Attain Attractive Funds with Quick Decision LoansMichal Wickam
 
Apresentação Luciano Sather Rosa Guimarães - UNIDERP
Apresentação Luciano Sather Rosa Guimarães - UNIDERPApresentação Luciano Sather Rosa Guimarães - UNIDERP
Apresentação Luciano Sather Rosa Guimarães - UNIDERPeducamosonline
 
Be an enterprise social network rockstar
Be an enterprise social network rockstarBe an enterprise social network rockstar
Be an enterprise social network rockstarEric Tachibana
 

Viewers also liked (20)

Vasunadariyam -protect our planet
Vasunadariyam -protect our planetVasunadariyam -protect our planet
Vasunadariyam -protect our planet
 
Wnc bevetelek
Wnc bevetelekWnc bevetelek
Wnc bevetelek
 
Infographic betrokkenheid
Infographic betrokkenheidInfographic betrokkenheid
Infographic betrokkenheid
 
Dispositivos moviles
Dispositivos movilesDispositivos moviles
Dispositivos moviles
 
Como combater o stress
Como combater o stressComo combater o stress
Como combater o stress
 
Beautiful Airlines Liveries
Beautiful Airlines LiveriesBeautiful Airlines Liveries
Beautiful Airlines Liveries
 
Banner analysis
Banner analysisBanner analysis
Banner analysis
 
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice
160209-Victoria’s-Small-Business-Sector-Gets-An-Expert-Voice
 
Banan
BananBanan
Banan
 
How to Build Your Professional Resilience
How to Build Your Professional ResilienceHow to Build Your Professional Resilience
How to Build Your Professional Resilience
 
How to write a business plan 02
How to write a business plan 02How to write a business plan 02
How to write a business plan 02
 
Produção das unidades de saúde mês de junho de 2013
Produção das unidades de saúde mês de junho de 2013Produção das unidades de saúde mês de junho de 2013
Produção das unidades de saúde mês de junho de 2013
 
NCLIP Presentation
NCLIP Presentation NCLIP Presentation
NCLIP Presentation
 
创业项目中常见的技术和管理债务
创业项目中常见的技术和管理债务创业项目中常见的技术和管理债务
创业项目中常见的技术和管理债务
 
Je Veux Dire Merci
Je Veux Dire MerciJe Veux Dire Merci
Je Veux Dire Merci
 
A location based movie recommender system
A location based movie recommender systemA location based movie recommender system
A location based movie recommender system
 
tabex
tabextabex
tabex
 
Attain Attractive Funds with Quick Decision Loans
Attain Attractive Funds with Quick Decision LoansAttain Attractive Funds with Quick Decision Loans
Attain Attractive Funds with Quick Decision Loans
 
Apresentação Luciano Sather Rosa Guimarães - UNIDERP
Apresentação Luciano Sather Rosa Guimarães - UNIDERPApresentação Luciano Sather Rosa Guimarães - UNIDERP
Apresentação Luciano Sather Rosa Guimarães - UNIDERP
 
Be an enterprise social network rockstar
Be an enterprise social network rockstarBe an enterprise social network rockstar
Be an enterprise social network rockstar
 

Similar to Bin packing problem two approximation

BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHM
BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHMBIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHM
BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHMijcsa
 
Discrete structure ch 3 short question's
Discrete structure ch 3 short question'sDiscrete structure ch 3 short question's
Discrete structure ch 3 short question'shammad463061
 
An efficient algorithm for 3D rectangular box packing
An efficient algorithm for 3D rectangular box packingAn efficient algorithm for 3D rectangular box packing
An efficient algorithm for 3D rectangular box packingmustafa sarac
 
A Branch-And-Bound Algorithm For Hard Multiple Knapsack Problems
A Branch-And-Bound Algorithm For Hard Multiple Knapsack ProblemsA Branch-And-Bound Algorithm For Hard Multiple Knapsack Problems
A Branch-And-Bound Algorithm For Hard Multiple Knapsack ProblemsFiona Phillips
 
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1AIRCC Publishing Corporation
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)IJERD Editor
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSijfcstjournal
 
Seminar Report (Final)
Seminar Report (Final)Seminar Report (Final)
Seminar Report (Final)Aruneel Das
 
CFM Challenge - Course Project
CFM Challenge - Course ProjectCFM Challenge - Course Project
CFM Challenge - Course ProjectKhalilBergaoui
 
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdfADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdfRGPV De Bunkers
 
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...Editor IJCATR
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problemsijfcstjournal
 
Chap8 part ii
Chap8 part iiChap8 part ii
Chap8 part iiLoc Tran
 
Ashish garg research paper 660_CamReady
Ashish garg research paper 660_CamReadyAshish garg research paper 660_CamReady
Ashish garg research paper 660_CamReadyAshish Garg
 
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSA NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSorajjournal
 

Similar to Bin packing problem two approximation (20)

BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHM
BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHMBIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHM
BIN PACKING PROBLEM: A LINEAR CONSTANTSPACE  -APPROXIMATION ALGORITHM
 
Discrete structure ch 3 short question's
Discrete structure ch 3 short question'sDiscrete structure ch 3 short question's
Discrete structure ch 3 short question's
 
An efficient algorithm for 3D rectangular box packing
An efficient algorithm for 3D rectangular box packingAn efficient algorithm for 3D rectangular box packing
An efficient algorithm for 3D rectangular box packing
 
A Branch-And-Bound Algorithm For Hard Multiple Knapsack Problems
A Branch-And-Bound Algorithm For Hard Multiple Knapsack ProblemsA Branch-And-Bound Algorithm For Hard Multiple Knapsack Problems
A Branch-And-Bound Algorithm For Hard Multiple Knapsack Problems
 
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
Performance Evaluation of Parallel Bubble Sort Algorithm on Supercomputer IMAN1
 
International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)International Journal of Engineering Research and Development (IJERD)
International Journal of Engineering Research and Development (IJERD)
 
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMSTHE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
THE NEW HYBRID COAW METHOD FOR SOLVING MULTI-OBJECTIVE PROBLEMS
 
DATA STRUCTURE.pdf
DATA STRUCTURE.pdfDATA STRUCTURE.pdf
DATA STRUCTURE.pdf
 
DATA STRUCTURE
DATA STRUCTUREDATA STRUCTURE
DATA STRUCTURE
 
Seminar Report (Final)
Seminar Report (Final)Seminar Report (Final)
Seminar Report (Final)
 
CFM Challenge - Course Project
CFM Challenge - Course ProjectCFM Challenge - Course Project
CFM Challenge - Course Project
 
Lecture2a algorithm
Lecture2a algorithmLecture2a algorithm
Lecture2a algorithm
 
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdfADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
ADA Unit-1 Algorithmic Foundations Analysis, Design, and Efficiency.pdf
 
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...
A Comparison between FPPSO and B&B Algorithm for Solving Integer Programming ...
 
The New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective ProblemsThe New Hybrid COAW Method for Solving Multi-Objective Problems
The New Hybrid COAW Method for Solving Multi-Objective Problems
 
Chap8 part ii
Chap8 part iiChap8 part ii
Chap8 part ii
 
DAA-Module-5.pptx
DAA-Module-5.pptxDAA-Module-5.pptx
DAA-Module-5.pptx
 
Ashish garg research paper 660_CamReady
Ashish garg research paper 660_CamReadyAshish garg research paper 660_CamReady
Ashish garg research paper 660_CamReady
 
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMSA NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
A NEW ALGORITHM FOR SOLVING FULLY FUZZY BI-LEVEL QUADRATIC PROGRAMMING PROBLEMS
 
daa unit 1.pptx
daa unit 1.pptxdaa unit 1.pptx
daa unit 1.pptx
 

More from ijfcstjournal

ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...
ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...
ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...ijfcstjournal
 
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGA SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGijfcstjournal
 
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESA COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESijfcstjournal
 
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...ijfcstjournal
 
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...ijfcstjournal
 
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...ijfcstjournal
 
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...ijfcstjournal
 
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGAN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGijfcstjournal
 
EAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYEAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYijfcstjournal
 
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSEDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSijfcstjournal
 
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMCOMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMijfcstjournal
 
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSPSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSijfcstjournal
 
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...ijfcstjournal
 
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGA MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGijfcstjournal
 
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...ijfcstjournal
 
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHA NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHijfcstjournal
 
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSAGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSijfcstjournal
 
International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)ijfcstjournal
 
AN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESAN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESijfcstjournal
 
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...ijfcstjournal
 

More from ijfcstjournal (20)

ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...
ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...
ENHANCING ENGLISH WRITING SKILLS THROUGH INTERNET-PLUS TOOLS IN THE PERSPECTI...
 
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLINGA SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
A SURVEY TO REAL-TIME MESSAGE-ROUTING NETWORK SYSTEM WITH KLA MODELLING
 
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLESA COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
A COMPARATIVE ANALYSIS ON SOFTWARE ARCHITECTURE STYLES
 
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
SYSTEM ANALYSIS AND DESIGN FOR A BUSINESS DEVELOPMENT MANAGEMENT SYSTEM BASED...
 
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
AN ALGORITHM FOR SOLVING LINEAR OPTIMIZATION PROBLEMS SUBJECTED TO THE INTERS...
 
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
LBRP: A RESILIENT ENERGY HARVESTING NOISE AWARE ROUTING PROTOCOL FOR UNDER WA...
 
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
STRUCTURAL DYNAMICS AND EVOLUTION OF CAPSULE ENDOSCOPY (PILL CAMERA) TECHNOLO...
 
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDINGAN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
AN OPTIMIZED HYBRID APPROACH FOR PATH FINDING
 
EAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITYEAGRO CROP MARKETING FOR FARMING COMMUNITY
EAGRO CROP MARKETING FOR FARMING COMMUNITY
 
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHSEDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
EDGE-TENACITY IN CYCLES AND COMPLETE GRAPHS
 
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEMCOMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
COMPARATIVE STUDY OF DIFFERENT ALGORITHMS TO SOLVE N QUEENS PROBLEM
 
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMSPSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
PSTECEQL: A NOVEL EVENT QUERY LANGUAGE FOR VANET’S UNCERTAIN EVENT STREAMS
 
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
CLUSTBIGFIM-FREQUENT ITEMSET MINING OF BIG DATA USING PRE-PROCESSING BASED ON...
 
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTINGA MUTATION TESTING ANALYSIS AND REGRESSION TESTING
A MUTATION TESTING ANALYSIS AND REGRESSION TESTING
 
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
GREEN WSN- OPTIMIZATION OF ENERGY USE THROUGH REDUCTION IN COMMUNICATION WORK...
 
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCHA NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
A NEW MODEL FOR SOFTWARE COSTESTIMATION USING HARMONY SEARCH
 
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKSAGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
AGENT ENABLED MINING OF DISTRIBUTED PROTEIN DATA BANKS
 
International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)International Journal on Foundations of Computer Science & Technology (IJFCST)
International Journal on Foundations of Computer Science & Technology (IJFCST)
 
AN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMESAN INTRODUCTION TO DIGITAL CRIMES
AN INTRODUCTION TO DIGITAL CRIMES
 
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
DISTRIBUTION OF MAXIMAL CLIQUE SIZE UNDER THE WATTS-STROGATZ MODEL OF EVOLUTI...
 

Recently uploaded

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGSIVASHANKAR N
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escortsranjana rawat
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxupamatechverse
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college projectTonystark477637
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdfKamal Acharya
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 

Recently uploaded (20)

MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTINGMANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
MANUFACTURING PROCESS-II UNIT-1 THEORY OF METAL CUTTING
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Isha Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Introduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptxIntroduction and different types of Ethernet.pptx
Introduction and different types of Ethernet.pptx
 
result management system report for college project
result management system report for college projectresult management system report for college project
result management system report for college project
 
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
(INDIRA) Call Girl Aurangabad Call Now 8617697112 Aurangabad Escorts 24x7
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Online banking management system project.pdf
Online banking management system project.pdfOnline banking management system project.pdf
Online banking management system project.pdf
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 

Bin packing problem two approximation

  • 1. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 DOI:10.5121/ijfcst.2015.5401 1 BIN PACKING PROBLEM: TWO APPROXIMATION ALGORITHMS AbdolahadNoori Zehmakan Department of Computer Science, Sharif University of Technology, Tehran, Iran ABSTRACT The Bin Packing Problem is one of the most important optimization problems. In recent years, due to its NP-hard nature, several approximation algorithms have been presented. It is proved that the best algorithm for the Bin Packing Problem has the approximation ratio 3/2 and the time orderO(n), unlessP=NP. In this paper, first, a -approximation algorithm is presented, then a modification to FFD algorithm is proposed to decrease time order to linear. Finally, these suggested approximation algorithms are compared with some other approximation algorithms. The experimental results show the suggested algorithms perform efficiently. In summary, the main goal of the research is presenting methods which not only enjoy the best theoretical criteria, but also perform considerably efficient in practice. KEYWORDS Bin Packing Problem, approximation algorithm, approximation ratio, optimization problems, FFD (First- Fit Decreasing) 1. INTRODUCTION The Bin Packing Problem has several applications, including filling containers, loading trucks with weight capacity constraints, creating file backups in removable media and technology mapping in Field-programmable gate arraysemiconductor chip design. Unfortunately, this problem is NP-hard therefore many approximation algorithms [1,2,3,4,5] have been suggested. In computer science and operational research, approximation algorithms are used to find approximate solutions to optimization problems. Approximation algorithms are often associated with NP-hard problems. They are also increasingly used for problems where exact polynomial- time algorithms are known but too expensive due to the input size. The quality and ability of an approximation algorithm depend on its approximation ratio and time order. For some approximation algorithms, it is possible to prove certain properties about the approximation of the optimal result. A ρ-approximation algorithm A is defined to be an algorithm for which it been proven that the value of the approximate solution A(x) to an instance x will not be more (or less, depending on the situation) than a factor ρ times the value, OPT, of an optimum solution. In the classical one-dimensional Bin Packing Problem, a list of items = { , . . . , }, each with a size ∈ 0,1 , is given and we are asked to pack them into minimum number of unit- capacity bins. Many variations of this problem is proposed, such as 2D and 3D bin packing [6,7,8,9,10], with item fragmentation [11], fragile objects [12,13], extendable bins [14] packing by cost [3] and variable size bin packing [15]. In this paper, the original and off-line version of the problem is considered, due to its applications and importance.
  • 2. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 2 Simchi-Levi in [16] proved that the FF (First-Fit) and BF (Best-Fit) algorithms, two of the foremost approximation algorithms for the Bin Packing Problem, have an absolute worst-case ratio of 7/4. He also proved that the FFD and BFD algorithms have an absolute worst-case ratio of 3/2. Zhang and Cai in [17] provided a linear time constant space off-line approximation algorithm with absolute approximation ratio of 3/2. Their algorithm depends on two kind of active and extra bins and follows a simple but exact procedure. In 2003, Rudolf and Florian in [18] presented an approximation algorithm for the BPP with a linear running time and an absolute approximation factor of 3/2. As mentioned, it is proven that the best algorithm for the Bin Packing Problem has the approximation ratio of 3/2 and the time order of , unless = [16]. In [20] Martel defined the asymptotic approximation ratio instead of the approximation ratio and proved his proposed algorithm has a 4/3 asymptotic approximation ratio. Furthermore, in [20] the method of Martel was expanded and a 5/4 asymptotic approximation algorithm was suggested. In this paper two new approximation algorithms are presented. The first algorithm works based on a kind of sorting and after classification items into 4 ranges tries to choose the best matching between them. The second algorithm is a time improved version of FFD. In this algorithm, we try to decrease FFD time order while maintaining the instructive qualities of FFD and its performance. Finally, the two suggested algorithms are compared with two approximation algorithms [17,18], and FFD. Experimental results show the two suggested algorithms perform much better than the others. The reminder of this paper is organized as follows. In section 2, two suggested algorithms are presented. Furthermore, it is proved that the approximation factor of the first algorithm is 3/2. Then in sections 3 the experimental results and computational analysis are discussed. Finally, in section 4 conclusions of the results are drawn and some methods for enhancing previous algorithms are suggested. 2. THE PROPOSED ALGORITHMS In this section, two proposed algorithm A1 and A2 are discussed. Algorithm A1 utilizes ranging technique and classifies inputs into 4 ranges. It will be proved that this algorithm's approximation ratio is 3/2. Furthermore, a new linear version of FFD algorithm is presented. 2.1. The Proposed Algorithm A1 The algorithm tries to create output bins which are at least 2/3 full. It is proved that in this condition the approximation ratio of the algorithm is 3/2. As mentioned, in this algorithm inputs are classified into 4 ranges (0- ), ( - . ), ( . - ) and ( -1) called , , and , respectively. In first step, items are put in separate output bins, then and are sorted. We try to match any item in with the biggest possible item in . Obviously, after that this step, some items will be remained in and . We match items with each other and add | | to ! − #$% &'( (The number of used bins). In next step, we try to match items with items. Finally, items are matched with each other.
  • 3. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 3 Definition1: ) is the number of bins in OPT solution and )∗ is the number of bins in the proposed algorithm. Lemma1: If at least size of each output bin is full, the approximation ratio is at least . Proof: consider the worst condition that all output bins are completely full in OPT solution. Suppose that W is the sum of input items. In this condition: ≥ , & ∗ ≤ , ⇒ ∗ / ≤ 3 2 ∎ Theorem1: The proposed algorithm A1 is a -approximation algorithm. Proof: Based on the algorithm in first step, all items are put in separated bins and obviously at least 2/3 size of these output bins are full. After that, some items are matched with some items. Definitely, in this step at least 2/3 size of output bins are also full since a item is at least 1/3 and a item is at least 1.5/3. Consequently, their sum is at least 2/3. In next step, items are matched with each other 2 by 2 and put in separated bins. At least 2/3 size of these bins are full since an item is at least 1/3. After that the rest of items with items are matched. Now there are two cases: Case1: 4567 48 | 6| >
  • 4. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 4 Case2: 4567 48 | 6| ≤ , : The sum of all items which remain in this step. ,: : The sum of all S items. | 2| : The number of all items which are remain in this step. We claim all output bins are more than fill in this step. According on the algorithm, at first we match some items with some items. Obviously the output bins in this step are more than full because a item is no more than and we close a bin when it does not have enough space for a S item. After that, two configurations are possible: C1: If there are just some items left we put all of them into separate bins therefore the number of output bins is | 2|. Consequently the average of the output bins equals 4567 48 | 6| that is more than based on case1 assumption. C2: If there are only some items, the output bins in this step are also more than full because a item is at most . In case2, the bins that have some S items like case1 are at least full. Therefore we only consider the bins which have only one item. We claim that in the OPT solution these items are also associated separate bins because: On one hand, they cannot be matched with the items and with the items because a bin does not have enough space for an item and an item or for two items. On the other hand, if a item (primary item) is matched with a item in the OPT solution, in the suggested algorithm it will be matched with a item or its complement (meaning the item matched with it in the OPT solution) is matched with another item (second item). The second item is bigger than the primary item since the items are sorted. Therefore, the primary item can be put in every bin that the second has been put (in this condition the algorithm has been performed better than OPT solution until now). Based on the mentioned reasons and discussions, for any output bin in the proposed algorithm which is less than full, there is a bin in the OPT solution that its used capacity is equal or less than it. Furthermore, all other bins are more than full. In conclusion, based on the lemma1 the approximation ratio of the suggested algorithm is . ∎ 2.2. The Proposed Algorithm A2 As mentioned, the second proposed algorithm is based on the Firs-Fit Decreasing algorithm. In FFD, the items are packed in order of non-decreasing size, and next item is always packed into the first bin in which it fits; that is, we first open bin1 and we only start bin k+1 when the current item does not fit into any of the bins 1, … , <. In the algorithm A2, we consider 10 classes of bins and 10 ranges of items and in any step we check at most one bin in each class. The order of choosing items and checking the bins classes are considered completely intelligently. A pseudocode of the algorithm A2is shown.
  • 5. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 5 Obviously, the running time of the algorithm A2 is (n is the number of input items) since for making decision about each item the algorithm at most spend 10 time-unit for checking 10 classes of bins. We also can make the algorithm more efficient and consider the Scale Parameter r that shows the number of ranges and bins classes in the algorithm. This parameter can be chosen based on the number of inputs. For instance, if the number of inputs is 10 = is reasonable choose ( = 10 instead of ( = 10. 3. COMPUTATIONAL RESULTS In this section, at first the computational results of two suggested algorithms and three other algorithms are presented, and it is shown that the proposed algorithms perform considerably much more efficient. Furthermore, we compare the algorithm A1 with the Algorithm A2 from an application point of view and their utilization in variant fields and stipulations. In this section, the two proposed algorithms are compared with two other approximation algorithms [18, 19] which are the only algorithms have the best possible approximation ratio. This comparison has been drawn based on all standard instances for BPP from OR-LIBRARY [21]. We define Ratio as the proportion of the proposed algorithm solution to the OPT solution. Obviously, ratiohas a direct relationship with algorithm’s approximation ratio. Consequently, ratio is utilized as a factor for measuring approximation algorithms’ performances. As mentioned, the standard instances in OR-LIBRARY are used for simulations. Each set of instances contains 20 instances for the Bin Packing Problem. The two proposed algorithm have been compared with the Guochuan's algorithm [17], and the Berghammer's algorithm [18] based on the 8 set of instances. The results of these comparisons for bp1, bp2, bp3, bp4, bp5, bp6, bp7 and bp8 are shown in Fig1, Fig2, Fig3, Fig4, Fig5, Fig6, Fig7, Fig8, respectively.
  • 6. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 Figure 1. The ratios of the algorithms for the set Figure 2. The ratios of the algorithms for the set problems of instance bp2 Figure 3. The ratios of the algorithms for the set problems of instance bp3 International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 The ratios of the algorithms for the set problems of instance bp1 The ratios of the algorithms for the set problems of instance bp2 The ratios of the algorithms for the set problems of instance bp3 International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 6
  • 7. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 Figure 4. The ratios of the algorithms for the set problems of Figure 5. The ratios of the algorithms for the set problems of instance bp5 Figure 6. The ratios of the algorithms for the set problems of instance bp6 International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 The ratios of the algorithms for the set problems of instance bp4 The ratios of the algorithms for the set problems of instance bp5 The ratios of the algorithms for the set problems of instance bp6 International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 7
  • 8. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 Figure 7. The ratios of the algorithms for the set problems of instance bp7 Figure 8. The ratios of the algorithms for the set problems of instance bp8 The diagrams show the two algorithms. As mentioned, the the best possible approximation factor. Furthermore, the algorithm acceptable than the algorithm similarity between performances of The results are measured for 20 instances in any class, but for simplification of understanding the points corresponding to an algorithm are joined by a line. In Fig9, the average of the simulations results is shown for four mentioned algorithms for the all sets of instances. This diagram shows that the proposed algorithm performs more efficiently. After that, the suggested algorithm performance. Therefore, two suggested algorithms are completely superior to two other ones, in practice. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 The ratios of the algorithms for the set problems of instance bp7 The ratios of the algorithms for the set problems of instance bp8 two suggested algorithms perform much better than algorithms. As mentioned, the two other algorithms are only approximation algorithms with the best possible approximation factor. Furthermore, the algorithm A1 performance is more acceptable than the algorithm A2. Another interesting point in the experimental results is the ween performances ofGuochuan's algorithm, and the Berghammer The results are measured for 20 instances in any class, but for simplification of understanding the points corresponding to an algorithm are joined by a line. f the simulations results is shown for four mentioned algorithms for the all sets of instances. This diagram shows that the proposed algorithm A1 in all instances performs more efficiently. After that, the suggested algorithm A2 has much better . Therefore, two suggested algorithms are completely superior to two other ones, International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 8 suggested algorithms perform much better than two other other algorithms are only approximation algorithms with performance is more . Another interesting point in the experimental results is the Berghammer's algorithm. The results are measured for 20 instances in any class, but for simplification of understanding f the simulations results is shown for four mentioned algorithms for the in all instances has much better . Therefore, two suggested algorithms are completely superior to two other ones,
  • 9. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 Figure 9. The average of ratios for the 4 algorithms based on the all instances In Fig 10, the experimental results of the based on the all sets of instances. Figure 10. The average of ratios for two suggested algorithms and FFD based on the all instances The results show that the two suggested algorithms perform much better than bp5, bp6, bp7, and bp8, but the bp3 and bp4. It seems their performances are very similar in average. We claim that the suggested algorithms are more effective and efficient than order are similar, but FFD is an on algorithm) while the algorithm A1 superior to FFD because it is a linear time algorithm while the running time of even in worst-case . We drew the conclusion that the algorithms criteria, but also execute better than other ones International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 The average of ratios for the 4 algorithms based on the all instances In Fig 10, the experimental results of the two suggested algorithms and FFD algorithm are shown based on the all sets of instances. The average of ratios for two suggested algorithms and FFD based on the all instances suggested algorithms perform much better than FFD bp5, bp6, bp7, and bp8, but the FFD algorithm performances are more acceptable in bp1, bp2, bp3 and bp4. It seems their performances are very similar in average. We claim that the suggested algorithms are more effective and efficient than FFD. The algorithm A1 and is an on-line space algorithm (it means that it save all bins during the algorithm) while the algorithm A1 use much less space. Furthermore, the algorithm is a linear time algorithm while the running time of FFD We drew the conclusion that the algorithms A1 and A2 not only enjoy the best possible theoretical than other ones in practice, but a natural question which comes up International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 9 algorithm are shown The average of ratios for two suggested algorithms and FFD based on the all instances FFD algorithm in algorithm performances are more acceptable in bp1, bp2, bp3 and bp4. It seems their performances are very similar in average. We claim that the two and FFD time line space algorithm (it means that it save all bins during the use much less space. Furthermore, the algorithm A2 is also FFD is >$? not only enjoy the best possible theoretical , but a natural question which comes up
  • 10. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 10 is that "Which algorithm should be used in practice, A1 or A2?". The answer is that it depends. In the following paragraphs we try to clarify this point. Firstly, obviously if the important factor is accuracy, AlgorithmA1 is the better one, but if the significant criterion is speed, AlgorithmA2 will be the choice inasmuch as AlgorithmA1 shows better performance based on the aforementioned outputs; on the other hand, AlgorithmA2 is a linear time algorithm. Another point which can be taken into consideration is that AlgorithmA1 is a constant-space one while the second one is not. Therefore, if space order is a noteworthy factor, we should exploit AlgorithmA1. Needless to say, if the input items are almost sorted, the algorithm A1 performs a lot better, but if the number of input items is significantly high or they are distributed homogenously, the algorithm A2 will be the option In that AlgorithmA1 needs to sort the items, and the algorithm A2 is much more flexible and is able to use Scale Factor. The aforementioned computational results confirm this claim because the number of items in the instances increases from bp1 to bp8. If the number of S (small) items is considerable, Algorithm A1 performs more efficiently. On the other hand, if the number of L (large) items is high, the second one is the right choice. Moreover, the state that nearly all items are relevant to the ranges M1 and M2 (are medium) forces the user to utilize the algorithm A2. For instance, in packing trucks and ships when the goods are small, we use the first one, but in the state that they are large enough by considering the capacity unit in the ship or truck, the choice is second one. Furthermore, in assigning tasks to machines in machine scheduling problem if the durations of different tasks are approximately equal with each other, the second algorithm executes better. Consider the problem of placing computer files with specified sizes into memory blocks of fixed size. For example, recording all of a computer's music where the length of the pieces to be recorded are the weights and the bin capacity is the amount of time that can be sorted on an audio (say 80 minutes). If we want to save the information for a long time, it is better to use the first algorithm to amplify the accuracy, but if we want to rewrite the information several times, using the second one is a rational solution. If all items are similar in size, for instance all of them are songs, probably AlgorithmA1 works acceptably. Table 1 tries to summarize the aforementioned discussions regarding the application of the algorithms A1 and A2 in different situations. Table 1. Choosing between algorithms 1 and 2 based on different factors and condition. Factor/Condition Algorithnm1 Algorithm2 Accuracy Yes Speed Yes Space Yes Sorted Items Yes High Number of Items Yes Homogenous Distribution of Items Yes Majority by S Items Yes Majority by L Items Yes Majority by M Items Yes
  • 11. International Journal in Foundations of Computer Science & Technology (IJFCST), Vol.5, No.4, July 2015 11 3. CONCLUSIONS Two approximation algorithms A1, and A2 were proposed in this paper. It was proved that the A1 approximation ratio is . After that we observed the results of experimental simulations and analyzed them. Based on the results, we can claim that the two proposed algorithms in this article are the best presented approximation algorithms for the Bin Packing Problem, in theory and in practice until now. In future researches, the focus on Scaling Factor r can enhance the algorithm A2 more and more. REFERENCES [1] B. Xia and Z. Tan, (2010) "Tighter bounds of the First Fit algorithm for the bin-packing problem", Discrete Applied Mathematics, Vol. 158, No. 15, pp1668-1675. [2] L. Epstein, A. Levin, (2008) "Asymptotic fully polynomial approximation schemes for variants of open-end bin packing", Information Processing Letters, Vol. 109, pp32-37. [3] Y. Joseph, T. Leung and Ch. Li, (2008)"An asymptotic approximation scheme for the concave cost bin packing problem", European Journal of Operational Research, Vol. 191, pp582-586. [4] J. Balogh, J. Békési and G. Galambos, (2012)"New lower bounds for certain classes of bin packing algorithms", Theoretical Computer Science, Vol. 441, pp1-13. [5] W. Bein, R. Correa and X. Han, (2008)"A fast asymptotic approximation scheme for bin packing with rejection", Theoretical Computer Science, Vol. 393, pp14-22. [6] W. Bein, R. Correa and X. Han, (2008)"A fast asymptotic approximation scheme for bin packing with rejection", Theoretical Computer Science, Vol. 393, pp14-22. [7] C. Blum, V. Schmid, (2013)"Solving the 2D Bin Packing Problem by Means of a Hybrid Evolutionary Algorithm", Procedia Computer Science, Vol. 18, pp899-908. [8] A. Lodi, S. Martello and D. Vigo,(1999) "Approximation algorithms for the oriented two-dimensional bin packing problem", European Journal of Operational Research, Vol. 112, pp158-166. [9] J. Gonçalves and M. Resende, (2013) "A biased random key genetic algorithm for 2D and 3D bin packing problems",International Journal of Production Economics, Vol. 145, pp500-510. [10] J. Bennell, L. Lee and C. Potts, (2013)"A genetic algorithm for two-dimensional bin packing with due dates", International Journal of Production Economics, Vol. 145, pp547-560. [11] M. Casazza and A. Ceselli, (2014)"Mathematical programming algorithms for bin packing problems with item fragmentation", Computers & Operations Research,Vol. 46, pp1-11. [12] M. Martínez, F. Clautiaux, M. Dell’Amico and M. Iori, (2013)"Exact algorithms for the bin packing problem with fragile objects", Discrete Optimization, Vol. 10, pp210-220. [13] F. Clautiaux, M. Dell’Amico, M. Iori and A. Khanafer, (2014)"Lower and upper bounds for the Bin Packing Problem with Fragile Objects", Discrete Applied Mathematics, Vol. 163, pp73-86. [14] P. Dell'Olmo, H. Kellerer, M. Speranza and Z. Tuza, (1998)"A 13/12 approximation algorithm for bin packing with extendable bins", Information Processing Letters, Vol. 65, pp229-233. [15] J. Bang-Jensen and R, (2012)"Larsen. Efficient algorithms for real-life instances of the variable size bin packing problem", Computers & Operations Research, Vol. 39, pp2848-2857. [16] D. Simchi-Levi, (1994)"New worst-case results for the bin packing problem", Naval Res. Logist.,Vol. 41, pp579-584. [17] G. Zhang, X. Cai and C. Wong, (2000)"Linear time-approximation algorithms for bin packing", Operations Research Letters, Vol. 26, pp217-222. [18] R. Berghammer and F. Reuter, (2003)"A linear approximation algorithm for bin packing with absolute approximation factor 3/2", Science of Computer Programming, Vol. 48, pp67-80. [19] C. Martel,(1985) "A linear time bin-packing algorithm", Operations Research Letters, Vol. 4, pp189- 192. [20] J. Békési, G. Galambos and H. Kellerer, (2000)"A 5/4 Linear Time Bin Packing Algorithm", Journal of Computer and System Sciences, Vol. 60, pp145-160. [21] Beasley J.E. (2013). OR-LIBRARY, Bin packing – One-dimensional, http://people.brunel.ac.uk/_mastjjb/jeb/orlib/binpackinfo.html.