Skip to main content
Log in

Orthogonal Latin squares-based firefly optimization algorithm for industrial quadratic assignment tasks

  • Original Article
  • Published:
Neural Computing and Applications Aims and scope Submit manuscript

Abstract

The quadratic assignment problem (QAP) is one of the hardest combinatorial optimization tasks. It has many real-world applications such as airport gate assignment, and hospital layout problem. Designing enhanced optimization methodologies for the QAP is an active research area. In this paper, we present an integrated firefly algorithm (FA) based on mutually orthogonal Latin squares (MOLS), named as FA-MOLS, to solve the QAP. In the optimization process, the FA-MOLS employs three improvements, namely the MOLS strategy, opposition-based learning scheme, and repeated 2-exchange mutation to maintain the balance between exploitation and exploration abilities. By these improvements, it is intended to avoid the trapping in local optima and improve the convergence speed. The performance of the proposed FA-MOLS is validated on different test instances from the literature. Additionally, two real-world QAPs are simulated and investigated, the office buildings of a single company and the layout of hospital departments. The comprehensive experimental simulations and the nonparametric Wilcoxon’s test affirm that the proposed FA-MOLS can provide a highly competitive performance compared with other algorithms from the literature. Therefore, it is concluded that FA-MOLS is an efficient and reliable algorithm for solving industrial quadratic assignment tasks.

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
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

