The N-Queens problem is a well know puzzle with a simple "closed form" solution.
Why should it be of interest to the OR/MS community?
Firstly, in all likelihood, this puzzle stands the chance of soon becoming an integral part of the OR/MS folklore. Secondly, it poses a challenge to "traditional" OR/MS.
Concerning the first point, now that constraint programming is part of OR/MS, the N-Queen problem is also part of OR/MS for it has been constraint programming's flag-ship example from the outset.
As to the challenge, well let's see:
Assignment
- Formulate the N-queens problem as a conventional OR/MS optimization problem.
- Use one of traditional OR/MS software packages to solve the problem, for say N=30 queens.
In any case, the objective of this module is just to provide you with a user-friendly facility to experiment with the basic elements of this puzzle.