Skip to main content
Log in

A novel hybrid PSO–GWO algorithm for optimization problems

  • Original Article
  • Published:
Engineering with Computers Aims and scope Submit manuscript

Abstract

In this study, we propose a new hybrid algorithm fusing the exploitation ability of the particle swarm optimization (PSO) with the exploration ability of the grey wolf optimizer (GWO). Our approach combines two methods by replacing a particle of the PSO with small possibility by a particle partially improved with the GWO. We have evaluated our approach on five different benchmark functions and on three different real-world problems, namely parameter estimation for frequency-modulated sound waves, process flowsheeting problem, and leather nesting problem (LNP). The LNP is one of the hard industrial problems, where two-dimensional irregular patterns are placed on two-dimensional irregular-shaped leather material such that a minimum amount of the material is wasted. In our evaluations, we compared our approach with the conventional PSO and GWO algorithms, artificial bee colony and social spider algorithm, and as well as with three different hybrid approaches of the PSO and GWO algorithms. Our experimental results reveal that our hybrid approach successfully merges the two algorithms and performs better than all methods employed in the comparisons. The results also indicate that our approach converges to more optimal solutions with fewer iterations.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5

Similar content being viewed by others

Notes

  1. These values are calculated by first taking the ME differences between the HPSGWO and other algorithms, then converting these differences to the percentages with respect to minimum ME value, and finally taking the average of these percentages.

