الملخص
Researchers have utilised nature-inspired metaheuristic algorithms to find solutions for complex combinatorial optimisation problems and Non-deterministic polynomial (NP) problems. The N-queens problem is categorised as an NP-Hard problem as it becomes insurmountable for large N. This paper proposed a solution for the N-queens problem based on the Apiary Organisational-Based Optimisation Algorithm (AOOA). AOOA is a nature-inspired metaheuristic optimisation algorithm for NP-Hard problems comprised of multiple beehives inside the apiary, each with its population. In contrast to the backtracking method, AOOA employs a fitness function and randomisation techniques through seven stages to approach the optimal distributions of queens so they don’t attack each other. Experiments were carried out for different values of N ranging from 4 to 10. All solutions were found for Ns (4–8), which comprised 100% of the total solutions. At the same time, 97.7272% of total solutions were found for N = 9 and 98.6187% for N = 10. Moreover, several metaheuristic algorithms have been implemented to solve the N-queens problem, and the average number of 100 iterations has been compared. The results reflect the superiority of AOOA over the competing algorithms in finding the possible number of solutions in earlier iterations and consequently reducing the computational cost of further iterations.
الكلمات المفتاحية
بيانات النشر
- المعرّف الرقمي
- 10.53540/1726-6742.1315
- المجلة
- المجلة العُمانية للبحوث الهندسية, 22(2), 125-133
- الناشر
- جامعة السلطان قابوس
- وصول مفتوح
- وصول مفتوح ذهبي
- الترخيص
- CC BY 4.0
اقتبس هذه المقالة
APA 7
Al-Sharqi, M. A., Al-Obaidi, A. T. S., & Al‐Mamory, S. O. (2025). N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm. The Journal of Engineering Research, 22(2), 125-133. https://doi.org/10.53540/1726-6742.1315
MLA 9
Al-Sharqi, Mais A., et al. "N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm." The Journal of Engineering Research, vol. 22, no. 2, 2025, pp. 125-133. https://doi.org/10.53540/1726-6742.1315.
شيكاغو (المؤلف–التاريخ)
Al-Sharqi, Mais A., Ahmed T. Sadiq Al-Obaidi, and Safaa O. Al‐Mamory. 2025. "N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm." The Journal of Engineering Research 22 (2): 125-133. https://doi.org/10.53540/1726-6742.1315.
هارفارد
Al-Sharqi, M. A., Al-Obaidi, A. T. S. and Al‐Mamory, S. O. (2025) 'N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm', The Journal of Engineering Research, 22(2), pp. 125-133. doi:10.53540/1726-6742.1315.
فانكوفر
Al-Sharqi MA, Al-Obaidi ATS, Al‐Mamory SO. N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm. The Journal of Engineering Research. 2025;22(2):125-133. doi:10.53540/1726-6742.1315
IEEE
M. A. Al-Sharqi, A. T. S. Al-Obaidi, and S. O. Al‐Mamory, "N-Queens Problem Solving using Apiary Organizational-Based Optimization Algorithm," The Journal of Engineering Research, vol. 22, no. 2, pp. 125-133, 2025, doi: 10.53540/1726-6742.1315.