Solution to n-Queens Problem: Heuristic Approach

  • Edgar Osaghae Federal University Lokoja, Nigeria


Finding non-backtracking solutions to n-queens problems, has been very challenging. Several researchers have attempting to find non-backtracking solutions to n-queens problem, although, some of them recorded huge successes in their researches, but none of them have attempting using the implications of even and odd n-queens, to find solutions to the n-queens problem. In this paper, an attempt was made to extract patterns created from even-numbered n-queens and odd-numbered n-queens placements on the chessboard. The research started from experimenting the placements of  non-attacking queens for 4-queens, 16-queens, 32-queens and n-queens. After the experimenting with the placements of different number of queens on the chessboard, it was revealed that even-numbered and odd-numbered queens, have pattern of placement of queens. The results of this research work show how to start and finish placements of queens on the chessboard, depending on whether the n number of queens are either even or odd, using heuristic approach.     

How to Cite
Osaghae, E. (2021). Solution to n-Queens Problem: Heuristic Approach. Transactions on Machine Learning and Artificial Intelligence, 9(2), 26-35.