References

  1. Christensen J, Bastien C (2016) Chapter—seven-heuristic and meta-heuristic optimization algorithms. In: Christensen J, Bastien C (eds) Nonlinear optimization of vehicle safety structures. Butterworth-Heinemann, Oxford, pp 277–314

    Chapter  Google Scholar 

  2. Yang X-S (2014) Swarm intelligence based algorithms: a critical analysis. Evolut Intell 7:17–28

    Article  Google Scholar 

  3. Arani BO, Mirzabeygi P, Panahi MS (2013) An improved pso algorithm with a territorial diversity-preserving scheme and enhanced exploration-exploitation balance. Swarm Evolut Comput 11:1–15

    Article  Google Scholar 

  4. Wang Y, Li B, Weise T, Wang J, Yuan B, Tian Q (2011) Self-adaptive learning based particle swarm optimization. Inf Sci 181(20):4515–4538 (special issue on interpretable fuzzy systems)

    Article  MathSciNet  MATH  Google Scholar 

  5. Kessentini S, Barchiesi D (2010) A new strategy to improve particle swarm optimization exploration ability. 2010 Sec WRI Glob Congress Intell Syst 1:27–30

    Article  Google Scholar 

  6. Mirjalili SM, Lewis A (2014) Grey wolf optimizer. Adv Eng Softw 69:46–61

    Article  Google Scholar 

  7. Faris H, Aljarah I, Al-Betar MA, Mirjalili S (2018) Grey wolf optimizer: a review of recent variants and applications. Neural Comput Appl 30:413–435

    Article  Google Scholar 

  8. Mahmood A, Khan S, Albalooshi F, Awwad N (2017) Energy-aware real-time task scheduling in multiprocessor systems using a hybrid genetic algorithm. Electronics 6:40

    Article  Google Scholar 

  9. Liu J, Xu S, Zhang F, Wang L (2017) A hybrid genetic-ant colony optimization algorithm for the optimal path selection. Intell Autom Soft Comput 23:235–242

    Article  Google Scholar 

  10. Torkaman S, Fatemi Ghomi S, Karimi B (2017) Hybrid simulated annealing and genetic approach for solving a multi-stage production planning with sequence-dependent setups in a closed-loop supply chain. Appl Soft Comput 71:1085–1104

    Article  Google Scholar 

  11. Lam YC, Deng YM, Au CK (2006) A GA/gradient hybrid approach for injection moulding conditions optimisation. Eng Comput 21:193–202

    Article  Google Scholar 

  12. Yuce B, Fruggiero F, Packianather M, Pham D, Mastrocinque E, Lambiase A, Fera M (2017) Hybrid Genetic Bees Algorithm applied to single machine scheduling with earliness and tardiness penalties. Comput Ind Eng 113:842–858

    Article  Google Scholar 

  13. Vosoughi A, Darabi A (2017) A new hybrid CG-GAs approach for high sensitive optimization problems: with application for parameters estimation of FG nanobeams. Appl Soft Comput 52:220–230

    Article  Google Scholar 

  14. Chen Z-X, Huang H (2011) A hybrid method for intrusion detection with GA-based feature selection. Intell Autom Soft Comput 17:175–186

    Article  Google Scholar 

  15. Mafarja MM, Mirjalili S (2017) Hybrid Whale Optimization Algorithm with simulated annealing for feature selection. Neurocomputing 260:302–312

    Article  Google Scholar 

  16. Taheri K, Hasanipanah M, Golzar SB, Majid MZA (2017) A hybrid artificial bee colony algorithm-artificial neural network for forecasting the blast-produced ground vibration. Eng Comput 33:689–700

    Article  Google Scholar 

  17. Xue Y, Zhong S, Ma T, Cao J (2015) A hybrid evolutionary algorithm for numerical optimization problem. Intell Autom Soft Comput 21:473–490

    Article  Google Scholar 

  18. Singh N, Singh S (2017) A novel hybrid GWO-SCA approach for optimization problems. Eng Sci Technol Int J 20:1586–1601

    Article  Google Scholar 

  19. Pan J-S, Dao T-K, Chu S-C, Nguyen T-T (2018) A novel hybrid GWO-FPA algorithm for optimization applications. Advances in smart vehicular technology, transportation, communication and applications. VTCA 2017. Smart innovation, systems and technologies. Springer, Cham, pp 274–281

    Google Scholar 

  20. Javidrad F, Nazari M (2017) A new hybrid particle swarm and simulated annealing stochastic optimization method. Appl Soft Comput 60:634–654

    Article  Google Scholar 

  21. Kumar N, Vidyarthi DP (2016) A novel hybrid PSO-GA meta-heuristic for scheduling of DAG with communication on multiprocessor systems. Eng Comput 32:35–47

    Article  Google Scholar 

  22. Garg H (2016) A hybrid PSO-GA algorithm for constrained optimization problems. Appl Math Comput 274:292–305

    MathSciNet  MATH  Google Scholar 

  23. Ali AF, Tawhid MA (2017) A hybrid particle swarm optimization and genetic algorithm with population partitioning for large scale optimization problems. Ain Shams Eng J 8:191–206

    Article  Google Scholar 

  24. Kaur S, Mahajan R (2018) Hybrid meta-heuristic optimization based energy efficient protocol for wireless sensor networks. Egypt Inform J 19(3):145–150

    Article  Google Scholar 

  25. Ghasemi E, Kalhori H, Bagherpour R (2016) A new hybrid ANFIS-PSO model for prediction of peak particle velocity due to bench blasting. Eng Comput 32:607–614

    Article  Google Scholar 

  26. Hasanipanah M, Shahnazar A, Bakhshandeh Amnieh H, Jahed Armaghani D (2017) Prediction of air-overpressure caused by mine blasting using a new hybrid PSO-SVR model. Eng Comput 33:23–31

    Article  Google Scholar 

  27. Chopra N, Kumar G, Mehta S (2016) Hybrid GWO-PSO algorithm for solving convex economic load dispatch problem. Int J Res Adv Technol 4(6):37–41

    Google Scholar 

  28. Kamboj VK (2016) A novel hybrid PSO-GWO approach for unit commitment problem. Neural Comput Appl 27:1643–1655

    Article  Google Scholar 

  29. Singh N, Singh SB (2017) Hybrid algorithm of particle swarm optimization and grey wolf optimizer for improving convergence performance. J Appl Math 2017:2030489. https://doi.org/10.1155/2017/2030489

    Article  MathSciNet  Google Scholar 

  30. Suganthan PN, Hansen N, Liang JJ, Deb K, Chen Y-P, Auger A, Tiwari S (2005) Problem definitions and evaluation criteria for the cec 2005 special session on real-parameter optimization. KanGAL Rep 2005005:2005

    Google Scholar 

  31. Li C, Yang S, Nguyen TT (2012) A self-learning particle swarm optimizer for global optimization problems. IEEE Trans Syst Man Cybern Part B (Cybernetics) 42:627–646

    Article  Google Scholar 

  32. Dong M, Wang N, Cheng X, Jiang C (2014) Composite differential evolution with modified oracle penalty method for constrained optimization problems. Math Prob Eng 2014:617905. https://doi.org/10.1155/2014/617905

    Google Scholar 

  33. Cherri LH, Mundim LR, Andretta M, Toledo FMB, Oliveira JF, Carravilla MA (2016) Robust mixed-integer linear programming models for the irregular strip packing problem. Eur J Oper Res 253:570–583

    Article  MathSciNet  MATH  Google Scholar 

  34. Alves C, Brás P, Valério de Carvalho J, Pinto T (2012) New constructive algorithms for leather nesting in the automotive industry. Comput Oper Res 39(7):1487–1505

    Article  Google Scholar 

  35. Brás P, Alves C, Valério De Carvalho J, Pinto T (2010) Exploring new constructive algorithms for the leather nesting problem in the automotive industry. IFAC Proc Vol 43:225–230

    Article  Google Scholar 

  36. Crispin A, Clay P, Taylor G, Bayes T, Reedman D (2005) Genetic algorithm coding methods for leather nesting. Appl Intell 23:9–20

    Article  Google Scholar 

  37. Yuping Z, Shouwei J, Chunli Z (2005) A very fast simulated re-annealing algorithm for the leather nesting problem. Int J Adv Manuf Technol 25:1113–1118

    Article  Google Scholar 

  38. Basturk B (2006) An artificial bee colony (abc) algorithm for numeric function optimization. In IEEE Swarm Intelligence Symposium. Indianapolis, IN, USA, 2006

  39. Yu JJ, Li VO (2015) A social spider algorithm for global optimization. Appl Soft Comput 30:614–627

    Article  Google Scholar 

  40. Kennedy J, Eberhart R (1995) Particle swarm optimization. Proc ICNN’95 Int Conf Neural Netw 4:1942–1948 IEEE

    Article  Google Scholar 

  41. Hasanipanah M, Naderi R, Kashir J, Noorani SA, Zeynali Aaq Qaleh A (2017) Prediction of blast-produced ground vibration using particle swarm optimization. Eng Comput 33:173–179

    Article  Google Scholar 

  42. Ghasemi E (2017) Particle swarm optimization approach for forecasting backbreak induced by bench blasting. Neural Comput Appl 28:1855–1862

    Article  Google Scholar 

  43. Yagiz S, Ghasemi E, Adoko AC (2018) Prediction of rock brittleness using genetic algorithm and particle swarm optimization techniques. Geotech Geol Eng 36:1–11

    Article  Google Scholar 

  44. Kaveh A, Zakian P (2017) Improved GWO algorithm for optimal design of truss structures. Eng Comput 34:1–23

    Article  Google Scholar 

  45. Mirjalili S (2015) How effective is the Grey Wolf optimizer in training multi-layer perceptrons. Appl Intell 43:150–161

    Article  Google Scholar 

  46. Eberhart R, Shi Y (2000) Comparing inertia weights and constriction factors in particle swarm optimization. In: Proceedings of the 2000 congress on evolutionary computation. CEC00 (Cat. No. 00TH8512), vol. 1, pp. 84–88, IEEE

  47. Shirani H, Habibi M, Besalatpour A, Esfandiarpour I (2015) Determining the features influencing physical quality of calcareous soils in a semiarid region of Iran using a hybrid PSO-DT algorithm. Geoderma 259–260:1–11

    Article  Google Scholar 

  48. Li S-F, Cheng C-Y (2017) Particle swarm optimization with fitness adjustment parameters. Comput Ind Eng 113:831–841

    Article  Google Scholar 

  49. Meng X, Liu Y, Gao X, Zhang H (2014) A new bio-inspired algorithm: chicken swarm optimization. Springer, Cham, pp 86–94

    Google Scholar 

  50. James J, Li VO (2015) A social spider algorithm for global optimization. Appl Soft Comput 30:614–627

    Article  Google Scholar 

  51. James J, Li VO (2015) Parameter sensitivity analysis of social spider algorithm. In: Evolutionary computation (CEC), 2015 IEEE congress on, IEEE, pp 3200–3205

  52. Dang BT, Vo MC, Truong TK (2017) Social spider algorithm-based spectrum allocation optimization for cognitive radio networks. Int J Appl Eng Res 12(13):3879–3887

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fatih Ahmet Şenel.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Appendix

