News for hackers. Stuff that matters.
Re:How to Solve the Sudoku Puzzle with Programming by cbarrick on Monday October 11, 2021 @01:20PM (#28830643)
My favorite way to solve constraint satisfaction problems is by using the the excellent CLP(FD) or CLP(Z) libraries for Prolog.

A sudoku solver can be written in just a few lines [1].

[1]: https://github.com/triska/clpfd/blob/master/sudoku.pl

There are no comments on this comment yet.