Pat wrote:Adak wrote:This is
#8 from the Sudoku 17 file --
- Code: Select all
.......127...6...........5..8.2.....6.....4.....1.9....19..........3.8..5.2......
- Code: Select all
. . . | . . . | . 1 2
7 . . | . 6 . | . . .
. . . | . . . | . 5 .
-------+-------+------
. 8 . | 2 . . | . . .
6 . . | . . . | 4 . .
. . . | 1 . 9 | . . .
-------+-------+------
. 1 9 | . . . | . . .
. . . | . 3 . | 8 . .
5 . 2 | . . . | . . .
In the
Sudoku17 file of 99,
my program spends about 1/3rd of the total solution time
JUST solving this ONE
actually it is puzzle
11 in the
list which has now reached 47693what's this list of 99 puzzles ??
I first became interested in Sudoku 2 years ago, and immediately wanted to program a solver, but didn't know anything about it. So I went on-line and visited a few sites explaining the basics, like using pencilmarks, etc., and wrote my first solver.
It was working well, so I wanted to try it out on some real hard one's. Went back on-line, and found out all Sudoku puzzles don't have to have at least 23 given digits as I had been informed earlier.
That when I found this Sudoku 17.txt file.
Don't know how many puzzles it had, but I only have 99. Each has just 17 givens. This is the first 8 that I have from that file:
- Code: Select all
000000010400000000020000000000050407008000300001090000300400200050100000000806000
000000010400000000020000000000050604008000300001090000300400200050100000000807000
000000012000035000000600070700000300000400800100000000000120000080000040050000600
000000012050400000000000030700600400001000000000080000920000800000510700000003000
000000012300000060000040000900000500000001070020000000000350400001400800060000000
000000012400090000000000050070200000600000400000108000018000000000030700502000000
000000012500008000000700000600120000700000450000030000030000800000500700020000000
000000012700060000000000050080200000600000400000109000019000000000030800502000000
Number 8, the last one from this short sample, is one of the toughest for my solver, (version 2, a major re-write), requiring a good deal of trial and error.
I tried it with Simple Sudoku, and another on-line solver, but they won't solve it. (Although SS did find two Swordfish patterns which my solver doesn't know about, yet).
I use these 99 games as a testbed for my solver. It tells me how many games were solved via logic, and how many were solved via trial and error. I'm trying to minimize the latter.
Thanks for your interest and info.