AN O'Nymous
2005-12-01 23:28:08 UTC
The layperson goes through the drudgery of solving Soduku puzzles by
hand. However, us being somewhat more sophisticated, we prefer to let a
computer do it for us. Engineers don't cheat - we just use better tools
:-)
So here's the challenge: can anyone write a Fortran program that can
consistently, and better yet, efficiently solve any Sudoku puzzle of
standard format? A bit of Googling around would show that we would not
be the first to try...
For the purposes of this challenge, we will assume that a "passing
grade" of consistency is being able to solve 95/100 randomly generated
Sudoku challenges (which will be equal for all contenders).
For the uninitiated:
http://en.wikipedia.org/wiki/Sudoku
I've been thinking about it a bit, and being a tad inexperienced, the
immediate one that came to mind was an exhaustive trial-and-error
algorithm. Quite inefficient, but essentially 100% consistent.
I will need to think about this one over the weekend. Does anyone know
if *every* Sudoku puzzle has one unique, correct solution or if there
are usually multiple solutions?
hand. However, us being somewhat more sophisticated, we prefer to let a
computer do it for us. Engineers don't cheat - we just use better tools
:-)
So here's the challenge: can anyone write a Fortran program that can
consistently, and better yet, efficiently solve any Sudoku puzzle of
standard format? A bit of Googling around would show that we would not
be the first to try...
For the purposes of this challenge, we will assume that a "passing
grade" of consistency is being able to solve 95/100 randomly generated
Sudoku challenges (which will be equal for all contenders).
For the uninitiated:
http://en.wikipedia.org/wiki/Sudoku
I've been thinking about it a bit, and being a tad inexperienced, the
immediate one that came to mind was an exhaustive trial-and-error
algorithm. Quite inefficient, but essentially 100% consistent.
I will need to think about this one over the weekend. Does anyone know
if *every* Sudoku puzzle has one unique, correct solution or if there
are usually multiple solutions?