Sudoku Programmers Forum Index

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log inLog in          Games  Calendar

Log in to check your private messagesLog in to check your private messages   

is there a name for this rule

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku
View previous topic :: View next topic  
Author Message
dukuso

Joined: 14 Jul 2005
Posts: 424
:
Location: germany

Items
PostPosted: Mon Sep 19, 2005 4:05 pm    Post subject: is there a name for this rule Reply with quote

I'm not so familiar with the sudoku "rules" for solving.

I'm wondering, is there a name for this sudoku-rule, which
is called "hyper arc consistency" in constraint programming :


for every row r and every column c and every symbol s,
check whether there are valid candidates s1,s2,..,s9 for
positions (r,1),..,(r,9) [the places in that row, including c]
such that s_c=s and all the s_i are different.
If not, that (sub-) puzzle has no solution.

Same for columns, blocks.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Ruud
Site Admin
Joined: 17 Sep 2005
Posts: 708
:
Location: Netherlands

Items
PostPosted: Mon Sep 19, 2005 5:46 pm    Post subject: Reply with quote

In Sudoku, it is called the only rule. Laughing
Back to top
View user's profile Send private message Visit poster's website
Ocean

Joined: 29 Aug 2005
Posts: 15
:

Items
PostPosted: Mon Sep 19, 2005 6:34 pm    Post subject: Reply with quote

I found the paper "Sudoku as a Constraint Problem", where 'hyper arc consistency' (alldifferent) is mentioned. Later (final?) version of the paper in Modelling and Reformulating Constraint Satisfaction Problems. (Proceedings from the Fourth International Workshop. Sitges (Barcelona), Spain, 1 October 2005).

(After reading the latest version, I see that dukosu's magictour data set, and gordon's minimal sudokus are included as test sets - .)
Back to top
View user's profile Send private message
dukuso

Joined: 14 Jul 2005
Posts: 424
:
Location: germany

Items
PostPosted: Tue Sep 20, 2005 2:55 pm    Post subject: Reply with quote

I'm not so familiar with the sudoku "rules" for solving.

I'm wondering, is there a name for this sudoku-rule, which
is called "hyper arc consistency" in constraint programming :


for each cell x and each candidate s for x
check whether there are valid candidates s1,s2,..,s9 for
the other cells x1,..,x9 in that row,column,block
(including x, assuming x=xi)
such that s_i=s and all the s_j are different.
If not, then you can remove s as a candidate for x


Same for columns, blocks.

is this included by some other rules ?
does it imply some other rules ?


edit: I had got it wrong the first time, so I had to edit it
and reposted, else noone would have noticed ...
Back to top
View user's profile Send private message Send e-mail Visit poster's website
dukuso

Joined: 14 Jul 2005
Posts: 424
:
Location: germany

Items
PostPosted: Tue Sep 20, 2005 7:07 pm    Post subject: Reply with quote

Ocean wrote:
I found the paper "Sudoku as a Constraint Problem", where 'hyper arc consistency' (alldifferent) is mentioned. Later (final?) version of the paper in Modelling and Reformulating Constraint Satisfaction Problems. (Proceedings from the Fourth International Workshop. Sitges (Barcelona), Spain, 1 October 2005).

(After reading the latest version, I see that dukosu's magictour data set, and gordon's minimal sudokus are included as test sets - .)



yes, I had some emails with H.Simonis.
There is already a link to his first sudoku-paper in the
math-forum, thread "papers and links" I will add
your other link there too.
I also tried to read the referenced vanHoeve survey,
but not very seriously ;-) I still don't know much about
about constraint programming.

But I'm wondering :

can't we reformulate all the "alldifferent" constraint problems
into an exact-cover problem like we did with sudoku ?
That should make the whole stuff and the terminology
easier and more general !
Even some other constraints could be included,
like the sums in Killer sudokus, but it gives a
pretty large set of variables.


-Guenter.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Solving sudoku 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
Sudoku Programmers topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group

Igloo Theme Version 1.0 :: Created By: Andrew Charron