by bennys » Sun Dec 25, 2005 9:11 pm
Usually your solver identify ALS do you know what is the problem in the following example?
- Code: Select all
+-------+-------+-------+
| 7 6 . | . . . | . . . |
| . . 3 | . . 8 | 7 . . |
| 1 . . | . 7 . | . 2 . |
+-------+-------+-------+
| . 1 6 | . 8 . | 5 . . |
| 3 . 7 | 5 . 1 | . . 4 |
| 5 8 4 | . 3 . | . . . |
+-------+-------+-------+
| 4 . 1 | 7 . 9 | . . 8 |
| 8 3 . | 1 4 . | . 7 9 |
| 6 7 9 | 8 . 3 | . . . |
+-------+-------+-------+
+----------------------+----------------------+----------------------+
| 7 6 258 | 2349 1259 245 | 13489 134589 135 |
| 29 2459 3 | 2469 12569 8 | 7 14569 156 |
| 1 459 58 | 3469 7 456 | 34689 2 356 |
+----------------------+----------------------+----------------------+
| 29 1 6 | 249 8 247 | 5 ^39 237 |
| 3 29 7 | 5 269 1 |^2689 ^689 4 |
| 5 8 4 | 269 3 267 |^1269 ^169 1267 |
+----------------------+----------------------+----------------------+
| 4 25 1 | 7 256 9 |*236 356 8 |
| 8 3 25 | 1 4 256 |*26 7 9 |
| 6 7 9 | 8 25 3 | 124 145 125 |
+----------------------+----------------------+----------------------+
a={r4c8,r5c7,r5c8,r6c7,r6c8}
b={r7c7,r8c7}
x=2
z=3
and we get r7c8<>3 that solve the puzzle.