Reverse sudoku generator? Exists?

Programs which generate, solve, and analyze Sudoku puzzles

Reverse sudoku generator? Exists?

Postby almarc » Tue May 09, 2006 9:51 pm

I have generators which are able to generate whole sudoku from the numbers placed in grids.

Does it exist any program which is able to create only one solution from sudoku, which is already filled?

Example: I have 9x9 filled sudoku, and I need to take off numbers, so that the result should be minimum numbers and also only one solution.
almarc
 
Posts: 2
Joined: 09 May 2006

Postby coloin » Fri Jun 09, 2006 6:13 pm

Try this one

http://magictour.free.fr/suex9s.exe

This will generate minimal sudoku puzzles from a complete [or semi completed but valid] grid.

Make a 81 test string in notepad
Code: Select all
589732614621854379743916825835129746417568293296347158968471532372695481154283967

or
Code: Select all
58973....621854379743916825835129746417568293296347158968471532372695481154283967


Make sure the suex9s program and the text file are in the same folder.

type
C:\folder>suex9s <file.txt> seed 50 26

This will generate 50 minimal puzzles from your grid - and they will all have more than 26 clues

There are more puzzles from a single grid than anybody knows !

Edit - if you set the seed to 10000 - you will get 10000 different puzzles - which no one has ever seen before -

Come on now people I want to know if you are impressed or not !!!
coloin
 
Posts: 2494
Joined: 05 May 2005
Location: Devon

Postby almarc » Wed Jun 14, 2006 3:53 pm

Thanks a lot for your help. That is what I really needed
almarc
 
Posts: 2
Joined: 09 May 2006


Return to Software