LyndonArmitage / sudoku

Some Sudoku solving code
0 stars 0 forks source link

Build a Genetic Algorithm based solver #7

Open LyndonArmitage opened 9 years ago

LyndonArmitage commented 9 years ago

By coming up with some scoring mechanism; produce a Genetic Algorithm based Sudoku solver.

To do this will need to be able to score a solution based on how valid it is. This could be done by counting the amount of valid rows and columns.

LyndonArmitage commented 9 years ago

The process would probably go something like this:

Creating a global list of available numbers for the initial random stage could help reduce the number of invalid Sudokus created initially.

An exhaustive search might be just as quick as any GA algorithm and will need investigating at some point.