2024 Session 04 Local Search N Queens
2024 Session 04 Local Search N Queens
R S Milton
Department of CSE, SSN College of Engineering
Place 8 queens “safely” in a 8 × 8 chessboard – no queen is under attack from any other queen
(in horizontal, vertical and diagonal directions). Formulate it as a constraint satisfaction problem.
▷ One queen is placed in each column.
▷ Variables are the rows in which queens are placed in the columns
1
Temporary page!
LATEX was unable to guess the total number of pages correctly. As there was some unprocessed
data that should have been added to the final page this extra page has been added to receive it.
If you rerun the document (without altering it) this surplus page will go away, because LATEX
now knows how many pages to expect for this document.