Papy wrote:Hi,
before to dispose the clues I make a valid grid
Starting from zero
I fill the row one by one directly with a valid row (I compute all)
When i put the second I control if the celles of the second row is compatible with the cells of the first
123 456 789
987 513 426
is bad because th 5 is two times in the box2
also because youy have 82(C2) and 28(C8) and it's impossible(multiply solutions)
I look from tips for two row or a blocks.
Do you use this kind od detections
aha
you can use any sudoku constraints to validate a partially filled grid
the trick is to pick a constraint set (or maybe vary the constraint set)
to get good performance
Papy wrote:For C14n : looking at the G file it doesn't seem that the grid are from the same familly
C14n is just a calcul on the grids not a specific managements of the cell?
canonicalization may transform the grid via combinations of rotation, row
swap, band swap, and cell value reassignment