Appendix

In Sect. 3.1, we have given Eq. 12 for the calculation of cost and Fig. 2 for illustrating the procedure with sample polygons. In this appendix, we give the details of distance calculations needed to compute the cost.

A polygon consists of multiple edges. To calculate minimum distance of a vertex point to a polygon, \(d_{\min }\), we need to calculate the minimum distances from that point to all different edges of the polygon. The minimum of these distances gives us \(d_{\min }\). For this reason, we will below explain how the minimum distance of a vertex point to one of the edges is calculated.

Fig. 6
figure 6

Three different cases for a point, \(P_C\), and an edge, \(P_AB\)

In Fig. 6, we depicted three different cases for a point, \(P_C\), and an edge, \(P_{AB}\), where the intersection of the perpendicular line from \(P_C\) to \(P_{AB}\) falls into three different sections, namely: (1) outside the \(P_{AB}\) and close to \(P_A\), (2) over \(P_{AB}\), and (3) outside the \(P_{AB}\) and close to \(P_B\). Here, we define a parameter t whose magnitude is calculated by dividing \({d_A}\) to \({d_{AB}}\), but we determine its sign as follows. When the intersection of the perpendicular line is outside the \(P_{AB}\) and close to \(P_A\), t is negative, for the other cases t is positive. In other words, \(P_A\) is considered as a reference point. We can formulate the coordinates of the perpendicular intersection point, D, in terms of t and coordinates of points \(P_A\) and \(P_B\) as in Eq. 13. Our aim is to find t, and for this purpose, we first express the distance, \(|DP_C|\), between D and \(P_C\) as shown below:

