denis_berthier wrote:As I've written, "try-to-eliminate-candidates" doesn't work if t-whips are active.
Ok, though I don't know where you've written it. I understood that the function only works for whips and braids, but didn't realize that everything else had to be turned off. Well, I did now, but still no luck.
In addition,:
- c2n1{r7 r4} - r7n1{c2 c8} is not the start for a whip, let alone a t-whip
Why not? As a matrix it sure looks like a t-whip to me:
- Code: Select all
n1c2| 1r7c2 1r4c2
n1r7| 1r7c2 1r7c8
n1r6| 1r6c1 1r6c8 1r6c6
r9c6| 1r9c6 7r9c6
n7c8| 7r7c8 7r9c8 7r6c8
r6c7| 7r6c7 6r6c7
r6c3| 7r6c3 6r6c3 8r6c3
r8c3| 7r8c3 8r8c3
=====================================================
-7r7c2
No gaps -> not a braid; 3 t-candidates and no z-candidates -> t-whip. What is it if not that? Here's the same written a bit differently:
- Code: Select all
n1c2| 1r7c2 1r4c2
n1r7| 1r7c2 1r7c8
n1r6| 1r6c1 1r6c8 1r6c6
r9c6| 1r9c6 7r9c6
n7c8| 7r7c8 7r9c8 7r6c8
r6c7| 7r6c7 6r6c7
r6c3| 7r6c3 6r6c3 8r6c3
r8c3| 7r8c3 8r8c3
=====================================================
-7r7c2
Would you accept that as a braid, with the 1r7c2 as a z-candidate?
- what rules did you use to reach your PM?
The normal rules of this section -- singles, intersections, subsets (no fish).
I re-tested the function on another puzzle : Magictour #77:
...
If instead of solve, I use (try-to-eliminate-candidates "7.....4...2..7..8...3..8..9...5..3...6..2..9...1..7..6...3..9...3..4..6...9..1..5" 626), it gives as expected:
...
whip[9]: c4n6{r3 r9} - r9c5{n6 n8} - r7c5{n8 n5} - r3c5{n5 n1} - c5n6{r3 r4} - r1n6{c5 c3} - r1n8{c3 c2} - b1n9{r1c2 r2c1} - b1n1{r2c1 .} ==> r2c6 ≠ 6
Not for me. When I turned everything but whips off, I got nothing. However, before that I forgot to turn forcing braids off and got:
SudoRules wrote:whip[1]: r9n4{c2 .} ==> r7c3 ≠ 4, r7c1 ≠ 4, r7c2 ≠ 4
braid[8]: r1n6{c6 c3} - c4n6{r1 r9} - r9c5{n6 n8} - r7c5{n8 n5} - r3c5{n5 n1} - r1n8{c3 c2} - b1n1{r1c2 r2c1} - b1n9{r2c1 .} ==> r2c6 ≠ 6
I almost missed it because it took forever to compute and I thought Clips had hanged. I guess I have something wrong with the config file since the whip didn't show up. Unfortunately I don't think I have more patience to figure it out, as the debug cycle takes too long with this feature.