Comparison of Meta-Heuristic Algorithms For Solving Machining Optimization Problems
Comparison of Meta-Heuristic Algorithms For Solving Machining Optimization Problems
Abstract. Since optimization of the machining parameters not only increases machining
efficiency and economics, but it also enhances the end product quality, this topic is still
the subject of many studies. The selection of the optimal machining parameters is often
performed in a two-stage approach, i.e. mathematical modeling of machining performance
and optimization using an optimization method. Among the traditional optimization
methods, in recent years, the modern meta-heuristic algorithms are being increasingly
applied to solving machining optimization problems. Their ability to deal with complex,
multi-dimensional and ill-behaved optimization problems has made them choice number
one by most researchers and practitioners. In the present study, an attempt is made to
compare the optimization results of different meta-heuristic algorithms applied to solving
machining optimization problems. Four meta-heuristic algorithms are taken into
consideration, namely, real coded genetic algorithm (RCGA), simulated annealing
(SA), improved harmony search algorithm (IHSA) and cuckoo search algorithm (CSA).
These meta-heuristic algorithms are applied to searching for optimal combinations of
different machining parameters for five case studies taken from the literature. The
optimization results obtained by applying RCGA, SA, IHSA and CSA for parametric
optimization of these machining processes are compared with those derived by the past
researchers.
Key Words: Machining, Optimization, Meta-heuristic Algorithms
1. INTRODUCTION
In today's manufacturing world, it is a vital task to define optimal machining parameters
for achieving machining cost and efficiency [1]. Modeling of machining processes aimed at
better understanding, optimization and process control is very important in manufacturing
practice. This is usually achieved by integrating empirical models based on the regression
Acknowledgments. The paper is a part of the research done within the project TR35034. The authors would
like to thank to the Ministry of Education and Science, Republic of Serbia.
Corresponding author: Miloš Madić
University of Niš, Faculty of Mechanical Engineering, Str. Aleksandra Medvedeva 14, 18000 Niš, Serbia
E-mail: [email protected]
30 M. MADIĆ, D. MARKOVIĆ, M. RADOVANOVIĆ
analysis or artificial neural networks with an optimization method. The application of the
Taguchi method without formulating any kind of model is also an attractive alternative, par-
ticularly in the case of multi-objective optimization problems [2].
Identification of the optimal machining parameters is very important for reduction of
machining costs, product quality improvement and increased productivity and profit. There-
fore, the machining processes optimization is one of the most investigated issues. Thus,
many researchers have tried various conventional methods for solving machining optimiza-
tion problems including design of experiments, graphical methods, analytic methods and
mathematical programming methods such as linear and nonlinear programming, dynamic
programming, geometric programming, goal programming, integer programming, stochastic
programming, etc. [3]. Despite the fact that the machining optimization problems have been
extensively investigated, the complexity of machining economics problems has led to the re-
quirement for increasingly effective optimization algorithms [4].
The convergence speed of the meta-heuristic algorithms to the global (or nearly
global) optimal results is better than that of traditional techniques. Therefore, the meta-
heuristic algorithms have been increasingly used to further improve the solution of ma-
chining optimization problems with complex nature in many applications [1]. It is re-
ported that the meta-heuristic algorithms have been applied in machining because of their
ability to deal with highly complex, non-linear, and multi-dimensional machining optimi-
zation problems [5]. In the current trend of optimizing machining process parameters,
various evolutionary or meta-heuristic algorithms have been used [6].
The most recent research of the meta-heuristic algorithms for machining process pa-
rameters optimization have been demonstrated by Zain et al. [7], Rao et al. [8], Samanta
and Chakraborty [9], Madić et al. [10], Yildiz [4, 1, 11], Ciurana et al. [12], Pansare and
Kavade [13], Liu et al. [Liu]. A comprehensive review paper regarding machining pa-
rameters optimization by means of the meta-heuristic algorithms is presented by Yusup et
al. [6]. As has been reported in the literature, three types of meta-heuristic-based search
algorithms viz. genetic algorithm (GA), simulated annealing (SA) and particle swarm op-
timization (PSO) have been mostly applied in the domain of the machining parameters
optimization. However, in recent years there is an increasing trend in the application of
other meta-heuristic algorithms such as ant colony optimization (ACO), artificial bee col-
ony (ABC), improved harmony search algorithm (IHSA), and cuckoo search algorithm
(CSA) for solving machining optimization problems.
This paper aims at comparing the performance of the GA, SA, IHSA and CSA when
applied to different machining optimization problems. After a brief discussion of the basic
methodology, characteristics and principles of the meta-heuristic algorithms in general,
five machining optimization case studies are considered. The obtained optimization re-
sults of the GA, SA, IHSA and CSA are compared and discussed. The optimization re-
sults are also compared with those derived by the earlier researchers.
2. META-HEURISTIC ALGORITHMS
The algorithms used for solving optimization problems can be very diverse, from con-
ventional algorithms to modern meta-heuristic algorithms [14]. The optimization algo-
rithms developed so far can be broadly classified into deterministic and stochastic. The
Comparison of Meta-Heuristic Algorithms for Solving Machining Optimization Problems 31
All the meta-heuristic algorithms use certain trade-off of local search and global ex-
ploration. A variety of solutions is often realized via randomization which provides a
good way of moving away from the local search to that on the global scale [14].
The two main concepts of any meta-heuristic algorithms are: intensification and diversi-
fication, or exploitation and exploration [21]. Diversification means to generate diverse so-
lutions so as to explore the search space on the global scale, while intensification means to
focus on the search in a local region by exploiting the information that a current good solu-
tion is found in this region. This is in combination with the selection of the best solutions [14].
The fine balance between these two components is very important to the overall
efficiency and performance of an algorithm. Too little exploration and too much ex-
ploitation could cause the system to be trapped in local optima, which makes it very
difficult or even impossible to find the global optimum. On the other hand, in the
case of too much exploration but too little exploitation, it may be difficult for the
system to converge and thus it slows down the overall search performance [14]. The
main difference between developed meta-heuristic algorithms is in the means by
which they try to achieve this balance.
Meta-heuristic algorithms can be divided into two categories: single-solution meta-
heuristic algorithms where a single solution (and search trajectory) is considered at a time
and population meta-heuristic algorithms where a multiplicity of solutions evolve concur-
rently. Within each category, it is also possible to distinguish between primarily construc-
tive meta-heuristic algorithms, where a solution is built from scratch (through the intro-
duction of new elements at each iteration) and improvement meta-heuristic algorithms
which iteratively modify a solution [22].
The main idea behind designing the meta-heuristic algorithms is to tackle complex
optimization problems where other optimization methods have failed to be effective.
These methods are now recognized as some of the most practical approaches for solving
many real world problems [18]. There are several advantages of using meta-heuristic al-
gorithms for optimization, namely:
Broad applicability: they can be applied to any problems that can be formulated as
function optimization problems.
Hybridization: they can be combined with more traditional optimization techniques.
Ease of implementation: typically easier to understand and implement.
Efficiency and flexibility: they can solve problems larger problems faster. Moreover,
they are simple to design and implement, and are very flexible [18].
The use of meta-heuristics can be justified due to: (i) complexity of the internal
problem that prevents the application of exact techniques and (ii) a very large
quantity of possible solutions that prevent the use of exhaustive algorithms [23]. [23].
However, there are some disadvantages of the meta-heuristic algorithms that should be
here noted:
In general, the optimization performance is highly dependent on fine parameter tuning.
They do not have "sound" mathematical foundation, when compared to more
traditional techniques [24].
They cannot prove optimality.
They cannot probably reduce the search space.
Repeatability of optimization results obtained with the same initial condition
settings is not guaranteed.
Comparison of Meta-Heuristic Algorithms for Solving Machining Optimization Problems 33
If the new solution's objective function value is smaller, the new solution is automati-
cally accepted and becomes the current solution from which the search will continue.
Otherwise the point is accepted with a probability e(−∆E/kT) where k is the Boltzmann's con-
stant. This completes one iteration of the SA. Due to the probabilistic acceptance of a
nonimproving solution, SA can escape from local optima. At a certain temperature T, a
34 M. MADIĆ, D. MARKOVIĆ, M. RADOVANOVIĆ
predetermined number of new points are tested. The algorithm is terminated when current
value of temperature is small enough or when changes in function values (f) are suffi-
ciently small.
As meta-heuristic algorithms have stochastic nature, each run will usually pro-
duce different results. Hence, to reduce randomness, each optimization problems has
been attempted 20 times with different seeds and the best solution for each algo-
rithm is recorded.
4. CASE STUDIES
The search for papers dealing with machining optimization problems is restricted to
those based on empirical models developed using the regression analysis. The reason for
this is that, since regression models are explicitly expressed, the obtained optimization
results can readily be checked and compared.
where A is the cutting speed (m/min), B is the feed rate (mm/rev), C is the depth of cut
(mm), and Ra is the surface roughness (m).
In an attempt to obtain optimum turning parameters for minimum surface
roughness value, the authors apply ACO. The turning optimization problem is for-
mulated as follows:
Minimize Ra f ( A, B, C )
subject to: 150 A 250 (m/min); 0.1 B 0.2 mm/rev ; 0.5 C 1.5 (mm) (4)
The optimum turning parameter values and surface roughness value obtained by Pan-
sare and Kavade [13] are given in Table 1. The optimization problem formulated in Eq. 4
is attempted using the RCGA, SA, IHSA and CSA with the parameter settings as dis-
cussed before. The best obtained optimization results are summarized in Table 2.
algorithms, (v) although statistically is adequate, in some cases, mathematical model may not
have adequate physical meaning and should be used with care. In such situations, an experi-
mental verification of the obtained optimization results should be carried out.
where A is the feed rate (mm/rev), B is the spindle speed (rpm), and C is the cutting speed
(m/min).
To identify optimal cutting parameters, Eq. 4 is selected as objective function and
solved using GA by formulating the optimization problem as:
Maximize MRR f ( A, B, C )
subject to: 0.62 A 0.98 (mm/rev); 40 B 1000 (rpm); 3.5 C 95.5 (m/min) (6)
The obtained optimization results by Shivakoti et al. [33] and the optimization results
of the RGCA, SA, IHSA and CSA are compared in Table 3.
Regarding the optimization performance for the second case study, the following
observations are made: (i) again, IHSA produces most consistent solutions, (ii) scattered
nature of the RCGA solutions is evident, (iii) Although SA converges too slowly in
comparison to other algorithms, it yields the best solution.
where: where A is the cutting speed (m/min), B is the feed rate (mm/tooth), and C is the
radial rake angle (°).
Zain et al. [7] propose Eq. 7c as the fitness function in the GA optimization module.
The minimization of the fitness function value of Eq. 7c is subjected to the boundaries
(limitations) of cutting condition values. The optimization problem is formulated as:
Minimize RSNTR f ( A, B, C )
subject to: 124.53 A 167.03 (m/min); 0.025 B 0.083 mm/tooth ; 6.2 C 14.8 ( ) (8)
To determine best optimal milling parameter values, Zain et al. [7] have tried several
combinations of GA parameter rates. The obtained optimization results are given in Table
4. To investigate the efficiency of the PSO algorithm for machining problem solving, the
optimization problem formulated in Eq. 8 is attempted by Pare et al. [35]. Although the
authors report superior results than those obtained by Zain et al. [7], the optimization
results are not valid since the constraint for the feed rate is not satisfied.
Regarding this case study, it should be noted that application of any classical mathe-
matical or meta-heuristic optimization technique is redundant. Since the mathematical
model is expressed as a linear combination of independent parameters with no interaction
terms, and since there are no other additional non-linear constraints, the optimization so-
lution of the above machining optimization problems is obvious. For this case study, from
Eq. 7c it is seen that surface roughness increases with an increase in feed rate, and de-
creases with an increase in cutting speed and radial rake angle. Therefore, considering
machining constraints, the optimal machining parameters values can be easily determined,
i.e. they represent the boundary points in the experimental space covered. The best opti-
mal machining parameter values and corresponding surface roughness value are given in
Table 4.
Comparison of Meta-Heuristic Algorithms for Solving Machining Optimization Problems 39
where A is the cutting speed (m/min), B is the feed rate (mm/rev), and C is the depth of
cut (mm).
To identify optimal cutting parameters, Eq. 9 is to be maximized whereas Eq. 10 is to
be minimized considering the following machining parameter constraints:
The optimization problem is then selected as an objective function and solved using
GA. The optimization results obtained by Saravanakumar et al. [36] as well using RCGA,
SA, IHSA and CSA are given in Table 5.
Regarding the optimization performance for this case study, the following observa-
tions are made: (i) SA yields the best solution, (ii) For maximization of MRR, the best
and the most consistent results are obtained by SA and IHSA, (iii) CSA performs poorly
with very diversified solutions, (iv) for surface roughness minimization best optimization
solution as achieved with IHSA.
40 M. MADIĆ, D. MARKOVIĆ, M. RADOVANOVIĆ
where A is the cutting speed (m/min), B is the feed rate (mm/rev), and C is the depth of
cut (mm).
In an attempt to obtain optimum turning parameters for minimum surface roughness
value, Sharma et al. [37] apply PSO considering the following constraints for the
machining parameters:
The optimization results obtained by Sharma et al. [37] as well using RCGA, SA,
IHSA and CSA are given in Table 6.
Regarding the optimization performance for this case study, the following observa-
tions are made: (i) IHSA yields the best optimization results followed by RCGA, (ii) For
the first objective functions, SA and CSA perform poorly with very diversified solutions,
(iii) When optimizing second objective function, all algorithms except CSA have proved
efficient and found best solution.
5. CONCLUSION
In this paper, an attempt is made to compare the optimization solutions obtained by
the meta-heuristic algorithms applied to solving machining optimization problems. Four
meta-heuristic algorithms are taken into consideration, namely, RCGA, SA, IHSA and
CSA and applied to solving five machining case studies. On the basis of the obtained
results the following conclusions can be made:
In the case of machining optimization problems IHSA has proved to be the most effi-
cient meta-heuristic algorithm in terms of computational time and solution quality. The
IHSA parameter settings as proposed in this study enable IHSA efficient and fast explo-
ration of the search space without getting trapped in local minima.
Although SA has the slowest convergence, it can be used efficiently for solving
machining optimization problems. In some cases, it is found to be superior to the
other meta-heuristic algorithms.
CSA performs much poorer that the other meta-heuristic algorithms indicating a
need for fine tuning of the parameters for solving machining optimization prob-
lems.
Not intending to be suspicious about the search space exploration capability and
efficiency of other meta-heuristic algorithm, the optimization results indicate that
more effort is needed for efficient implementation of RCGA and CSA to the
solving machining optimization problems.
An approach presented in [32] based on Taguchi's experimental design has
proved efficient for fine tuning of IHSA parameters as used in this study. There-
fore, in the authors' opinion, it represents an appropriate way for fine tuning of
the RCGA and CSA algorithm parameters so as to improve its performance for
solving machining optimization problems.
The analysis of the obtained optimization results indicate that, regardless of the
meta-heuristic algorithm applied, there is a need to check the boundary points in
the hyperspace of the machining parameters in order to check the existence of
optimal solution.
An analysis of the mathematical model and optimization problem formulation is
to be done prior to the application of a meta-heuristic algorithm, since in some
situations it may happen that the optimal conditions can be determined in a much
easier way.
Finally, it is necessary to emphasize the need for validation of the optimization
solutions obtained using meta-heuristic algorithms.
42 M. MADIĆ, D. MARKOVIĆ, M. RADOVANOVIĆ
REFERENCES
1. Yıldız, A.R., 2009, A novel particle swarm optimization approach for product design and manufacturing,
The Internation Journal of Advanced Manufacturing Technology 40(5). pp. 617–628.
2. Marinković, V., Madić, M., 2011, Optimization of surface roughness in turning alloy steel by using
Taguchi method, Scientific research and Essay, 6 (16), pp. 3474-3484.
3. Madić, M., Radovanović, M., 2010, Savremene metode optimizacije obradnih procesa, IMK-14 Istraživanje
i razvoj, 37(4), pp. 19-24.
4. Yıldız, A.R., 2009, An effective hybrid immune-hill climbing optimization approach for solving design
and manufacturing optimization problems in industry, Journal of Materials Processing echnology 209(6),
p. 2773–2780.
5. Mukherjee, I., Ray, P.K., 2006, A review of optimization techniques in metal cutting processes,
Computers & Industrial Engineering 50(4), pp. 15–34.
6. Yusup, N., Zain, A.M., Hashim, S.Z.M., 2012, Evolutionary techniques in optimizing machining
parameters: Review and recent applications (2007-2011), Expert System with Applications, 39(10), pp.
9909-9927.
7. Zain, A.M., Haron, H., Sharif, S., 2010, Application of GA to optimize cutting conditions for
minimizing surface roughness in end milling machining process, Expert Systems with Applications
37(6), pp. 4650–4659.
8. Rao, R.V., Pawar, P.J., Davim, J.P., 2010, Optimisation of process parameters of mechanical type advanced
machining process using a simulated annealing algorithm, International Journal of Materials and
Product Technology, 37 (1-2), pp. 83-101.
9. Samanta, S., Chakraborty, S., 2011, Parametric optimization of some non-traditional machining processes
using artificial bee colony algorithm, Engineering Applications of Artificial Intelligence 24(6), pp. 946–957.
10. Madić, М, Marković, D, Radovanović, M, 2012, Optimization of surface roughness when turning
polyamide using ANN-IHSA approach, International Journal of Engineering & Technology, 1(4), pp.
432-443.
11. Yildiz, A.R., 2013, Cuckoo search algorithm for the selection of optimal machining parameters in
milling operations, The International Journal of Advanced Manufacturing Technology, 64(1-4), pp. 55-61.
12. Ciurana, J., Arias, G., Özel, T., 2009, Neural network modelling and particle swarm optimization (PSO)
of process parameters in pulsed laser micromachining of hardened AISI H13 steel, Materials and
Manufacturing Processes, 24(3), pp. 358–368.
13. Pansare, V.B., Kavade, M.V., 2012, Optimization of cutting parameters in multipass turning operation
using ant colony algorithm, International Journal of Engineering Science & Advanced Technology, 2(4),
pp. 955 – 960.
14. Yang, X.S., 2011, Review of Metaheuristics and Generalized Evolutionary Walk Algorithm, International
Journal of Bio-Inspired Computation, 3(2), pp. 77-84.
15. Al-Harkan, I.M, Trafalis, T.B., 2002, A hybrid scatter genetic tabu approach for continuous global
optimization, 11-31: In Combinatorial and Global Optimization, P.M. Pardalos, A. Migdalas, R. Burkard,
2002, World Scientific Publishing Co.
16. Manda, K,. Satapathy, S.C., Poornasatyanarayana, B., 2012, Population based meta-heuristic techniques for
solving optimization problems: A selective survey, International Journal of Emerging Technology and
Advanced Engineering, 2(11), pp. 206-211.
17. Glover, F., 1986, Future paths for integer programming and links to artificial intelligence, Computers &
Operations Research, 13(5), pp. 533–549.
18. Gholizadeh, S., Barati, H., 2012, Comprative study of three metaheuristics for optimum design of
trusses, International Journal of Optimization in Civil Engineering, 3, pp. 423-441.
19. Gomes de Freitas, F.G., Brito Maia, C.L., Lima de Campos, G.A., Teixeira de Souza, J., 2010, Optimization
in Software Testing Using Metaheuristics, Revista de Sistemas de Informação da FSMA, 5, pp. 3-13.
20. Khajehzadeh, M., Raihan Taha, M., El-Shafie, A., Eslami, M., 2011, A Survey on Meta-Heuristic
Global Optimization Algorithms, Research Journal of Applied Sciences, Engineering and Technology
3(6), pp. 569-578.
21. Blum, C., Roli, A., 2003, Metaheuristics in combinatorial optimisation: Overview and conceptural
comparision, ACM Computing Surveys, 35(3) 268-308.
Comparison of Meta-Heuristic Algorithms for Solving Machining Optimization Problems 43
22. Gendreau, M., Potvin, J.Y., 2005, Metaheuristics in Combinatorial Optimization, Annals of Operations
Research, 140(1), pp. 189-213.
23. Talbi, E., 2009, Metaheuristics: From Design to Implementation, Wiley Publishing.
24. Viana, A., Sousa, J.P., Matos, M.M, 2005, Constraint oriented neighborhoods – a new search strategy in
metaheuristics, In: Metaheuristics: Progress as real problem solvers, Edited by: T. Ibakari, K. Nonobe,
M. Yagiura, Springer.
25. Holland, J., 1975, Adaptation in Natural and Artificial Systems, University of Michigan Press, Ann Anbor.
26. Kirkpatrick, S., Gelatt, C., Vecchi, M., 1983, Optimization by Simulated Annealing, Science, 220(4598),
pp. 671-680.
27. Rao, S.S., 1996, Engineering Optimization: Theory and Practice, John Wiley & Sons.
28. Geem, Z.W., Kim, J.H., Loganathan, G.V., 2001, A new heuristic optimization algorithm: harmony
search, Simulation, 76(2), pp. 60–68.
29. Mahdavi, M., Fesanghary, M., Damangir, E., 2007, An improved harmony search algorithm for solving
optimization problems, Applied mathematics and computation, 188(2), pp. 1567–1579.
30. Yang, X.S., Deb, S., 2010, Engineering optimisation by cuckoo search, International Journal of
Mathematical Modelling and Numerical Optimisation 1(4), pp. 330 – 343.
31. Silberholz, J., Golden, B., 2010, Comparison of metaheuristics. In: Gendreau, M., Potvin, J.-V. (eds)
Handbook of Metaheuristics, 2nd edn, Springer, Heidelberg.
32. Marković, D., Madić, M., Petrović, G., 2012, Assessing the performance of improved harmony search
algorithm (IHSA) for the optimization of unconstrained functions using Taguchi experimental design,
Scientific research and essays, 7(12), pp. 1312-1318.
33. Shivakoti, I., Diyaley, S., Kibria, G., Pradhan, B.B., 2012, Analysis of Material Removal Rate using
Genetic Algorithm Approach, International Journal of Scientific & Engineering Research,3(5), pp. 1-6.
34. Mohruni, A.S., 2008, Performance evaluation of uncoated and coated carbide tools when end milling of
titanium alloy using response surface methodology. Thesis for Doctor of Philosophy, Universiti
Teknologi Malaysia, Skudai, Johor, Malaysia.
35. Pare, V., Agnihotri G., Krishna, C.M., 2011, Optimization of Cutting Conditions in End Milling Process
with the Approach of Particle Swarm Optimization, International Journal of Mechanical and Industrial
Engineering, 1(2), pp. 21-25.
36. Saravanakumar, K., Shaik Dawood, A.K., Pratheesh Kumar, M.R., Optimization of CNC Turning
Process Parameters on INCONEL 718 Using Genetic Algorithm, Engineering Science and Technology:
An International Journal, 2(4), pp. 532-537.
37. Sharma, A.V.N.L., Sandeep Kumar, P., Gopichand, A., Mohan Rao, R., 2012, Optimal machining
conditions for turning of Al/SiC MMC using PSO and Regression analysis, International Journal of
Engineering Research and Applications, 2(6), pp. 497-500.
44 M. MADIĆ, D. MARKOVIĆ, M. RADOVANOVIĆ