denis_berthier wrote:I think the best way is to consider there are two systems of coordinates: (r, c) and (d, a) (or other letters).
Simple is best: (r/c) and (r\c) would be good enough for me.
denis_berthier wrote:I think the best way is to consider there are two systems of coordinates: (r, c) and (d, a) (or other letters).
1to9only wrote:denis_berthier wrote:I think the best way is to consider there are two systems of coordinates: (r, c) and (d, a) (or other letters).
Simple is best: (r/c) and (r\c) would be good enough for me.
creint wrote:Previous discussion:
http://forum.enjoysudoku.com/sudoku-coordinate-systems-t38136.html
Just giving cell locations is fine for most cases because you can manually find the constraint that can be used.
But for your solving system everything must be named.
I am against introducing new names, because it makes reading harder when you don't know the meaning.
You are probably not planning to define those names in your solve result.
Name and cell index could be used but then there must be a definition on how to interpret the cell index. Left cell first or top cell first
Mathimagics wrote: here is a 29-clue version which you might try:
- Code: Select all
.....9...CD.....2.........A.8..5...9..........2......A......1.............3......4........1..........CD.3...9..........D...........6.............A.6..............B..57..
Resolution state after Singles:
124567B 124578B 13457B 13678AB 457B 9 234578A 134678A 24678AB C D 123458B 2345678AB
1456789BCD 134579BCD 1345679BC 2 3478 478BC 14678ACD 4789ABC 3568AD 14678AB 13458AB 3678BC 345689BCD
A 12347BCD 8 367C 1347BCD 5 47C 16BD 347BC 9 2346B 123467B 267BC
16789BC 13459BD 34567C 135679ABCD 13478ABCD 14678ABCD 13689AD 2 4578ABC 478AB 134568 1456789ABC 34578BD
4567BD A 234569BC 36789BCD 247BCD 2368BD 3456789C 3478B 1 24678BD 24589B 234578C 23456789BCD
245678C 124578BD 12679BC 1689BCD 1258ABD 1467ABC 124578AC 45678ABCD 246789BD 3 12458B 245789ABC 4567AD
25678CD 23789BCD 267B 4 358BC 2378ABC 23567ACD 356789BCD 56789ABCD 278BD 589B 567AB 1
24789B 12478 123569B 135678AB 12378B 23468B 123456789 145679AB 2345789B 14678AB C D 245678AB
3 258B 14567C 1578ABC 9 12678BC 124568CD 14578BCD 24567ABCD 1467ABD 4568 124678AB 478BC
589B 14578BC D 35678AC 1234578BC 124678AB 123789C 1345689BC 345679AB 2467 12345689AB 1346789ABC 246789AB
14789B 6 2457BC 35789BC 124578ACD 123478BCD 1234578AD 1379B 23458C 12478ABD 12349AB 124789ABC 3589ABD
14578BC 23478BD A 1578BCD 6 123478CD 134579D 34578 23789BC 1248BD 12489B 12359B 345789BC
2468CD 13489CD 12469 89C 1248ACD 34A B 134689ACD 23468AD 5 7 134689AC 234AC
995 candidates, 15689 csp-links and 15689 links. Density = 3.17%
Resolution state after Singles and whips[1]:
124567B 124578B 13457B 13678AB 457B 9 234578A 134678A 24678AB C D 123458B 2345678AB
1456789BCD 134579BCD 1345679BC 2 3478 478BC 14678ACD 4789ABC 3568AD 14678AB 13458AB 3678BC 345689BCD
A 12347BCD 8 367C 1347BCD 5 47C 16BD 347BC 9 2346B 123467B 267BC
16789BC 13459BD 34567C 135679ABC 13478ABCD 14678ABCD 13689AD 2 4578ABC 478AB 134568 1456789ABC 34578BD
4567BD A 234569BC 36789BCD 247BCD 2368BD 3456789C 3478B 1 24678BD 24589B 234578C 23456789BCD
245678C 124578BD 12679BC 1689BCD 1258AB 1467ABC 124578AC 45678ABCD 246789BD 3 12458B 245789ABC 4567AD
25678CD 23789BCD 267B 4 358BC 2378ABC 23567ACD 356789BCD 56789ABCD 278BD 589B 567AB 1
24789B 12478 123569B 135678AB 12378B 23468B 123456789 145679AB 2345789B 14678AB C D 245678AB
3 258B 14567C 1578ABC 9 12678BC 124568CD 14578BCD 24567ABCD 1467ABD 4568 124678AB 478BC
589B 14578BC D 35678AC 1234578BC 124678AB 123789C 1345689BC 345679AB 2467 12345689AB 1346789ABC 246789AB
14789B 6 2457BC 35789BC 124578ACD 123478BCD 1234578AD 1379B 23458C 12478ABD 12349AB 124789ABC 3589ABD
14578BC 23478BD A 1578BCD 6 123478CD 134579D 34578 23789BC 1248B 12489B 12359B 345789BC
2468CD 13489CD 12469 89C 1248AC 34A B 134689ACD 23468AD 5 7 134689AC 234AC
creint wrote:Given up reducing this 13 given grid after 10500 seconds, only 6 cells left to be checked for minimal. Probably minimal.
Testing clue removals from 13-c puzzle
17:26:42 . clue( 1, 6) = 9: ns = 2
17:26:42 . clue( 1,10) = C: ns = 2
17:26:42 . clue( 2, 4) = 2: ns = 2
17:26:42 . clue( 3, 1) = A: ns = 2
17:26:42 . clue( 3, 3) = 8: ns = 2
17:26:42 . clue( 3, 6) = 5: ns = 2
17:26:42 . clue( 3,10) = 9: ns = 2
17:26:42 . clue( 6,10) = 3: ns = 2
17:26:42 . clue( 7, 4) = 4: ns = 2
17:26:42 . clue( 7,13) = 1: ns = 2
17:26:42 . clue( 8,12) = D: ns = 2
17:26:42 . clue(11, 2) = 6: ns = 2
17:26:42 . clue(13,11) = 7: ns = 2
Mathimagics wrote:Well done, Denis!
Mathimagics wrote:It will be interesting to see how many clues you can remove ...
Resolution state after Singles and whips[1]:
1245679BC 1245789BC 134579BC 136789AB 457B 246789C 2345789AC 134678AC 2456789ABC 125678ABC D 1234578BC 2345678ABC
1456789BCD 134579BCD 1345679BC 2 3478 4789BC 146789ACD 45789ABC 35678ACD 145678ABC 134578AB 35678BC 3456789BCD
A 12347BCD 8 367C 1347BCD 5 47C 167BCD 347BC 9 23467B 123467BC 267BC
156789BC 134579BD 345679C 135679ABC 13478ABCD 146789ABCD 136789AD 2 4578ABC 4578ABC 1345678 1456789ABC 34578BCD
4567BD A 2345679BC 36789BCD 2457BCD 236789BCD 3456789C 3478B 1 245678BCD 245789B 234578C 23456789BCD
2456789C 124578BCD 12679BC 156789BCD 12578ABC 14679ABC 124578AC 45678ABCD 246789BD 3 1245789B 245789ABC 4567AD
25678CD 23789BCD 2567BC 4 3578BC 2378ABC 23567ACD 356789BCD 56789ABCD 278BD 5789B 5679AB 1
24789B 124578 1235679B 135678AB 123578B 234678B 123456789 145679AB 2345789B 145678AB C D 2456789AB
3 2578BC 14567C 1578ABC 9 12678BC 1245678CD 14578BCD 24567ABCD 14567ABD 45678 124678AB 478BC
5789BC 145789BC D 35678AC 1234578BC 124678ABC 1235789C 13456789BC 345679AB 24567C 123456789AB 1346789ABC 246789AB
14789B 6 2457BC 35789BC 124578ACD 1234789BCD 1234578ACD 13579B 2345789C 124578ABCD 123479AB 1245789ABC 35789ABCD
14578BC 23478BD A 15789BCD 6 123478CD 134579D 34578C 235789BC 12478BC 1245789B 123579BC 345789BC
245678CD 1345789CD 124679 5789C 124578AC 3479A B 13456789ACD 234678ACD 125678C 12356789 13456789AC 23457AC
denis_berthier wrote:After working on this, I think this variant will never become a popular game, for two reasons:
- the grids it requires are too large: the smallest interesting ones are 13x13, which makes more than 2 times the number of cells in Sudoku;
- the diagonals are visually very unfriendly
Mathimagics wrote:denis_berthier wrote:After working on this, I think this variant will never become a popular game, for two reasons:
- the grids it requires are too large: the smallest interesting ones are 13x13, which makes more than 2 times the number of cells in Sudoku;
- the diagonals are visually very unfriendly
I don't think the grid size is an issue so much as the diagonals. Sudoku 16x16 and 25x25, while not wildly popular, do have their fans. I used to enjoy doing the Sudoku 25x25's produced by Gareth Moore, in the "SudokuXtra" magazine (now defunct). These are always singles-only puzzles, so would have very low software rating, but the human degree of difficulty is much higher because of the grid size.
denis_berthier wrote:What I meant about grid size is strongly related to the branching factor - the number of links from each candidate.
Mathimagics wrote:denis_berthier wrote:What I meant about grid size is strongly related to the branching factor - the number of links from each candidate.
BTW, for Sudoku(N), if N = n^2, then the count is 2(N-1) + (n-1)^2, I think.
Here is a slightly more difficult variant, obtained by deleting first and last candidates. t-whips[3] and whips[3] appear, when only z-chains[3] were needed in the original puzzle.
Still relatively easy - W3 would be easy for Sudoku, but on a larger board, there are many more possible chains and complexity increases faster with the length of chains.
t-whip[2]: a4{r7c10 r6c9} - a12n13{r6c4 .} ==> r7c7 ≠ 13
g-whip[11]: b4n3{r6c2 r456c1} - r2n3{c1 c3} - r7n3{c3 c5} - c6n3{r9 r6} - r6n6{c6 c4} - b5n2{r6c4 r4c4} - b5n9{r4c4 r5c456} - c3n9{r5 r3} - c7n9{r3 r2} - c7n6{r2 r7} - c2n6{r7 .} ==> r9c2 ≠ 3
whip[1]: c4n13{r12 .} ==> r12c10 ≠ 13
creint wrote:Problem 1 missing target digit:a4{r7c10 r6c9}
- Code: Select all
t-whip[2]: a4{r7c10 r6c9} - a12n13{r6c4 .} ==> r7c7 ≠ 13
creint wrote:Problem 2 range notation:
I have seen formats where you use no separator like:b4n3{r6c2 r456c1}
- Code: Select all
g-whip[11]: b4n3{r6c2 r456c1} - r2n3{c1 c3} - r7n3{c3 c5} - c6n3{r9 r6} - r6n6{c6 c4} - b5n2{r6c4 r4c4} - b5n9{r4c4 r5c456} - c3n9{r5 r3} - c7n9{r3 r2} - c7n6{r2 r7} - c2n6{r7 .} ==> r9c2 ≠ 3
How to be sure it is r13 and not r1 and r3? (Parsing issue)
creint wrote:Problem 3 missing used constraints
- Code: Select all
whip[1]: c4n13{r12 .} ==> r12c10 ≠ 13
Here it says D locked in column 4, but it uses row+diagonal+anti-diagonal. If you are not mentioning all the constraints then it is not much different from just saying 13c4 -> -13r12c10. You still need to look for constraints to verify it is correct. (Future link-line drawing issue)