Skip to main content
Log in

Binary crow search algorithm for the uncapacitated facility location problem

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

Abstract

The crow search algorithm (CSA) is a recently proposed population-based optimization algorithm for continuous optimization. Since the original CSA searches for a feasible solution in a continuous search space, it cannot handle binary optimization problems directly. A few binary variants of CSA are presented in the literature. However, these variants search for a new solution in the continuous domain and need transfer functions to adapt the solution to the binary domain. This may cause poor exploration, making some regions in the search space impossible to discover. This paper proposes an effective binary CSA (BinCSA) using bitwise operations that directly searches for a feasible solution in the binary search space. For this purpose, the original update mechanism of the CSA is improved using exclusive-OR and AND logical operators in order to provide a good balance between exploration and exploitation in the binary search space. The effectiveness of the proposed BinCSA is evaluated on the uncapacitated facility location problem (UFLP), one of the most widely investigated pure binary optimization problems. The performance of BinCSA is examined using two different UFLP datasets, ORLIB and M*. The experimental results show that BinCSA obtained the optimal solution for 13 out of 15 instances of ORLIB and 12 out of 20 instances of M*. Moreover, BinCSA exhibits superior performance on ORLIB instances when compared to other methods and is very competitive on M* instances in terms of solution quality and robustness. The source code for BinCSA, as used for the UFLP, is available at https://github.com/3mrullah/BinCSA.

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

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

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

Similar content being viewed by others

Explore related subjects

Discover the latest articles, news and stories from top researchers in related subjects.

