Contrasting Evolutionary Algorithm and Social Spider Algorithm using Travelling Salesman Problem

  • Eman Arif
  • Asma Sanam Larik
  • Tasneem Adnan
  • Maryam Raees Ahmed
Keywords: Social Spider, Optimization, Evolutionary Algorithm, Swarm Intelligence

Abstract

Combinatorial optimization problems have plenty of attention, both for the reasons of their complexity and for their practical applications. Looking at the range of metaheuristic techniques, there are two which have shown good results: the Genetic Algorithms (GA) and swarm-based techniques. A comparative study of the Genetic Algorithm and the Social Spider Algorithm (SSA) is described in this paper with Travelling Salesman Problem (TSP) as benchmark. The SSA, which is based on cooperative interaction mechanisms among the agents, is modified to address the TSP and its performance is compared to GA. The algorithms are contrasted with respect to the quality of solutions and efficiency of computation. The experimental results demonstrate that the convergence property and runtime efficiency of Social Spiders improves the problem considered. The paper is arranged as follows: In Section 1 and 2, is about introduction to the paperwork discussion of literature gaps section 3 we introduce the concept of Genetic algorithm and Swarm While Section 4, the problem is formulated. Section 5 focuses on implementation of Social Spider Algorithm and 6 presents experimental results and comparison of the two algorithms at hand: Genetic, Social Spider Optimization. Finally, in Section 6 conclusions are drawn up and prospects are discussed.

References

[1] J. J. Q. James and V. O. Li, "A social spider algorithm for global optimization," Applied Soft Computing, vol. 30, pp. 614-627, May 2015.
[2] D. Whitley, "A genetic algorithm tutorial," Statistics and Computing, vol. 4, no. 2, pp. 65-85, June 1994.
[3] E. Cuevas, et al., "A swarm optimization algorithm inspired in the behavior of the social-spider," Expert Systems with Applications, vol. 40, no. 16, pp. 6374-6384, Nov. 2013.
[4] R. F. Foelix, Biology of Spiders, 2nd ed. New York, NY, USA: Oxford University Press, 1996.
[5] E. Bonabeau, M. Dorigo, and G. Theraulaz, Swarm Intelligence: From Natural to Artificial Systems. New York, NY, USA: Oxford University Press, 1999.
[6] F. Fernandez-Campon, "Group foraging in the colonial spider Parawixia bistriata," Animal Behaviour, vol. 74, no. 5, pp. 1551-1562, Nov. 2007.
[7] University of Waterloo, "National Traveling Salesman Problems," [Online]. Available: https://www.math.uwaterloo.ca/tsp/world/countries.html. [Accessed: Jan. 30, 2026].
[8] E.-G. Talbi, Metaheuristics: From Design to Implementation. Hoboken, NJ, USA: Wiley, 2009.
[9] R. S. Parpinelli and H. S. Lopes, "New inspirations in swarm intelligence: a survey," Int. J. Bio-Inspired Computation, vol. 3, no. 1, pp. 1-16, Jan. 2011.
[10] D. Karaboga, "An idea based on honey bee swarm for numerical optimization," Technical Report TR06, Erciyes Univ., 2005.
[11] X.-S. Yang, Engineering Optimization: An Introduction with Metaheuristic Applications. Hoboken, NJ, USA: Wiley, 2010.
[12] Y. Li, X. Zhang, and J. Wang, "Discrete Social Spider Algorithm for the Traveling Salesman Problem," in Proc. World Scientific Congress, 2021.
[13] M. Singh and R. Kaur, "Self-adaptive Social Spider Algorithm for Traveling Salesman Problem," Trans. Emerg. Telecommun. Technol., vol. 12, no. 7, pp. 3577-3588, 2021.
[14] H. Chen, L. Zhao, and Y. Sun, "Parallel Social Spider Algorithm based on population mining," Applied Soft Computing, vol. 128, Art. no. 109438, Oct. 2022.
[15] A. Gupta, P. Sharma, and S. Verma, "Improved Spider Optimization Algorithm," Scientific Reports, vol. 12, Art. no. 15632, 2022.
[16] K. R. Patil and S. S. Deshmukh, "Discrete Spider Monkey Optimization Algorithm for the TSP," Applied Soft Computing, vol. 89, Art. no. 106076, Apr. 2020.
[17] J. Brown and T. Wilson, "Comparative Analysis of Metaheuristic Algorithms for the TSP," Int. J. Sci. World, vol. 3, no. 2, pp. 45-58, 2025.
[18] L. Ahmed and M. Khan, "Review of Metaheuristics for TSP-based optimization," Comput. Ind. Eng., vol. 175, Art. no. 108872, Jan. 2023.
[19] R. Singh, P. Kumar, and A. Sharma, "Metaheuristic taxonomy and applications," Artif. Intell. Rev., vol. 56, pp. 1123-1160, Feb. 2023.
[20] F. Al-Mansoori and H. El-Sayed, "Discrete Artificial Algae Algorithm for the TSP," Int. Arab J. Inf. Technol., vol. 17, no. 4, pp. 567-574, July 2020.
[21] X. Li, Y. Zhao, and Z. Wang, "Solving TSP using IDINFO algorithm," ISPRS Int. J. Geo-Inf., vol. 14, no. 2, Art. no. 42, Feb. 2025.
[22] Y. Yang and X. He, "Self-tuning Firefly Algorithm," arXiv preprint arXiv:1610.08222, Oct. 2016.
[23] V. Kool, H. van Hoof, and M. Welling, "Graph Convolutional Networks for the TSP," arXiv preprint arXiv:1906.01227, June 2019.
[24] R. Patel and S. Mehta, "Survey of Metaheuristic Algorithms 2019-2024," arXiv preprint arXiv:2501.14769, Jan. 2025.
[25] P. Singh and M. Sharma, "Social Spider Optimization Algorithm: Theory and Applications," Int. J. Innov. Technol. Explor. Eng., vol. 8, no. 10, Aug. 2019.
[26] L. Zhao, Y. Sun, and H. Chen, "Salp Swarm Optimization: A Critical Review," arXiv preprint arXiv:2106.01900, June 2021.
[27] S. Kumar and R. Jain, "Improved Social Spider Algorithm variants," ICONTECH J. Eng. Res., vol. 5, no. 2, 2021.
[28] D. Applegate, et al., "Concorde TSP Solver," University of Waterloo, 1997.
[29] M. Held and R. Karp, "A dynamic programming approach to sequencing problems," J. ACM, vol. 9, no. 1, pp. 61-74, Jan. 1962.
[30] G. Dantzig, R. Fulkerson, and S. Johnson, "Solution of a large-scale traveling-salesman problem," Oper. Res., vol. 6, no. 5, pp. 791-812, Oct. 1958.
[31] H. Chen, Y. Zhang, and S. Li, "Parallel swarm intelligence for large-scale optimization problems," J. Supercomput., vol. 78, pp. 1423-1445, 2022.
Published
2026-07-31
How to Cite
Arif, E., Larik, A., Adnan, T., & Ahmed, M. (2026). Contrasting Evolutionary Algorithm and Social Spider Algorithm using Travelling Salesman Problem. International Journal of Computing and Related Technologies, 5(2), 15-23. Retrieved from https://ijcrt.smiu.edu.pk/index.php/smiu/article/view/305