TY - JOUR AU - Rateb, Roqia AU - Shorman, Amal AU - Al-Shamayleh, Ahmad Sami AU - Alshorman, Areej AU - Baniata, Laith H. PY - 2025 TI - A Designing Framework for Ant Colony Algorithm for Managing Cognitive Insomnia JF - Journal of Computer Science VL - 21 IS - 7 DO - 10.3844/jcssp.2025.1554.1564 UR - https://thescipub.com/abstract/jcssp.2025.1554.1564 AB - Insomnia, a condition characterized by poor sleep quality, significantly impacts cognitive function, mood, and overall well-being. Traditional treatments like medication and psychological therapies, while effective, often come with limitations such as high costs and limited scalability. This study addresses these challenges by proposing an Ant Colony Optimization (ACO) algorithm-based approach to create a dynamic support network for individuals suffering from insomnia. The ACO algorithm, inspired by the foraging behavior of ants, is employed to optimize the selection of social support providers from an individual’s network based on their preferences and available resources. The proposed algorithm, named Ant Colony algorithm in Provision Support for Insomnia individuals (ACPSI), was developed to identify the most suitable support paths by automating the formation of social support networks. The methodology involves defining problem parameters, initializing population variables, and refining potential solutions through an iterative process. The system also integrates data from social media platforms to assess mental health and predict insomnia susceptibility. The findings suggest that the ACPSI model effectively optimizes the selection of support providers, potentially leading to improved management of insomnia through enhanced social support. This approach offers a scalable, low-cost solution by leveraging existing social networks and technological advancements. The study concludes that the ACPSI model could be a valuable tool in managing insomnia, reducing its cognitive and emotional impacts, and improving overall patient outcomes.