Hajime wrote:urhegyi wrote:Generated sudoku with your November 5 version which seems to have three solutions:
- Code: Select all
1...5...94.......1.8.2.1.6.2..5.8..6..71.43..8..6.3..7.6.9.7.1.5.......39...1...2
I think this is UR by definition.
http://hodoku.sourceforge.net/en/tech_ur.php#u1 Your puzzles can not be solved without UR, because of the multiple solutions.
Because it is generated with UR method it results in a valid puzzle with one unique solution.
May be I am wrong, but I think it works as intended
So generate a puzzle with UR option on.
Solve with UR off.
When it can't solve the grid completely, it results in multiple solutions.(check with backtracking).
The question now is why SISESUSO generates multiple solution puzzles that are by definition invallid, because a valid puzzle needs only to have one solution.
UR is a way of solving that can only be used when backtracking proved that the solution is unique, but can never be the only way that solves a sudoku.
A valid sudoku can always be solved with other methods than UR. This is the logical and preferred way to solve, unless the author of the puzzle provided you with the extra information it can only have one solution, then you can use UR. Mostly it is an easier way, but not necessary, but can always be avoided if you want. So a sudoku with three solutions can't be solved and has to be rejected by the program. There are examples where in case of UR used on a multiple solution puzzle, it selects one solution and an other technique like BUG selects one of the two others.