BUG Report for HODOKU

Programs which generate, solve, and analyze Sudoku puzzles

BUG Report for HODOKU

Postby yzfwsf » Tue Apr 16, 2019 11:56 pm

With default settings ,Hodoku can't get any Hints for :0372:7:2..1.98.7..9.2.1.3.718.5.2..3.29164.412.86.7.96....2.1.269.35...9.658..25...12.96:513 415 422 435 763 464 764 365 568 871 493 497:771::
yzfwsf
 
Posts: 8
Joined: 16 April 2019

Re: BUG Report for HODOKU

Postby SpAce » Thu Apr 18, 2019 8:53 pm

yzfwsf wrote:With default settings ,Hodoku can't get any Hints for :0372:7:2..1.98.7..9.2.1.3.718.5.2..3.29164.412.86.7.96....2.1.269.35...9.658..25...12.96:513 415 422 435 763 464 764 365 568 871 493 497:771::

Interesting. I haven't seen that problem before. Maybe a bug with the XY-Chain implementation? I got it to work when I switched off XY-Chains in "Solver" so it hinted an AIC instead. Curiously, the "Find all steps" didn't work until I switched off Remote Pairs, X-Chains, and XY-Chains in "All possible steps", so perhaps not just an XY-Chain problem, though.
User avatar
SpAce
 
Posts: 1571
Joined: 22 May 2017

Re: BUG Report for HODOKU

Postby yzfwsf » Fri Apr 19, 2019 3:14 am

Bug seems to stay in "Ristrict chain lengths".If uncheck steps>>Chains (X,XY,Remote Pairs)>>Ristrict chain lengths then Hodoku work fine.
yzfwsf
 
Posts: 8
Joined: 16 April 2019

Re: BUG Report for HODOKU

Postby yzfwsf » Sat Apr 20, 2019 1:14 am

Another puzzle:003000060500061000070200008400007000020600010005000003050042000800090070004800320
When paste this puzzle,Hodoku stuck.When uncheck "Resrict chain lengths"
Last edited by yzfwsf on Wed Apr 24, 2019 10:59 pm, edited 1 time in total.
yzfwsf
 
Posts: 8
Joined: 16 April 2019

Re: BUG Report for HODOKU

Postby StrmCkr » Tue Apr 23, 2019 8:40 am

its a size limit for chains that prevents it from searching for the solution path

in the" all possible steps" tab left click on the gear button -> left click on the steps tab
under the

chains (x,xy, remote pair) either change the [0 - 39] chain length limit drop down list to a number higher then 24

or

uncheck the
restrict chain lengths box.

and it then finds a solution easily.
Some do, some teach, the rest look it up.
User avatar
StrmCkr
 
Posts: 980
Joined: 05 September 2006

Re: BUG Report for HODOKU

Postby SpAce » Tue Apr 23, 2019 4:23 pm

StrmCkr wrote:its a size limit for chains that prevents it from searching for the solution path
...
chains (x,xy, remote pair) either change the [0 - 39] chain length limit drop down list to a number higher then 24

Thanks, StrmCkr! That fixes it and also explains why the problem only affected those three types of chains. So the actual bug is in the UI because it seems to hang instead of stopping the search for those chains. Doesn't seem like a common problem anyway as I've never seen it before.
User avatar
SpAce
 
Posts: 1571
Joined: 22 May 2017

Re: BUG Report for HODOKU

Postby SpAce » Fri Apr 26, 2019 1:10 pm

What about this:

Code: Select all
.-------------.-------------.------------.
| 18   9   18 | 2    5   4  | 7  6    3  |
| 7    3   2  | 68   18  16 | 4  5    9  |
| 4    5   6  | 9    3   7  | 8  2    1  |
:-------------+-------------+------------:
| 23   17  5  | 347  9   8  | 6  134  27 |
| 9    6   38 | 1    47  2  | 5  34   78 |
| 28   17  4  | 37   6   5  | 9  13   28 |
:-------------+-------------+------------:
| 6    8   9  | 5    2   3  | 1  7    4  |
| 15   2   7  | 46   14  9  | 3  8    56 |
| 135  4   13 | 78   78  16 | 2  9    56 |
'-------------'-------------'------------'

The "Find all steps" hangs with "Searching: ALS". Curiously, if I uncheck ALS-XY-Wings it works (and finds several ALS-XZs, ALS-Chains, and Death Blossoms). I would have expected the problem to be with the longer ALS-Chains instead of ALS-XY-Wings. Is there a fix for this?
User avatar
SpAce
 
Posts: 1571
Joined: 22 May 2017


Return to Software