Meet My Nemesis!

Post the puzzle or solving technique that's causing you trouble and someone will help

Postby ronk » Mon Mar 24, 2008 4:25 pm

gsf wrote:
Mike Barker wrote:Interestingly the results from Glenn's solver will vary depending on which version of the puzzle is used. 41826 is the toughest of the 47621 puzzles I downloaded (with SE rating 9.1).

meet my nemesis (order dependent constraints/methods/techniques)
[...]
its really tough to wash out the for(i=0;i<81;i++) and for(j=0;j<9;j++) coding bias

I thought yours was a "batch solver", where such bias wouldn't occur.
ronk
2012 Supporter
 
Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

Postby gsf » Mon Mar 24, 2008 4:41 pm

ronk wrote:
gsf wrote:
Mike Barker wrote:Interestingly the results from Glenn's solver will vary depending on which version of the puzzle is used. 41826 is the toughest of the 47621 puzzles I downloaded (with SE rating 9.1).

meet my nemesis (order dependent constraints/methods/techniques)
[...]
its really tough to wash out the for(i=0;i<81;i++) and for(j=0;j<9;j++) coding bias

I thought yours was a "batch solver", where such bias wouldn't occur.

background:
batching is enabled by the -B option, off by default
with -B enabled, at each ply, each constraint determines the possible placements/eliminations
but does not apply them until all for the current constraint have been identified

the K constraint applies singles multiple times (to extend the net via individual chains)
and I think the bias has crept in between the multiple applications
its probably not a 5 minute fix
gsf
2014 Supporter
 
Posts: 7306
Joined: 21 September 2005
Location: NJ USA

Postby ronk » Mon Mar 24, 2008 7:36 pm

gsf wrote:batching is enabled by the -B option, off by default

dang, that's another thing I knew at one time and forgot
this forgetfulness is starting to get worrisome:(
ronk
2012 Supporter
 
Posts: 4764
Joined: 02 November 2005
Location: Southeastern USA

Postby gsf » Wed Mar 26, 2008 10:51 pm

I did some empirical analysis on order dependencies in my solver
it fingers the XYK constraints as the culprits
these are the chain related constraints
I already had code in place to mitigate order dependencies, but its not sufficient
batching (-B) removes the order dependencies for the FNBTHW constraints (empirically)
not sure at the moment why XYK are order dependent
gsf
2014 Supporter
 
Posts: 7306
Joined: 21 September 2005
Location: NJ USA

Previous

Return to Help with puzzles and solving techniques