Code covered by the BSD License
-
SudokuABS(X,C,pass,advanced)
Advanced Block Sweep is the last resort of the program in an attempt to
-
SudokuFill(X,C,s,pass,advance...
This function runs when there is one possible candidate at a location and
-
SudokuSolver(X)
Function: SudokuSolver
-
SudokuUnstuck(X,C,pass,advanc...
This program runs when the SudokuFill is stuck. This program checks if
-
candidates(X)
This program sets all possible numbers for each location on the
-
columnmod(f,G,C,k,Store)
This script runs when the main program has detected that a number is
-
rowmod(F,g,C,k,Store)
This script runs when the main program has detected that a number is
-
View all files
Logic Sudoku Solver
by Michiel Hegemans
21 May 2010
This Sudoku Solver does not guess. As a result it can only solve Sudokus that are solvable by logic.
|
Watch this File
|
| File Information |
| Description |
This solver is fairly quick, but uses only logic to solve the puzzles. And there are probably some bugs!
The file candidates.m is based on (or rather just copied from) Geoff Boynton's program which can be found on:
http://www.mathworks.com/matlabcentral/fileexchange/8083
I'm still learning so feel free to submit feedback on improvement/optimization. |
| MATLAB release |
MATLAB 7.9 (2009b)
|
|
Tags for This File
|
| Everyone's Tags |
|
| Tags I've Applied |
|
| Add New Tags |
Please login to tag files.
|
|
Contact us at files@mathworks.com