Model for N Queens: Idea
Observe that each column must hold exactly
one queen. Introduce a variable Ri for each
column i that expresses in which row its
queen goes.
Previous slide
Next slide
Back to first slide
View graphic version