Coder Social home page Coder Social logo

gyanprakashsinghiiitg / sudokusolver-with-genetic-algorithm Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 207 KB

Genetic Algorithm has been applied to 9x9 sudoku to obtain unique solution. It uses mainly selection,crossover,mutation along with a fitness function to converge to a unique solution.

Python 100.00%

sudokusolver-with-genetic-algorithm's Introduction

SudokuSolver-With-Genetic-Algorithm

Genetic Algorithm has been applied to 9x9 sudoku to obtain unique solution. It uses mainly selection,crossover,mutation along with a fitness function to converge to a unique solution.

There are 4 sudoku boards are given. Verified solution for board 1 has also been illustrated.

It has been implemented in python3. Go to directory "SudokuSolver-With-Genetic-Algorithm master" and follow the following steps.

Steps for Running the program-

python sudokuGa.py board1 or python sudokuGa.py board2 or
python sudokuGa.py board3 or python sudokuGa.py board4

some parameters like population size etc. can be changed inside the code itself.

sudokusolver-with-genetic-algorithm's People

Contributors

gyanprakashsinghiiitg avatar

Stargazers

Everton P. avatar

Watchers

James Cloos avatar  avatar

Forkers

yenaiv

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.