Abstract
Algorithmic complexity has been a constraint to solving problems efficiently. Wide use of an algorithm is dependent on its space and time complexity for large inputs. Exploiting an inherent pattern to solve a problem could be easy compared to an algorithm-based approach. Such patterns are quite necessary at cracking games with a vast number of possibilities as an algorithm-based approach would be computationally expensive and time-consuming. The N-Queens problem is one such problem with many possible configurations and realizing a solution to this is hard as the value of N increases. Reinforcement Learning has proven to be good at building an agent that can learn these hidden patterns over time to converge to a solution faster. This study shows how reinforcement learning can outperform traditional algorithms in solving the N-Queens problem.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Bell, J., Stevens, B.: A survey of known results and research areas for n-queens. Discrete Math. 309(1), 1–31 (2009)
Draa, A., Meshoul, S., Talbi, H., Batouche, M.: A quantum-inspired differential evolution algorithm for solving the n-queens problem. Neural Networks 1(2) (2011)
Hu, X., Eberhart, R.C., Shi, Y.: Swarm intelligence for permutation optimization: a case study of n-queens problem. In: Proceedings of the 2003 IEEE Swarm Intelligence Symposium. SIS 2003 (Cat. No. 03EX706), pp. 243–246. IEEE (2003)
Kumar, V.: Algorithms for constraint-satisfaction problems: a survey. AI Mag. 13(1), 32 (1992)
Lim, S., Son, K., Park, S., Lee, S.: The improvement of convergence rate in n-queen problem using reinforcement learning. J. Korean Inst. Intell. Syst. 15(1), 1–5 (2005)
Mnih, V., et al.: Human-level control through deep reinforcement learning. Nature 518(7540), 529 (2015)
Papavassiliou, V.A., Russell, S.: Convergence of reinforcement learning with general function approximators. In: IJCAI, pp. 748–757 (1999)
Potapov, A., Ali, M.: Convergence of reinforcement learning algorithms and acceleration of learning. Phys. Rev.E 67(2), 026706 (2003)
Rivin, I., Zabih, R.: A dynamic programming solution to the n-queens problem. Inf. Process. Lett. 41(5), 253–256 (1992)
Watkins, C.J.C.H., Dayan, P.: Q-learning. Mach. Learn. 8(3), 279–292 (1992). https://doi.org/10.1007/BF00992698
Zhang, C., Ma, J.: Counting solutions for the n-queens and latin-square problems by monte carlo simulations. Phys. Rev. E 79(1), 016703 (2009)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Prudhvi Raj, P., Shah, P., Suresh, P. (2020). Faster Convergence to N-Queens Problem Using Reinforcement Learning. In: Saha, S., Nagaraj, N., Tripathi, S. (eds) Modeling, Machine Learning and Astronomy. MMLA 2019. Communications in Computer and Information Science, vol 1290. Springer, Singapore. https://doi.org/10.1007/978-981-33-6463-9_6
Download citation
DOI: https://doi.org/10.1007/978-981-33-6463-9_6
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-33-6462-2
Online ISBN: 978-981-33-6463-9
eBook Packages: Computer ScienceComputer Science (R0)