Skip to main content
Log in

Improved optimal foraging algorithm for global optimization

  • Regular Paper
  • Published:
Computing Aims and scope Submit manuscript

Abstract

The optimal foraging algorithm (OFA) is a swarm-based algorithm motivated by animal behavioral ecology theory. When solving complex optimization problems characterized by multiple peaks, OFA is easy to get trapped in local minima and encounters slow convergence. Therefore, this paper presents an improved optimal foraging algorithm with social behavior based on quasi-opposition (QOS-OFA) to address these problems. First, quasi-opposition-based learning (QOBL) is introduced to improve the overall quality of the population in the initialization phase. Second, an efficient cosine-based scale factor is designed to accelerate the exploration of the search space. Third, a new search strategy with social behavior is designed to enhance local exploitation. The cosine-based scale factor is used as a regulator to achieve a balance between global exploration and local exploitation. The proposed QOS-OFA is compared with seven meta-heuristic algorithms on a CEC benchmark test suite and three real-world optimization problems. The experimental results show that QOS-OFA is better than other competitors on most of the test problems.

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

Similar content being viewed by others

Data Availability

All data generated or analysed during this study are included in this article.

References

  1. Li C, Liang K, Chen Y, Pan M (2023) An exploitation-boosted sine cosine algorithm for global optimization. Eng Appl Artif Intel 117:105620

    Article  Google Scholar 

  2. Juan C, Norberto H, Fredy S, Valeria V, Joselito M, Pedro L (2022) A majority-minority cellular automata algorithm for global optimization. Expert Syst Appl 203:117379

    Article  Google Scholar 

  3. Sun G, Han R, Deng L, Li C, Yang G (2023) Hierarchical structure-based joint operations algorithm for global optimization. Swarm Evol Comput 79:101311

    Article  Google Scholar 

  4. Gupta S, Deep K (2019) A hybrid self-adaptive sine cosine algorithm with opposition based learning. Expert Syst Appl 119:210–230

    Article  Google Scholar 

  5. Beirami A, Vahidinasab V, Shafie-khah M, Catalão J (2020) Multiobjective ray optimization algorithm as a solution strategy for solving non-convex problems: a power generation scheduling case study. Int J Electric Power 119:105967

    Article  Google Scholar 

  6. Formato RA (2007) Central force optimization: a new metaheuristic with applications in applied electromagnetics. Prog Electromag Res 77:425–491

    Article  Google Scholar 

  7. Erol OK, Eksin I (2006) A new optimization method: Big bang-big crunch. Adv Eng Softw 37(2):106–111

    Article  Google Scholar 

  8. Kaveh A, Khayatazad M (2012) A new meta-heuristic method: ray optimization. Comput Struct 112–113:283–294

    Article  Google Scholar 

  9. Rashedi E, Nezamabadi-Pour H, Saryazdi S (2009) GSA: a gravitational search algorithm. Inf Sci 179(13):2232–2248

    Article  Google Scholar 

  10. Eskandar H, Sadollah A, Bahreininejad A, Hamdi M (2012) Water cycle algorithm-a novel metaheuristic optimization method for solving constrained engineering optimization problems. Comput Struct 110:151–166

    Article  Google Scholar 

  11. Tahani M, Babayan N (2019) Flow regime algorithm (FRA): a physics-based metaheuristics algorithm. Knowl Inf Syst 60(2):1001–1038

    Article  Google Scholar 

  12. Kaveh A (2014) Advances in metaheuristic algorithms for optimal design of structures. Springer, Cham

    Book  Google Scholar 

  13. Mirjalili S (2016) SCA: a sine cosine algorithm for solving optimization problems. Knowl-Based Syst 96:120–133

    Article  Google Scholar 

  14. Kashan AH (2015) A new metaheuristic for optimization: optics inspired optimization (OIO). Comput Oper Res 55:99–125

    Article  MathSciNet  Google Scholar 

  15. Guan B, Zhao Y, Yin Y, Li Y (2021) A differential evolution based feature combination selection algorithm for high-dimensional data. Inform Sci 547:870–886

    Article  MathSciNet  Google Scholar 

  16. Li T, Yin Y, Yang B, Hou J, Zhou K (2022) A self-learning bee colony and genetic algorithm hybrid for cloud manufacturing services. Computing 104(9):1–27

    Article  MathSciNet  Google Scholar 

  17. Goldberg DE, Holland JH (1988) Genetic algorithms and machine learning. Mach Learn 3:95–99

    Article  Google Scholar 

  18. Storn R, Price K (1997) Differential evolution-a simple and efficient heuristic for global optimization over continuous spaces. J Glob Optim 11:341–359

    Article  MathSciNet  Google Scholar 

  19. Koza JR (1994) Genetic programming as a means for programming computers by natural selection. Stat Comput 4:87–112

    Article  Google Scholar 

  20. Michalewicz Z (1996) Evolution strategies and other methods. Genetic Algorithms+Data Structures= Evolution Programs. Springer, Cham, pp 159–177

    Chapter  Google Scholar 

  21. Tanabe R, Fukunaga A (2013) Success-history based parameter adaptation for differential evolution. In: IEEE Congress on Evolutionary Computation (CEC) (pp. 71–78)

  22. Tanabe R, Fukunaga A (2014) Improving the search performance of shade using linear population size reduction. In: IEEE Congress on Evolutionary Computation (CEC), (pp. 1658–1665)

  23. Wei B, Wang X, Xia X, Jiang M, Ding Z, Huang Y (2021) Novel self-adjusted particle swarm optimization algorithm for feature selection. Computing 103(8):1569–1597

    Article  MathSciNet  Google Scholar 

  24. Sanjoy C, Sushmita S, Apu K, Sandip C (2021) SHADE-WOA: a metaheuristic algorithm for global optimization. Appl Soft Comput 113:107866

    Article  Google Scholar 

  25. Ma C, Huang H, Fan Q, Wei J, Du Y, Gao W (2022) Grey wolf optimizer based on Aquila exploration method. Expert Syst Appl 205:117629

    Article  Google Scholar 

  26. Zeedan M, Attiya G, El-Fishawy N (2023) Enhanced hybrid multi-objective workflow scheduling approach based artificial bee colony in cloud computing. Computing 105(1):217–247

    Article  Google Scholar 

  27. Eberhart R, Kennedy J (1995) A new optimizer using particle swarm theory. Micro Machine and Human Science, In: Proceedings of the Sixth International Symposium, (pp. 39–43)

  28. Han H, Bai X, Hou Y, Qiao J (2023) Multitask particle swarm optimization with heterogeneous domain adaptation. IEEE Trans Evol Comput 28:178–192

    Article  Google Scholar 

  29. Li W (2023) A cooperative particle swarm optimization with difference learning. Inform Sci 643:119238

    Article  Google Scholar 

  30. Dorigo M, Birattari M, Stutzle T (2006) Ant colony optimization. IEEE Comput Intell Mag 1(4):28–39

    Article  Google Scholar 

  31. Karaboga D, Basturk B (2007) A powerful and efficient algorithm for numerical function optimization: artificial bee colony (ABC) algorithm. J Global Optim 39(3):459–471

    Article  MathSciNet  Google Scholar 

  32. Khishe M, Mosavi M (2020) Chimp optimization algorithm. Expert Syst Appl 149:113338

    Article  Google Scholar 

  33. Heidari AA, Mirjalili S, Faris H, Aljarah I, Mafarja M, Chen H (2019) Harris hawks optimization: algorithm and applications. Future Gener Comp Syst 97:849–872

    Article  Google Scholar 

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

    Article  Google Scholar 

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

    Article  Google Scholar 

  36. Mirjalili S, Gandomi AH, Mirjalili SZ, Saremi S, Faris H, Mirjalili SM (2017) Salp swarm algorithm: a bio-inspired optimizer for engineering design problems. Adv Eng Softw 114:163–191

    Article  Google Scholar 

  37. Mirjalili S (2015) Moth-flame optimization algorithm: a novel nature-inspired heuristic paradigm. Knowl-Based Syst 89:228–249

    Article  Google Scholar 

  38. Eusuff M, Lansey K, Pasha F (2006) Shuffled frog-leaping algorithm: a memetic meta-heuristic for discrete optimization. Eng Optim 38(2):129–154

    Article  MathSciNet  Google Scholar 

  39. Brabazon A, McGarraghy S (2018) Foraging-inspired optimisation algorithms. Springer, Berlin

    Book  Google Scholar 

  40. Zhu G, Zhang W (2017) Optimal foraging algorithm for global optimization. Appl Soft Comput 51:294–313

    Article  Google Scholar 

  41. Zhang W, Zhu G (2018) Drilling path optimization by optimal foraging algorithm. IEEE Trans Ind Inform 14(7):2847–2856

    Article  Google Scholar 

  42. Sayed G, Soliman M, Hassanien A (2018) Modified optimal foraging algorithm for parameters optimization of support vector machine. In: The International Conference on Advanced Machine Learning Technologies and Applications,, vol. 723, (pp. 23–32)

  43. Wang H, Zhu G (2023) Multiobjective optimization for FJSP under immediate predecessor constraints based OFA and pythagorean fuzzy set. IEEE Trans Fuzzy Syst 31:3108–30120

    Article  Google Scholar 

  44. Ismail S, Mona S, Ella H (2019) A novel chaotic optimal foraging algorithm for unconstrained and constrained problems and its application in white blood cell segmentation. Neural Comput Appl 31(11):1–32

    Google Scholar 

  45. Tizhoosh H (2005) Opposition-based learning: a new scheme for machine intelligence. In: International Conference on Computational Intelligence for Modelling, Control and Automation and International Conference on Intelligent Agents, Web Technologies and Internet Commerce (CIMCA-IAWTIC’06) Vienna, Austria

  46. Ventresca M, Rahnamayan S, Tizhoosh H (2008) Opposition versus randomness in soft computing techniques. Appl Soft Comput 10(3):956–957

    Article  Google Scholar 

  47. Yu X, Xu W, Li C (2021) Opposition-based learning grey wolf optimizer for global optimization. Knowl-Based Syst 226:107139

    Article  Google Scholar 

  48. Gupta S, Deep K, Heidari AA, Moayedi H, Wang M (2020) Opposition-based learning Harris hawks optimization with advanced transition rules: principles and analysis. Expert Syst Appl 158:113510

    Article  Google Scholar 

  49. Mohammad K (2023) Greedy opposition-based learning for chimp optimization algorithm. Artif Intell Rev 56(8):7633–7663

    Article  Google Scholar 

  50. Bilal HA, David P, Rafat H (2022) Improved Salp swarm algorithm for solving single-objective continuous optimization problems. Appl Intell 52(15):17217–17236

    Article  Google Scholar 

  51. Rahnamayan S, Tizhoosh H, Salama M (2007) Quasi-oppositional differential evolution. In: IEEE Congress on Evolutionary Computation, Singapore

  52. Garg H (2019) A hybrid GSA-GA algorithm for constrained optimization problems. Inform Sci 478:499–523

    Article  Google Scholar 

  53. Ferreira M, Rocha M, Silva Neto A, Sacco W (2018) A constrained ITGO heuristic applied to engineering optimization. Expert Syst Appl 110:106–124

    Article  Google Scholar 

  54. Gupta S, Deep K (2018) A novel random walk grey wolf optimizer. Swarm Evol Comput 44:101–112

    Article  Google Scholar 

  55. Guedria N (2016) Improved accelerated PSO algorithm for mechanical engineering optimization problems. Appl Soft Comput 40:455–467

    Article  Google Scholar 

  56. Shalini S, Akash S (2020) Development and applications of an intelligent crow search algorithm based on opposition based learning. ISA Trans 99:210–230

    Article  Google Scholar 

  57. Díaz P, Pérez C, Erik C, Omar A, Gálvez J, Salvador H (2018) An improved crow search algorithm applied to energy problems. Energies 11(3):571

    Article  Google Scholar 

  58. Yarpiz (2023) Ant Colony Optimization (ACO) Available: https://www.mathworks.com/matlabcentral/fileexchange/52859-ant-colony-optimization-aco

  59. Roberge V, Tarbouchi M, Labonte G (2013) Comparison of parallel genetic algorithm and particle swarm optimization for real-time UAV path planning. IEEE Trans Ind Inform 9(1):132–141

    Article  Google Scholar 

  60. Dong W, Zhou M (2017) A supervised learning and control method to improve particle swarm optimization algorithms. IEEE Trans Syst, Man Cybern Syst 99:1–14

    Google Scholar 

  61. Elsayed S, Sarker RA, Essam DL (2013) An improved self-adaptive differential evolution algorithm for optimization problems. IEEE Trans Ind Inform 9(1):89–99

    Article  Google Scholar 

Download references

Funding

This work was supported by the Intelligent Manufacturing Integrated Standardization and New Model Application Project in 2016 of MIIT, under Grant (2016) 213 and the Natural Science Foundation of Fujian Province, under Grant 2023J01256.

Author information

Authors and Affiliations

Authors

Contributions

All authors contributed to this study. Conceptualization, Software, Investigation, Writing - original draft, Formal analysis, Resources were performed by Chen Ding. Funding acquisition, Project administration, Writing - review and editing were performed by Guangyu Zhu. All authors read and approved the final manuscript.

Corresponding author

Correspondence to GuangYu Zhu.

Ethics declarations

Conflict of interest

The authors have no relevant financial or non-financial Conflict of interest to disclose.

Ethical approval

This article does not contain any studies with human participants or animals performed by any of the authors.

Additional information

Publisher's Note

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

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ding, C., Zhu, G. Improved optimal foraging algorithm for global optimization. Computing (2024). https://doi.org/10.1007/s00607-024-01290-1

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s00607-024-01290-1

Keywords

Mathematics Subject Classification

Navigation