Mathematicians use computer to solve minimum Sudoku solution problem
January 6, 2012 by Bob Yirka
A standard 9x9 Sudoku matrix. Image credit: Héctor Rodríguez.
(PhysOrg.com) -- Over the past several years, Sudoku, as most people know, has become wildly popular. Where once mainstream newspapers carried only crossword puzzles, they now also carry a Sudoku puzzle as well. But along with that popularity, has come increased scrutiny and competition between people to see if certain properties of the puzzle can be found. For example, in any given Sudoku puzzle, how many clues must be given in order to have just one unique solution to the problem? Most Sudoku enthusiasts will answer 17, because nobody has ever been able to find one with 16 or less; which is fine, except that people as a general rule like some sort of proof of such things. Thus, it should not come as much of a surprise to anyone that a team of mathematicians have not only set out to prove what everyone thinks they know, but have succeeded in their endeavor.
Sudoku, for the uninitiated, is a puzzle whereby a square is created with 9x9 rows and columns of boxes to be filled in with numbers (1 through 9). The puzzle is further divided into nine 3x3 sections. The trick to solving the puzzle is that each row and column cannot have repeating numbers and neither can any of the 3x3 sections. Also, when a puzzle is created, a certain number of the boxes are prefilled, creating in essence, a unique puzzle each time. Thus, to solve the puzzle, all a person has to do is figure out how to fill in the rest of the boxes.
The thing about Sudoku puzzles though, is that those that make them can pre-fill as many boxes as they choose, the more clues they give, generally, the easier the puzzle will be to solve. Thus, creators who want to make their puzzles as hard as possible want to fill in the fewest possible clues that will still allow for a unique single solution.
To prove that 17 is the magic number, Gary McGuire and colleagues at University College, Dublin, took the brute force approach. After all with every Sudoku puzzle there is a solution, to find it, all a computer would have to do is try every possible scenario for every possible configuration. Unfortunately, that approach would take too long, so the team had to figure out a way to trim down the number of possibilities they’d have to check for.
Throwing out grids that are equivalent helps, that reduces the number of tests dramatically. But that’s still not enough, so the team wrote a software routine that tests to see if certain subsets of the puzzle are equivalent to others, which would mean not having to test for the others if the first are found. This reduced the amount of testing as well. But even so, it took almost all of a full year of computing to test all of the possible scenarios.
But when the program stopped, the researchers had their answer. To create a Sudoku puzzle that is unique, you have to give at least 17 clues.
More information: There is no 16-Clue Sudoku: Solving the Sudoku Minimum Number of Clues Problem, arXiv:1201.0749v1 [cs.DS] http://arxiv.org/abs/1201.0749
Abstract
We apply our new hitting set enumeration algorithm to solve the sudoku minimum number of clues problem, which is the following question: What is the smallest number of clues (givens) that a sudoku puzzle may have? It was conjectured that the answer is 17. We have performed an exhaustive search for a 16-clue sudoku puzzle, and we did not find one, thereby proving that the answer is indeed 17. This article describes our method and the actual search.
The hitting set problem is computationally hard; it is one of Karp's twenty-one classic NP-complete problems. We have designed a new algorithm that allows us to efficiently enumerate hitting sets of a suitable size. Hitting set problems have applications in many areas of science, such as bioinformatics and software testing.
via ArxivBlog
© 2011 PhysOrg.com
-
Discovery could lead to more difficult Sudoku puzzles
Feb 13, 2010 |
not rated yet |
0
-
Toy Robot to Solve Sudoku (w/ Video)
Sep 03, 2009 |
not rated yet |
0
-
Computer defeats humans at crossword
Sep 01, 2006 |
not rated yet |
0
-
DARPA Shredder Challenge sizzling but no winner yet
Nov 22, 2011 |
not rated yet |
0
-
Physicist's algorithm simplifies biological imaging -- and also solves Sudoku puzzles
Mar 02, 2006 |
not rated yet |
0
-
Stars containing dark matter should look different from other stars
Feb 20, 2012 |
4.5 / 5 (17) |
11
-
Physicists discover evidence of rare hypernucleus, a component of strange matter
Feb 17, 2012 |
4.7 / 5 (38) |
22
-
Fast photon control brings quantum photonic technologies closer
Feb 13, 2012 |
5 / 5 (8) |
1
-
Engineers build first sub-10-nm carbon nanotube transistor
Feb 01, 2012 |
4.9 / 5 (36) |
32
-
Something old, something new: Evolution and the structural divergence of duplicate genes
Jan 31, 2012 |
4.6 / 5 (7) |
1
-
Computer Architecture Help
Feb 15, 2012
-
Emulators on lower powered spartphones - PSX4droid
Feb 14, 2012
-
Digital scratch pad?
Feb 13, 2012
-
Quantum computer faster than regular computer?
Feb 13, 2012
-
Synergistic relations between computer science and technology.
Feb 06, 2012
-
how do iphone gloves work?
Feb 05, 2012
- More from Physics Forums - Computing & Technology
More news stories
Stanford research team cracks animated NuCaptcha
(PhysOrg.com) -- The research team from Stanford University, led by Elie Bursztein, that previously had cracked regular CAPTCHAs and then audio CAPTCHAs, now has also successfully cracked the animated version called NuCapt ...
Tiny, implantable medical device can propel itself through bloodstream
Someday, your doctor may turn to you and say, "Take two surgeons and call me in the morning." If that day arrives, you may just have Ada Poon to thank.
17 hours ago |
5 / 5 (9) |
8
|
Italian engineer invents floating solar panels
Rays of the winter sun bounce off gleaming mirrors on the tiny lake of Colignola in Italy, where engineers have built a cost-effective prototype for floating, rotating solar panels.
Technology / Energy & Green Tech
21 hours ago |
4.7 / 5 (6) |
5
Microsoft hits Motorola, Google with EU complaint
Microsoft on Wednesday lodged a formal complaint with the European Union's competition regulator against Motorola Mobility and its soon-to-be owner Google, saying Motorola's aggressive enforcement of patent ...
17 hours ago |
2 / 5 (1) |
2
Calif. pledges better mobile privacy disclosures
(AP) -- Mobile applications seeking to collect personal information will have to forewarn users as part of an agreement reached in California.
9 hours ago |
not rated yet |
0
Researchers build first physical 'metatronic' circuit
(PhysOrg.com) -- The technological world of the 21st century owes a tremendous amount to advances in electrical engineering, specifically, the ability to finely control the flow of electrical charges using ...
Spitzer finds solid buckyballs in space
(PhysOrg.com) -- Astronomers using data from NASA's Spitzer Space Telescope have, for the first time, discovered buckyballs in a solid form in space. Prior to this discovery, the microscopic carbon spheres ...
Faster than light neutrinos? More like faulty wiring
You can shelf your designs for a warp drive engine (for now) and put the DeLorean back in the garage; it turns out neutrinos may not have broken any cosmic speed limits after all.
Physicists surprised by disappearing and reappearing superconductivity in iron selenium chalcogenides
Superconductivity is a rare physical state in which matter is able to conduct electricity -- maintain a flow of electrons -- without any resistance. This phenomenon can only be found in certain materials at low temperatures, ...
Going up: Japan builder eyes space elevator
A Japanese construction firm claimed Wednesday it could execute an out-of-this-world plan to put tourists in space within 40 years by building an elevator that stretches a quarter of the way to the moon.
Flesh-eating bacteria inspire superglue
(PhysOrg.com) -- A bio-inspired superglue has been developed by Oxford University researchers that cant be matched for sticking molecules together and not letting go.
Jan 08, 2012
Rank: not rated yet
Henri
Jan 08, 2012
Rank: not rated yet
Henri
Jan 08, 2012
Rank: not rated yet
Henri
Jan 08, 2012
Rank: not rated yet
this has nothing to do with it.
The adage that you can't prove a negative is only relevant if the entirety of your searchspace cannot be tested. With the brute force approach used here they did test it.
That said I would have guessed that information theory might have sufficed to show that the amount contained in 16 clues is not enough to contain all the information inherent in a completed sudoku puzzle.