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   

Have simple but fast method???

 
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> The mathematics of sudoku
View previous topic :: View next topic  
Author Message
sam

Joined: 09 Apr 2006
Posts: 2
:

Items
PostPosted: Sun Apr 09, 2006 6:42 am    Post subject: Have simple but fast method??? Reply with quote

After i saw most of the creation and solving of sudoku puzzle, the techniques and method are almost the same, is any one can have a more simple but fast method to do this? Question Arrow
Back to top
View user's profile Send private message
Moritz

Joined: 07 Oct 2006
Posts: 23
:
Location: Edinburgh, Scotland

Items
PostPosted: Sat Oct 07, 2006 10:22 am    Post subject: Re: Have simple but fast method??? Reply with quote

Hi,

sam wrote:
After i saw most of the creation and solving of sudoku puzzle, the techniques and method are almost the same


Usually the technique that is the easiest to implement is backtracking, and in most cases it's the slowest as well.

If there was a very simple method Sudoku solving wouldn't be such a enjoyable occupation ;-)

Moritz
Back to top
View user's profile Send private message Visit poster's website
shekhang

Joined: 12 Nov 2006
Posts: 3
:

Items
PostPosted: Sun Nov 12, 2006 8:25 am    Post subject: Reply with quote

yup
as i am doing my project for the public exam., i found that the easiest method is backtracking.
by this, we can ensure that we can get the correct answer though the time needed is a bit more
about other algorithm, i hv heard that someone use SETS to do it...
Back to top
View user's profile Send private message
abangser

Joined: 25 Nov 2006
Posts: 7
:

Items
PostPosted: Thu Aug 30, 2007 6:02 pm    Post subject: Reply with quote

I believe all advanced techniques reduce to two: 1) Finding that only one candidate in a given cell does not lead to a logical conflict (using basic techniques), and 2) finding that all candidates in a given cell lead (again using only basic techniques) to the same elimination of a candidate elsewhere on the board.

I personally do not consider this to be guessing. Rather, it is a method for the computer to identify the equivalent of chains, wings, etc. In fact, if I reach an 81-cell solution while testing a candidate (in my excel solver) I ignore that result completely.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Sudoku Programmers Forum Index -> The mathematics of 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