Wikiposts
Search
Space Flight and Operations News and Issues Following Space Flight, Testing, Operations and Professional Development

Sudoku Solving

Thread Tools
 
Search this Thread
 
Old 30th Jan 2008, 20:37
  #1 (permalink)  
Thread Starter
 
Join Date: Jun 2001
Location: UK
Posts: 3,982
Likes: 0
Received 1 Like on 1 Post
Sudoku Solving

Have been quite addicted to Sudoku puzzles for a while - they help to pass away the longer sectors!

There is at least one site on the web which will solve any 9 x 9 Sudoku and I was wondering how they go about writing a program to solve them?

I am also looking for software which will solve a 12 x 12 Sudoku.
fireflybob is offline  
Old 31st Jan 2008, 07:41
  #2 (permalink)  
Per Ardua ad Astraeus
 
Join Date: Mar 2000
Location: UK
Posts: 18,579
Likes: 0
Received 0 Likes on 0 Posts
Another 'semi-addict' here, ffb, and I would be interested to know how the designer knows which and how many squares to empty to make a particular 'grade' of puzzle. I find a combination of a Suduko and a cryptic crossword an excellent antidote to 'dead brain' (although there are some who would say....)

No doubt one of our clever clogs will have a link to a writing programme or perhaps even written one!
BOAC is offline  
Old 3rd Feb 2008, 02:13
  #3 (permalink)  
Hippopotomonstrosesquipidelian title
 
Join Date: Oct 2006
Location: is everything
Posts: 1,826
Likes: 0
Received 0 Likes on 0 Posts
I am also looking for software
You naughty boy. As punishment, go solve the (unfortunately named) Qassim Hamza sudoku.
Bushfiva is offline  
Old 3rd Feb 2008, 18:39
  #4 (permalink)  
 
Join Date: Jul 1999
Location: Europe
Posts: 352
Likes: 0
Received 0 Likes on 0 Posts
On Wiki there is plenty of info on how to do.
Clarence Oveur is offline  
Old 5th Feb 2008, 09:02
  #5 (permalink)  
 
Join Date: Feb 2006
Location: UK
Posts: 669
Likes: 0
Received 0 Likes on 0 Posts
Sudoku isn`t my thing... but as it happens I`m doing some video tutorials for some software that, apart from being the best Crossword Software I`ve ever used has a function for compiling and publishing Sudoku puzzles...

Thanks windriver, but IAW forum rules I have had to remove the link to a 'commercial' website and ask folk to Google for 'crossword compiler'
windriver is offline  
Old 12th Feb 2008, 22:08
  #6 (permalink)  
 
Join Date: Jun 2006
Location: Dunnunda for a while
Posts: 39
Likes: 0
Received 0 Likes on 0 Posts
For the really long sectors, try these.
VH-WTF is offline  
Old 7th Mar 2008, 17:40
  #7 (permalink)  
 
Join Date: Aug 2007
Location: West London
Posts: 382
Received 2 Likes on 1 Post
In a previous life I used to be a computer programmer, so I can give you the basic idea behind the 'solver' programs...

Working on the basis of the original 3x3 Sudoku grid ...

1. the program, internally, starts off with a 9x9 grid, where each little bit of the grid starts of containing all the numbers 1-9.
2. you enter the numbers that you already have from the original grid, the program deletes all the matching numbers from each row and each column, and each specific 3x3 region.
3. Once you have entered all your starting numbers the program can then display all those locations which have only one possible 'missing' number.

Assuming that the program shows you which is the missing number from a particular row or column, you then enter it back into the grid on the computer, as in number '2' above. Which then leads to number '3', which then leads to number '2', and so on.

That is it, in a nutshell. There is no magical hidden algorithm to help you solve a Sudoku, it is just a few steps repeated time and time again. The same principle holds true for all sizes of Sudoku grid.



There are two kinds of 'solver' program - one which just provides the finished grid, and one which provides you with a clue to a particular number in a particular square as a hint. I prefer/use the 'hint' version.
Geezers of Nazareth is offline  
Old 11th Mar 2008, 12:59
  #8 (permalink)  
 
Join Date: Jan 2007
Location: in the mist
Posts: 562
Likes: 0
Received 0 Likes on 0 Posts
Surely the fun is in solving the sudoku yourself rather than making a computer do it. May as well start off with a grid that's full to start with!
TheGorrilla is offline  
Old 17th Mar 2008, 15:29
  #9 (permalink)  
 
Join Date: Oct 2007
Location: sh!# hole
Posts: 175
Likes: 0
Received 0 Likes on 0 Posts
there's a program called "simple sudoku". It allows you to play the game and brings up the candidates to help you to solve the puzzle. You can also load your own game (from a newspaper/magazine). It will give you hints on how to solve the game.

Use google search to find it
Oz
oz in dxb is offline  
Old 17th Mar 2008, 16:19
  #10 (permalink)  
 
Join Date: Jan 2008
Location: UK
Posts: 1,464
Likes: 0
Received 0 Likes on 0 Posts
Computers can solve any Suduko by brute force.
cats_five is offline  

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Contact Us - Archive - Advertising - Cookie Policy - Privacy Statement - Terms of Service

Copyright © 2024 MH Sub I, LLC dba Internet Brands. All rights reserved. Use of this site indicates your consent to the Terms of Use.