Allan
As you say, not quite six of one and half a dozen of the other
PIsaacson wrote:Any benchmarks/comparisons on your new RCD rules vs. your former RCD ALS chaining?
PIsaacson wrote:HoDoKu seems to avoid eliminations in any of the cells of participating ALSs. The two eliminations listed above as "cannibalistic but legal" are just that.
ronk wrote:As a manual solver, you see what you see, but a programmed solver should IMO first find the smaller of two ALS-xz patterns.
hobiwan wrote:HoDoKu finds the step with the most eliminations first (and not the smallest step), thats why Paul ended up with the step he posted. The original idea was, that such a logic would lead to shorter solutions, which didnt work as planned.
do_alschains - reducing r3c1.<125789> by <1> dual
do_alschains - reducing r2c3.<23789> by <3> dual
do_alschains - reducing r1c5.<34789> by <7> dual
do_alschains - reducing r1c5.<3489> by <8> dual
do_alschains - reducing r1c9.<1489> by <8> dual
do_alschains - reducing r1c1.<13789> by <9> dual
do_alschains - reducing r1c3.<3789> by <9> dual
do_alschains - reducing r1c5.<349> by <9> dual
do_alschains - reducing r1c9.<149> by <9> dual
do_alschains - reducing r2c3.<2789> by <9> dual
do_alschains - reducing r2c9.<89> by <9> dual
do_alschains - reducing r3c1.<25789> by <9> dual
do_alschains - reducing r3c3.<25789> by <9> dual
do_alschains - reducing r3c7.<1479> by <9> dual
do_alschains - reducing r3c9.<1489> by <9> dual
do_alschains - reducing r5c8.<2789> by <9> dual
do_alschains - reducing r6c8.<289> by <9> dual
do_alschains - reducing r7c8.<29> by <9> dual
do_alschains - reducing r1c8.<789> by <7> base/cover
do_alschains - reducing r1c8.<89> by <8> base/cover
do_alschains - reducing r4c2.<149> by <9> base/cover
do_alschains - reducing r8c2.<349> by <9> base/cover
do_alschains - base/cover {1n134 2n2 3n2} {78r1 9c2 13b1}
do_alschains - als[2x5/5] r1c48.<n789> -78- b1x1358.<n13789>
PIsaacson wrote:Once again, less is more...
PIsaacson wrote:I'm guessing that Allan's permutation solver finds all productive combinations of base/cover sets and displays the combined results. I
Allan Barker wrote:Answer, within the scope, the program finds all eliminations possible for a set of truths for a given method, which may be more but not less.
Ronk wrote:If one defined a sufficiently large set of truths (base sets, strong sets, ...), could xsudo -- in the absence of memory and time constraints -- make an assignment in every unsolved cell
001000002090400050600000700050903000000070000000850040007000600030009080200000001
+----------------------------------+---------------------------------+----------------------------------+
| (+4-3578) (+7-48) 1 | (+3-567) (+8-369) (+5-678) | (+9-348) (+6-39) 2 |
| (+3-78) 9 (+2-38) | 4 (+6-1238) (+7-1268) | (+1-38) 5 (+8-36) |
| 6 (+8-24) (+5-2348) | (+1-235) (+9-1238) (+2-158) | 7 (+3-19) (+4-389) |
+----------------------------------+---------------------------------+----------------------------------+
| (+1-478) 5 (+4-268) | 9 (+2-146) 3 | (+8-12) (+7-126) (+6-78) |
| (+8-1349) (+2-1468) (+9-23468) | (+6-12) 7 (+4-126) | (+3-12589) (+1-2369) (+5-3689) |
| (+7-139) (+6-127) (+3-269) | 8 5 (+1-26) | (+2-139) 4 (+9-367) |
+----------------------------------+---------------------------------+----------------------------------+
| (+9-1458) (+1-48) 7 | (+5-123) (+4-1238) (+8-1245) | 6 (+2-39) (+3-459) |
| (+5-14) 3 (+6-45) | (+2-1567) (+1-246) 9 | (+4-25) 8 (+7-45) |
| 2 (+4-68) (+8-4569) | (+7-356) (+3-468) (+6-4578) | (+5-349) (+9-37) 1 |
+----------------------------------+---------------------------------+----------------------------------+
EM2 239 Candidates\
60 Sets = {1C1245678 2C2345678 3C1345789 4C1235679 5C134679 6C2345689 7C124689 8C1235679 9C135789}
179 Eliminations, 60 Assignments -->
ronk wrote:If anything should have a separate thread, IMO it's the topic of "finding the shortest solution".
Allan Barker wrote:Ronk wrote:If one defined a sufficiently large set of truths (base sets, strong sets, ...), could xsudo -- in the absence of memory and time constraints -- make an assignment in every unsolved cell
Yes, the following is a solution to Easter Monster (21 clues) that uses 60 sets. All cells are assigned. This puzzle is a symetrical morph.
- Code: Select all
001000002090400050600000700050903000000070000000850040007000600030009080200000001
+----------------------------------+---------------------------------+----------------------------------+
| (+4-3578) (+7-48) 1 | (+3-567) (+8-369) (+5-678) | (+9-348) (+6-39) 2 |
| (+3-78) 9 (+2-38) | 4 (+6-1238) (+7-1268) | (+1-38) 5 (+8-36) |
| 6 (+8-24) (+5-2348) | (+1-235) (+9-1238) (+2-158) | 7 (+3-19) (+4-389) |
+----------------------------------+---------------------------------+----------------------------------+
| (+1-478) 5 (+4-268) | 9 (+2-146) 3 | (+8-12) (+7-126) (+6-78) |
| (+8-1349) (+2-1468) (+9-23468) | (+6-12) 7 (+4-126) | (+3-12589) (+1-2369) (+5-3689) |
| (+7-139) (+6-127) (+3-269) | 8 5 (+1-26) | (+2-139) 4 (+9-367) |
+----------------------------------+---------------------------------+----------------------------------+
| (+9-1458) (+1-48) 7 | (+5-123) (+4-1238) (+8-1245) | 6 (+2-39) (+3-459) |
| (+5-14) 3 (+6-45) | (+2-1567) (+1-246) 9 | (+4-25) 8 (+7-45) |
| 2 (+4-68) (+8-4569) | (+7-356) (+3-468) (+6-4578) | (+5-349) (+9-37) 1 |
+----------------------------------+---------------------------------+----------------------------------+
EM2 239 Candidates\
60 Sets = {1C1245678 2C2345678 3C1345789 4C1235679 5C134679 6C2345689 7C124689 8C1235679 9C135789}
179 Eliminations, 60 Assignments -->
Allan Barker wrote:Ronk wrote:If one defined a sufficiently large set of truths (base sets, strong sets, ...), could xsudo -- in the absence of memory and time constraints -- make an assignment in every unsolved cell
Yes, the following is a solution to Easter Monster (21 clues) that uses 60 sets. All cells are assigned.
- Code: Select all
EM2 239 Candidates\
60 Sets = {1C1245678 2C2345678 3C1345789 4C1235679 5C134679 6C2345689 7C124689 8C1235679 9C135789}
179 Eliminations, 60 Assignments -->
Row 239 Candidates
60 Sets = {3456789R1 123678R2 1234589R3 124678R4 12345689R5 123679R6 1234589R7 124567R8 3456789R9}
Box 239 Candidates
60 Sets = {234578B1 12356789B2 134689B3 12346789B4 1246B5 12356789B6 145689B7 12345678B8 234579B9}
Ronk wrote:Here's somewhat of a head start.
- Code: Select all
Row 239 Candidates
60 Sets = {3456789R1 123678R2 1234589R3 124678R4 12345689R5 123679R6 1234589R7 124567R8 3456789R9}
Box 239 Candidates
60 Sets = {234578B1 12356789B2 134689B3 12346789B4 1246B5 12356789B6 145689B7 12345678B8 234579B9}
I tried, but my xsudo version says 'Diagram too big'.
PIsaacson wrote:The cells containing the RCC candidates cannot be (reliably) shared between the ALSs linked by these RCCs.