An open API service indexing awesome lists of open source software.

https://github.com/sebsikora/pysmt_demos

Demonstrations of a Python Satisfiability Modulo Theory (SMT) solver in action used to solve Suko & Sudoku puzzles
https://github.com/sebsikora/pysmt_demos

python satisfiability-modulo-theories satisfiability-solver sudoku-solver

Last synced: 2 months ago
JSON representation

Demonstrations of a Python Satisfiability Modulo Theory (SMT) solver in action used to solve Suko & Sudoku puzzles

Awesome Lists containing this project

README

        

# pysmt_demos

© 2021 Dr Sebastien Sikora.

[[email protected]](mailto:[email protected])

Updated 29/09/2021.

What is it?
---------------------------

The [suko](https://github.com/sebsikora/pysmt_demos/blob/main/suko_solved.py) demo is cribbed more-or-less directly from the nice walkthrough by [David Cannings](https://edeca.net/post/2017-06-03-solving-suko-with-pysmt/)

The walkthrough shows us how we can define all the rules we need to solve a similar problem using the same solver, eg [sudoku](https://github.com/sebsikora/pysmt_demos/blob/main/sudoku_solved.py)