by miroz » Wed Aug 03, 2005 4:21 pm
To fizx1:
It seems your "advanced methods" program checks only rows. You have multiple doubles in multiple columns (8 in second column, 7 in ninth column) and in multiple boxes (7 in third box, 8 in seventh box) for your second "solution". As I mentioned earlier, there is only one solution:
8,4,2,6,3,1,9,7,5,
9,6,5,2,7,8,3,1,4,
3,1,7,9,5,4,6,2,8,
1,9,4,8,6,2,7,5,3,
6,7,3,1,4,5,2,8,9,
5,2,8,3,9,7,1,4,6,
7,5,9,4,1,6,8,3,2,
2,3,1,5,8,9,4,6,7,
4,8,6,7,2,3,5,9,1,
Solution 1 - forward Ariadne's thread: 151,186 back steps, time: 8 sec.
Solution 2 - backward Ariadne's thread: 23,454 forward steps, time: 1 sec.
Solution 3 - backward Ariadne's thread with reversed search sequence: 584,249 forward steps, time: 35 sec.
Solution 4 - forward Ariadne's thread with reversed search sequence: 180,907 back steps, time: 11 sec.
All solutions are identical