$$\begin{aligned} D_{X}& = P_{A_{X}}+t \times (P_{B_{X}}-P_{A_{X}}), \nonumber \\ D_{Y}& = P_{A_{Y}}+t \times (P_{B_{Y}}-P_{A_{Y}}), \end{aligned}$$
(13)
$$\begin{aligned} |DP_C|& = \sqrt{ \begin{array}{l} ((P_{A_{X}}+t \times (P_{B_{X}}-P_{A_{X}}))-P_{C_{X}})^{2}+ \\ ((P_{A_{Y}}+t \times (P_{B_{Y}}-P_{A_{Y}}))-P_{C_{Y}})^{2}. \end{array}} \end{aligned}$$
(14)

Since \(DP_C\) segment is perpendicular to the given edge only when \(|DP_C|\) is minimum, we can find an equation to calculate t by minimizing \(|DP_C|\). To minimize \(|DP_C|\), we can take the first derivative of Eq. 14 in terms of t and equate it to zero. For the sake of simplicity, we can use the derivative of the terms inside the square root sign, since the minimization of those terms will also minimize \(|DP_C|\). Such a derivation will result in Eq. 15. When we equate Eq. 15 to zero, we find Eq. 16 for t.

$$\begin{aligned}&\frac{\text {d}}{{\text {d}}t} |DP_C|^2 = 2 \times ((P_{A_{X}}+t \times (P_{B_{X}}-P_{A_{X}}))-P_{C_{X}}) \times (P_{B_{X}}-P_{A_{X}})\nonumber \\&\quad +2 \times ((P_{A_{Y}}+t \times (P_{B_{Y}}-P_{A_{Y}}))-P_{C_{Y}}) \times (P_{B_{Y}}-P_{A_{Y}}), \end{aligned}$$
(15)
$$\begin{aligned}&t = \frac{(P_{C_{X}}-P_{A_{X}}) \times (P_{B_{X}}-P_{A_{X}})+(P_{C_{Y}}-P_{A_{Y}}) \times (P_{B_{Y}}-P_{A_{Y}})}{(P_{B_{X}}-P_{A_{X}})^{2}+(P_{B_{Y}}-P_{A_{Y}})^{2}}. \end{aligned}$$
(16)

Given a point \(P_C\) and an edge, after calculating t with Eq. 16, we can find minimum distance of \(P_C\) to the edge, \(d_{C_{\text {min}}}\), using Eq. 17. Note that, for the Cases 1 and 3 in Fig. 6, closest distances are to the points \(P_A\) and \(P_B\), respectively.

$$\begin{aligned} d_{C_{\text {min}}} = {\left\{ \begin{array}{ll} \sqrt{(P_{A_{X}}-P_{C_{X}})^{2}+(P_{A_{Y}}-P_{C_{Y}})^{2}} &{} t<0 \\ \sqrt{ \begin{array}{l} ((P_{A_{X}}+t \times (P_{B_{X}}-P_{A_{X}}))-P_{C_{X}})^{2}+ \\ ((P_{A_{Y}}+t \times (P_{B_{Y}}-P_{A_{Y}}))-P_{C_{Y}})^{2} \end{array}} &{} 0 \le t \le 1 \\ \sqrt{(P_{B_{X}}-P_{C_{X}})^{2}+(P_{B_{Y}}-P_{C_{Y}})^{2}} &{} t>1. \end{array}\right. } \end{aligned}$$
(17)

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Şenel, F.A., Gökçe, F., Yüksel, A.S. et al. A novel hybrid PSO–GWO algorithm for optimization problems. Engineering with Computers 35, 1359–1373 (2019). https://doi.org/10.1007/s00366-018-0668-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00366-018-0668-5

Keywords

Navigation