SudoCue Users Forum Index SudoCue Users
A forum for users of the SudoCue programs and the services of SudoCue.Net
 
 FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Please help me with XY-chain link

 
Post new topic   Reply to topic    SudoCue Users Forum Index -> Help Me! I'm stuck!
View previous topic :: View next topic  
Author Message
pdxsudo
Rookie
Rookie


Joined: 05 Dec 2006
Posts: 6

PostPosted: Tue Dec 05, 2006 9:02 pm    Post subject: Please help me with XY-chain link Reply with quote

Hello all. I'm new to Sudoku and I'm trying to learn the XY-chain link. I am having a difficult time to understand this particular technique. For example, I'm trying to solve this puzzle using Sudocue. The "Hint" suggested that XY-chain link for the digit 4. But the start and end point belong to the same cell! That means the digit 4 must belong to that cell.

Does it have any restrictions on what 2 digit cells I can use to link? In the example below, I'm linking the cell R6C5 twice. I'm quite confused...

This screen print shows the Puzzle I'm working on.

Thanks in advance for all the helpful tips!


Back to top
View user's profile Send private message
Ruud
Site Owner
Site Owner


Joined: 30 Dec 2005
Posts: 601

PostPosted: Tue Dec 05, 2006 11:36 pm    Post subject: Reply with quote

You have discovered a bug in the XY-Chain function. Although the eliminations are correct, it should not have been reported as an XY-Chain.

This is what happens:

either r7c5=3 or r7c5=4

if r7c5=3, then r6c5=5 => r3c5=6 => r3c3=9 => r6c3=1 => r6c9=5

the program should have stopped there, because there are two digits 5 in row 6, but instead the program continues:

r6c9=5 => r6c5=3 => r7c5=4

Thanks for this nice example. I finally figured out what is going wrong. This is obviously not a good example to learn about XY-chains. There should be 2 yellow candidates.

cheers,
Ruud
_________________
“If the human brain were so simple that we could understand it, we would be so simple that we couldn't.” - Emerson M Pugh
Back to top
View user's profile Send private message Send e-mail
pdxsudo
Rookie
Rookie


Joined: 05 Dec 2006
Posts: 6

PostPosted: Wed Dec 06, 2006 12:33 am    Post subject: Reply with quote

Thanks Rudd. I thought I was going crazy! Your explanation makes perfect sense.
Back to top
View user's profile Send private message
Ruud
Site Owner
Site Owner


Joined: 30 Dec 2005
Posts: 601

PostPosted: Fri Dec 08, 2006 12:50 pm    Post subject: Reply with quote

I changed the code to avoid retracing a chain.

The program now finds this XY-Chain instead:



Looks like a valid XY-Chain to me Smile

Ruud
Back to top
View user's profile Send private message Send e-mail
pdxsudo
Rookie
Rookie


Joined: 05 Dec 2006
Posts: 6

PostPosted: Tue Jan 09, 2007 6:44 pm    Post subject: Reply with quote

I'd been printing out the puzzle to play on paper for a month now. I have to admit, the "retracing a chain" technique is actually very useful in placing a number! Afterall, the ultimate goal of eliminating possible numbers is to place a number! Laughing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SudoCue Users Forum Index -> Help Me! I'm stuck! All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group