References

  1. Lim MH, Yuan Y, Omatu S (2000) Efficient genetic algorithms using simple genes exchange local search policy for the quadratic assignment problem. Comput Optim Appl 15(3):249–268

    Article  MathSciNet  MATH  Google Scholar 

  2. Helber S, Bohme D, Oucherif F, Lagershausen S, Kasper S (2016) A hierarchical facility layout planning approach for large and complex hospitals. Flexible Serv Manuf J 28(1–2):5–29

    Article  Google Scholar 

  3. Steinberg L (1961) The backboard wiring problem: a placement algorithm. SIAM Rev 3(1):37–50

    Article  MathSciNet  MATH  Google Scholar 

  4. Pitsoulis LS, Pardalos PM, Hearn DW (2001) Approximate solutions to the turbine balancing problem. Europ J Oper Res 130:147–155

    Article  MATH  Google Scholar 

  5. Sabba S, Chikhi S (2014) A discrete binary version of bat algorithm for multidimensional knapsack problem. Int J Bio-Inspired Comput 6:140–152

    Article  Google Scholar 

  6. Pradeepmon TG, Sridharan R, Panicker V (2018) Development of modified discrete particle swarm optimization algorithm for quadratic assignment problems. Int J Ind Eng Comput 9(4):491–508

    Google Scholar 

  7. Sahni S, Gonzalez T (1976) P-complete approximation problems. JACM 23:555–65

    Article  MathSciNet  MATH  Google Scholar 

  8. Loiola E, de Abreo N, Boaventura-Nett P, Hahn P, Querido T (2007) A survey for the quadratic assignment problem. Europ J Oper Res 176:657–690

    Article  MathSciNet  MATH  Google Scholar 

  9. Burkard RE, Cela E, Pardalos PM, Pitsoulis LS (1998) The quadratic assignment problem. Kluwer Academic Publishers, Dordrecht

    MATH  Google Scholar 

  10. Stutzle T (2006) Iterated local search for the quadratic assignment problem. Europ J Oper Res 174(3):1519–1539

    Article  MathSciNet  MATH  Google Scholar 

  11. Benlic U, Hao JK (2013) Breakout local search for the quadratic assignment problem. Appl Math Comput 219(9):4800–4815

    MathSciNet  MATH  Google Scholar 

  12. Wilhelm MR, Ward TL (1987) Solving quadratic assignment problems by simulated annealing. IIE Trans 19(1):107–119

    Article  Google Scholar 

  13. Rizk-Allah RM, Hassanien AE, Elhoseny M (2019) A new binary salp swarm algorithm: development and application for optimization tasks. Neural Comput Appl 31:1641–1663

    Article  Google Scholar 

  14. Rizk-Allah RM (2019) An improved sine cosine algorithm based on orthogonal parallel information for global optimization. Soft Comput 23:7135–7161

    Article  Google Scholar 

  15. Mousa AA, Abd El-Wahed WF, Rizk-Allah RM (2011) A hybrid ant colony optimization approach based local search scheme for multiobjective design optimizations. J Electric Power Syst Res 81:1014–1023

    Article  Google Scholar 

  16. El-Sawy AA, Zaki EM, Rizk-Allah RM (2013) Novel hybrid ant colony optimization and firefly algorithm for multi-objective optimization problems. Int J Math Archive 4(1):152–161

    MATH  Google Scholar 

  17. Rizk-Allah RM (2014) A novel multi-ant colony optimization for multi-objective resource allocation problems. Int J Math Archive 5(9):183–192

    Google Scholar 

  18. Rizk-Allah RM, Zaki EM, El-Sawy AA (2013) Hybridizing ant colony optimization with firefly algorithm for unconstrained optimization problems. Appl Math Comput 224:473–483

    MathSciNet  MATH  Google Scholar 

  19. Rizk-Allah RM (2016) Hybridization of fruit fly optimization algorithm and firefly algorithm for solving nonlinear programming problems. Int J Swarm Intell Evolut Comput 5(2):1–10

    Google Scholar 

  20. Rizk-Allah RM, Hassanien AE (2018) New binary bat algorithm for solving 0–1 knapsack problem. Complex Intell Syst 4(1):31–53

    Article  Google Scholar 

  21. Rizk-Allah RM, El-Sehiemy RA, Deb S, Wang G-G (2017) A novel fruit fly framework for multi-objective shape design of tubular linear synchronous motor. J Supercomput 73(3):1235–1256

    Article  Google Scholar 

  22. Rizk-Allah RM, Hassanien AE, Bhattacharyya S (2018) Chaotic crow search algorithm for fractional optimization problems. Appl Soft Comput 71:1161–1175

    Article  Google Scholar 

  23. Rizk-Allah RM, Abdel HM, El-Sehiemy AR, Shady HE, Aleem A, El Shahat A (2017) A new sine cosine optimization algorithm for solving combined non-convex economic and emission power dispatch problems. Int J Energy Convers 5(6):180–192

    Google Scholar 

  24. El-Sehiemy RA, Rizk-Allah RM, Attia AF (2019) Assessment of hurricane versus sine-cosine optimization algorithms for economic/ecological emissions load dispatch problem. Int Trans Electrical Energy Syst 29(2):1–14

    Google Scholar 

  25. Lv ZM, Wang LQ, Han ZY, Zhao J, Wang W (2019) Surrogate-assisted particle swarm optimization algorithm with Pareto active learning for expensive multi-objective optimization. IEEE/CAA J Autom Sinica 6(3):838–849

    Article  MathSciNet  Google Scholar 

  26. Jagatheesan K, Anand B, Samanta S, Dey N, Ashour AS, Balas VE (2019) Design of a proportional-integral-derivative controller for an automatic generation control of multi-area power thermal systems using firefly algorithm. IEEE/CAA J Autom Sinica 6(2):503–515

    Article  Google Scholar 

  27. Zhao J, Liu SX, Zhou MC, Guo XW, Qi L (2018) Modified cuckoo search algorithm to solve economic power dispatch optimization problems. IEEE/CAA J Autom Sinica 5(4):794–806

    Article  MathSciNet  Google Scholar 

  28. Dokeroglu T, Sevinc E, Cosar A (2019) Artificial bee colony optimization for the quadratic assignment problem. Appl Soft Comput 76:595–606

    Article  Google Scholar 

  29. Kilic H, Yuzgec U (2019) Tournament selection based antlion optimization algorithm for solving quadratic assignment problem. Int J Eng Sci Technol 22(2):673–691

    Google Scholar 

  30. Abdel-Basset M, Manogaran G, El-Shahat D, Mirjalili S (2018) Integrating the whale algorithm with tabu search for quadratic assignment problem: a new approach for locating hospital departments. Appl Soft Comput 73:530–546

    Article  Google Scholar 

  31. Riffi ME, Saji Y, Barkatou M (2017) Incorporating a modified uniform crossover and 2-exchange neighborhood mechanism in a discrete bat algorithm to solve the quadratic assignment problem. Egypt Inf J 18(3):221–232

    Google Scholar 

  32. Hafiz F, Abdennour A (2016) Particle swarm algorithm variants for the quadratic assignment problems—a probabilistic learning approach. Exp Syst Appl 44:413–431

    Article  Google Scholar 

  33. Benlic U, Hao J-K (2015) Memetic search for the quadratic assignment problem. Exp Syst Appl 42(1):584–595

    Article  Google Scholar 

  34. Dokeroglu T (2015) Hybrid teaching-learning-based optimization algorithms for the quadratic assignment problem. Comput Ind Eng 85:86–101

    Article  Google Scholar 

  35. Tosun U (2014) A new recombination operator for the genetic algorithm solution of the quadratic assignment problem. Procedia Comput Sci 32:29–36

    Article  Google Scholar 

  36. Tosun U, Dokeroglu T, Cosar A (2013) A robust island parallel genetic algorithm for the quadratic assignment problem. Int J Prod Res 51(14):4117–4133

    Article  Google Scholar 

  37. Misevicius A (2012) An implementation of the iterated tabu search algorithm for the quadratic assignment problem. OR Spectrum 34(3):665–690

    Article  MathSciNet  MATH  Google Scholar 

  38. Fescioglu-Unver N, Kokar M (2011) Self controlling tabu search algorithm for the quadratic assignment problem. Comput Ind Eng 60(2):310–319

    Article  Google Scholar 

  39. Mamaghani AS, Meybodi MR (2011) An application of imperialist competitive algorithm to solve the quadratic assignment problem. In Proceedings of the 6th international conference on internet technology and secured transactions, Abu Dhabi, United Arab Emirates, pp 562–565

  40. Shojaee K, Mollai N, Seyedkashi SMH, Neshati M (2010) New simulated annealing algorithm for quadratic assignment problem. In Proceedings of the fourth international conference on advanced engineering computing and applications in sciences, pp 87–92

  41. James T, Rego C, Glover F (2009) Multistart tabu search and diversification strategies for the quadratic assignment problem. IEEE Trans Syst Man Cybern 39(3):579–596

    Article  Google Scholar 

  42. Tsutsui S (2008) Parallel ant colony optimization for the quadratic assignment problems with symmetric multi processing. In Proceedings of international conference on ant colony optimization and swarm intelligence, ANTS 2008, pp 363–370

  43. Wolpert DH, Macready WG (1997) No free lunch theorems for optimization. IEEE Trans Evolut Comput 1:67–82

    Article  Google Scholar 

  44. Yang XS (2008) Nature-inspired metaheuristic algorithms. Luniver Press, UK

    Google Scholar 

  45. Li W, Wang GG, Alavi AH (2020) Learning-based elephant herding optimization algorithm for solving numerical optimization problems. Knowl Based Syst, vol 195, Article ID: 105675

  46. Wang GG, Deb S, Gandomi AH, Alavi AH (2016) Opposition-based krill herd algorithm with Cauchy mutation and position clamping. Neurocomputing 177:147–157

    Article  Google Scholar 

  47. Li W, Wang GG (2021) Elephant herding optimization using dynamic topology and biogeography-based optimization based on learning for numerical optimization. Eng Comput ((in print))

  48. Li J, Li YX, Tian SS, Xia JL (2020) An improved cuckoo search algorithm with self-adaptive knowledge learning. Neural Comput Appl 32:11967–11997

    Article  Google Scholar 

  49. Li J, Yang YH, Lei H, Wang GG (2020) Solving logistics distribution center location with improved cuckoo search algorithm. Int J Comput Intell Syst 14(1):676–692

    Article  Google Scholar 

  50. Elshafei AE (1977) Hospital layout as a quadratic assignment problem. Oper Res Quart 28:167–179

    Article  MATH  Google Scholar 

  51. Magos AD, Mourtos I (2004) An LP-based proof for the non-existence of a pair of orthogonal Latin squares of order 6. Oper Res Lett 32(4):336–344

    Article  MathSciNet  MATH  Google Scholar 

  52. Seberry J, Tonien D (2012) Some constructions of mutually orthogonal Latin squares and superimposed codes Discrete Mathematics. Algorithms Appl 4(3):1–8

    MATH  Google Scholar 

  53. Seberry J, Tonien D. https://www.opt.math.tugraz.at/qaplib/inst.html#BO. Visited, 28/2/2019

  54. Xueshi D, Cai Y (2019) A novel genetic algorithm for large scale colored balanced traveling salesman problem. Future Generat Comput Syst 95:727–742

    Article  Google Scholar 

  55. Hao L, Zhang X-W, Tu L-P (2020) A modified particle swarm optimization using adaptive strategy. Expert Syst Appl, vol 152, Article ID: 113353

  56. Derrac J, Garca S, Molina D, Herrera F (2011) A practical tutorial on the use of nonparametric statistical tests as a methodology for comparing evolutionary and swarm intelligence algorithms. Swarm Evolut Comput 1(1):3–18

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Aboul Ella Hassanien.

Ethics declarations

Conflict of interest

In the present work, we have not used any material from previously published. So we have no conflict of interest.

Additional information

Publisher's Note

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

Appendices

Appendix A: Building data

The data of the distance (Fig. 12) and flow (Fig. 13) matrices for layout of company buildings.

Fig. 12
figure 12

Distance matrix for layout of company buildings

Fig. 13
figure 13

Flow matrix for layout of company buildings

Appendix B: Hospital layout data

The data of the distance (Fig. 14) and flow (Fig. 15) matrices for layout of hospital departments.

Fig. 14
figure 14

Distance matrix for layout of hospital departments

Fig. 15
figure 15

Flow matrix for layout of hospital departments

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rizk-Allah, R.M., Slowik, A., Darwish, A. et al. Orthogonal Latin squares-based firefly optimization algorithm for industrial quadratic assignment tasks. Neural Comput & Applic 33, 16675–16696 (2021). https://doi.org/10.1007/s00521-021-06262-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06262-6

Keywords

Navigation