Changes

Jump to: navigation, search

GPU610/gpuchill

349 bytes added, 13:32, 14 February 2019
Sudoku Brute Force Solver
===Sudoku Brute Force Solver===
I decided to profile a simple brute force Sudoku solver, found here (https://github.com/regehr/sudoku). The solver uses a simple back tracking algorithm, inserting possible values into cells, iterating through the puzzles thousands of times, until it eventually produces an answer which does not violate any of the rules of Sudoku. As such the solver runs at the same speed regardless of the human difficulty rating, able to solve easy and 'insane' level puzzles at the same speed. The solver also works independent of the ratio between clues and white space, producing quick results with even the most sparsely populated puzzles.As such the following run of the program uses a puzzle which is specifically made to play against a the back tracking algorithmand provides maximum time for the solver.
Test run with puzzle:
7
edits

Navigation menu