dclamage / SudokuSolver

GNU General Public License v3.0
50 stars 24 forks source link

(bug) Unique solution #85

Closed Pallandozi closed 2 years ago

Pallandozi commented 2 years ago

The solver claims the following has a unique solution:

https://f-puzzles.com/?id=ybbp9rel

which is inconsistent with the solve path function, because trying either a 1 or a 4 in r2c5 gives "Board is Invalid

solver bug1 solver bug2 solver bug3

"

dclamage commented 2 years ago

CatherineTheKiller

This is the unique solution. The issue appears to be that you have filled incorrect digits, which the logical solver respects but the brute force solvers (check, solution count, true candidates) do not.

Pallandozi commented 2 years ago

Ah! Solution count ignores filled in digits! That would explain it - thank you.

Sent from my iPhone

On 31 Mar 2022, at 20:57, David Clamage @.***> wrote:

 Closed #85.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.