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   

Nodes per second
Goto page Previous  1, 2, 3, 4, 5
 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku
View previous topic :: View next topic  
Author Message
xyzzy

Joined: 24 Aug 2005
Posts: 80
:

Items
PostPosted: Wed Nov 30, 2005 4:55 pm    Post subject: Reply with quote

gsf wrote:

the input puzzles are simple enough for just F constraints (only candidate value in cell) to handle

For all the contests? That explains a lot. If a puzzle isn't solved after finding all singles, it can be declared ambiguous without searching for two solutions.
Back to top
View user's profile Send private message Visit poster's website
gsf

Joined: 18 Aug 2005
Posts: 411
:
Location: NJ USA

Items
PostPosted: Wed Nov 30, 2005 5:49 pm    Post subject: Reply with quote

xyzzy wrote:
gsf wrote:

the input puzzles are simple enough for just F constraints (only candidate value in cell) to handle

For all the contests? That explains a lot. If a puzzle isn't solved after finding all singles, it can be declared ambiguous without searching for two solutions.


>1 week ago and I forget details
my contest solver could compile with F or FN constraints
(N: only candidate in row/col/box)
the solver backtracks when the constraints fail to progress
by saying "F constraints handled the input" I meant
"a backtrack search with just F constraint propagation worked best"
meaning that adding any other constraints was overkill,
but backtracking was still (presumably) required

looking back at the entry source the ENUMERATE contest input ran best
with FN constraints, so:
Code:

GENERATE:10893  F constraints
SOLVE:10957 F constraints
ENUMERATE:3285 FN constraints
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> Programming sudoku All times are GMT
Goto page Previous  1, 2, 3, 4, 5
Page 5 of 5

 
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