References

  1. Abdel-Basset M, El-Shahat D, Sangaiah AK (2019) A modified nature inspired meta-heuristic whale optimization algorithm for solving 0–1 knapsack problem. Int J Mach Learn Cybern 10(3):495–514

    Article  Google Scholar 

  2. Askarzadeh A (2016) A novel metaheuristic method for solving constrained engineering optimization problems: crow search algorithm. Comput Struct 169:1–12

    Article  Google Scholar 

  3. Aslan M, Gunduz M, Kiran MS (2019) Jayax: Jaya algorithm with xor operator for binary optimization. Appl Soft Comput 82:105576

    Article  Google Scholar 

  4. Babaoğlu I (2016) Utilization of bat algorithm for solving uncapacitated facility location problem. In: Intelligent and evolutionary systems, Springer, pp 199–208

  5. Baş E, Ülker E (2020) A binary social spider algorithm for uncapacitated facility location problem. Expert Syst Appl 161:113618

    Article  Google Scholar 

  6. Baykasoğlu A, Ozsoydan FB, Senol ME (2018) Weighted superposition attraction algorithm for binary optimization problems. Oper Res Int J 20:2555–2581

    Article  Google Scholar 

  7. Beasley JE (1990) Or-library: distributing test problems by electronic mail. J Op Res Soc 41(11):1069–1072

    Article  Google Scholar 

  8. Beşkirli M, Koç İ, Haklı H, Kodaz H (2018) A new optimization algorithm for solving wind turbine placement problem: binary artificial algae algorithm. Renew Energy 121:301–308

    Article  Google Scholar 

  9. Chudak FA, Shmoys DB (2003) Improved approximation algorithms for the uncapacitated facility location problem. SIAM J Comput 33(1):1–25

    Article  MathSciNet  MATH  Google Scholar 

  10. Cinar AC, Kiran MS (2018) Similarity and logic gate-based tree-seed algorithms for binary optimization. Comput Ind Eng 115:631–646

    Article  Google Scholar 

  11. Cornuéjols G, Nemhauser G, Wolsey L (1983) The uncapicitated facility location problem. Cornell University Operations Research and Industrial Engineering, Technical Report

  12. Crawford B, Soto R, Astorga G, García J, Castro C, Paredes F (2017) Putting continuous metaheuristics to work in binary search spaces. Complexity 2017:1–9

  13. Cuevas E, Cienfuegos M, ZaldíVar D, Pérez-Cisneros M (2013) A swarm optimization algorithm inspired in the behavior of the social-spider. Expert Syst Appl 40(16):6374–6384

    Article  Google Scholar 

  14. Cura T (2010) A parallel local search approach to solving the uncapacitated warehouse location problem. Comput Indus Eng 59(4):1000–1009

    Article  Google Scholar 

  15. Durgut R, Aydin ME (2021) Adaptive binary artificial bee colony algorithm. Appl Soft Comput 101:107054

    Article  Google Scholar 

  16. Gao S, Yu Y, Wang Y, Wang J, Cheng J, Zhou M (2019) Chaotic local search-based differential evolution algorithms for optimization. IEEE Trans Syst Man Cybern Syst

  17. García J, Crawford B, Soto R, Astorga G (2019) A clustering algorithm applied to the binarization of swarm intelligence continuous metaheuristics. Swarm Evolution Comput 44:646–664

    Article  Google Scholar 

  18. Glover F, Hanafi S, Guemri O, Crevits I (2018) A simple multi-wave algorithm for the uncapacitated facility location problem. Front Eng Manag 5(4):451–465

    Article  Google Scholar 

  19. Goldengorin B, Ghosh D, Sierksma G (2003) Branch and peg algorithms for the simple plant location problem. Comput Op Res 30(7):967–981

    Article  MathSciNet  MATH  Google Scholar 

  20. Guha S, Khuller S (1999) Greedy strikes back: improved facility location algorithms. J Algorithms 31(1):228–248

    Article  MathSciNet  MATH  Google Scholar 

  21. Guner AR, Sevkli M (2008) A discrete particle swarm optimization algorithm for uncapacitated facility location problem. J Art Evol Appl 2008:861512. https://doi.org/10.1155/2008/861512

  22. Gupta D, Sundaram S, Khanna A, Hassanien AE, De Albuquerque VHC (2018) Improved diagnosis of parkinson’s disease using optimized crow search algorithm. Comput Electr Eng 68:412–424

    Article  Google Scholar 

  23. Hakli H (2020) Bineho: a new binary variant based on elephant herding optimization algorithm. Neural Comput Appl 32:16971–16991

    Article  Google Scholar 

  24. Hakli H, Ortacay Z (2019) An improved scatter search algorithm for the uncapacitated facility location problem. Comput Indus Eng 135:855–867

    Article  Google Scholar 

  25. Ji J, Song S, Tang C, Gao S, Tang Z, Todo Y (2019) An artificial bee colony algorithm search guided by scale-free networks. Inform Sci 473:142–165

    Article  Google Scholar 

  26. Jia D, Duan X, Khan MK (2014) Binary artificial bee colony optimization using bitwise operation. Comput Indus Eng 76:360–365

    Article  Google Scholar 

  27. Kashan MH, Kashan AH, Nahavandi N (2013) A novel differential evolution algorithm for binary optimization. Comput Optim Appli 55(2):481–513

    Article  MathSciNet  MATH  Google Scholar 

  28. Kashan MH, Nahavandi N, Kashan AH (2012) Disabc: a new artificial bee colony algorithm for binary optimization. Appl Soft Comput 12(1):342–352

    Article  Google Scholar 

  29. Kiran MS (2015) Tsa: tree-seed algorithm for continuous optimization. Expert Syst Appl 42(19):6686–6698

    Article  Google Scholar 

  30. Kiran MS, Gündüz M (2013) Xor-based artificial bee colony algorithm for binary optimization. Turkish J Electr Eng Comput Sci 21:2307–2328

    Article  Google Scholar 

  31. Klose A (1998) A branch and bound algorithm for an uncapacitated facility location problem with a side constraint. Int Trans Op Res 5(2):155–168

    Article  Google Scholar 

  32. Korkmaz S, Kiran MS (2018) An artificial algae algorithm with stigmergic behavior for binary optimization. Applied Soft Computing 64:627–640

    Article  Google Scholar 

  33. Kratica J, Tošic D, Filipović V, Ljubić I (2001) Solving the simple plant location problem by genetic algorithm. RAIRO-Operations Research-Recherche Opérationnelle 35(1):127–142

    Article  MathSciNet  MATH  Google Scholar 

  34. Lanza-Gutierrez JM, Crawford B, Soto R, Berrios N, Gomez-Pulido JA, Paredes F (2017) Analyzing the effects of binarization techniques when solving the set covering problem through swarm optimization. Expert Syst Appl 70:67–82

    Article  Google Scholar 

  35. Mafarja MM, Mirjalili S (2019) Hybrid binary ant lion optimizer with rough set and approximate entropy reducts for feature selection. Soft Comput 23(15):6249–6265

    Article  Google Scholar 

  36. Mirjalili S, Lewis A (2013) S-shaped versus v-shaped transfer functions for binary particle swarm optimization. Swarm Evolut Comput 9:1–14

    Article  Google Scholar 

  37. Mirjalili S, Lewis A (2016) The whale optimization algorithm. Adv Eng softw 95:51–67

    Article  Google Scholar 

  38. Ozsoydan FB (2019) Artificial search agents with cognitive intelligence for binary optimization problems. Comput Indus Eng 136:18–30

    Article  Google Scholar 

  39. Papa JP, Rosa GH, de Souza AN, Afonso LC (2018) Feature selection through binary brain storm optimization. Comput Electr Eng 72:468–481

    Article  Google Scholar 

  40. Parvathy VS, Pothiraj S (2019) Multi-modality medical image fusion using hybridization of binary crow search optimization. Health Care Manag Sci 23:661–669

  41. Pookpunt S, Ongsakul W (2013) Optimal placement of wind turbines within wind farm using binary particle swarm optimization with time-varying acceleration coefficients. Renew Energy 55:266–276

    Article  Google Scholar 

  42. 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 

  43. Sahman MA, Altun AA, Dündar AO (2017) The binary differential search algorithm approach for solving uncapacitated facility location problems. J Comput Theor Nanosci 14(1):670–684

    Article  Google Scholar 

  44. Sayed GI, Hassanien AE, Azar AT (2019) Feature selection via a novel chaotic crow search algorithm. Neural Comput Appl 31(1):171–188

    Article  Google Scholar 

  45. Sonuç E (2020) A modified crow search algorithm for the weapon-target assignment problem. Int J Optim Control Theories Appl (IJOCTA) 10(2):188–197

    Article  MathSciNet  Google Scholar 

  46. Sonuc E, Sen B, Bayir S (2016) A parallel approach for solving 0/1 knapsack problem using simulated annealing algorithm on cuda platform. Int J Comput Sci Inform Secur 14(12):1096

    Google Scholar 

  47. Talbi EG (2009) Metaheuristics: from design to implementation, vol 74. Wiley, Amsterdam

    Book  MATH  Google Scholar 

  48. Valdes M (2016) In death, a crow’s big brain fires up memory, learning

  49. Yang XS (2010) A new metaheuristic bat-inspired algorithm. In: Nature inspired cooperative strategies for optimization (NICSO 2010), Springer, pp 65–74

  50. Yigit V, Aydin ME, Turkbey O (2006) Solving large-scale uncapacitated facility location problems with evolutionary simulated annealing. Int Product Res 44(22):4773–4791

    Article  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Emrullah Sonuç.

Ethics declarations

Conflict of interest

The author declares that they 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.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sonuç, E. Binary crow search algorithm for the uncapacitated facility location problem. Neural Comput & Applic 33, 14669–14685 (2021). https://doi.org/10.1007/s00521-021-06107-2

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00521-021-06107-2

Keywords