Up Next
Go up to 7 Solving a CSP via backtracking, arc consistency, hillclimbing
Go forward to Solution to part (b)

Solution to part (a)

Here is the solution that was generated by the following java program or the following Prolog program. Such a program would be similar in any other language.
Computational Intelligence online material, ©David Poole, Alan Mackworth and Randy Goebel, 1999

Up Next