Try to solve the problems 4-queens problem by using simulated annealing and Genetic algorithms(Just look at the example of the book) The states for could be a 4- vector. Every cell of the vector tells in what position the queen is. Formulate the problem and provide the algorithms in pseudocode. Please comment the results you expect from the algorithms.
The second approach is the simulated annealing. page 125 section 4.1.2.
The last algorithm is the genetic algorithms. Vey popular in optimization problems. Section 4.1.4
Please do not plagiarize.