Git Product home page Git Product logo

sat's Introduction

CDCL SAT Solver

This is a CDCL SAT Solver purely as a learning exercise for myself.

The solver itself is in solver.rs with helper data structures in slot_map.rs and fixed_size_stack.rs. The solver is used to solve the following problems:

  • sudoku (sudoku.rs)
  • master key (master_key.rs)
  • master key using minisat (master_key_ms.rs)
  • festival event scheduling (festival_scheduler.rs)

To test solving example sudoku and master key problems:

cargo run --release

There are only tests for solver.rs and sudoku.rs

References

https://codingnest.com/modern-sat-solvers-fast-neat-underused-part-1-of-n/
https://codingnest.com/modern-sat-solvers-fast-neat-and-underused-part-2-of-n/
https://codingnest.com/modern-sat-solvers-fast-neat-and-underused-part-3-of-n/
https://users.aalto.fi/%7Etjunttil/2020-DP-AUT/notes-sat/overview.html
https://www.princeton.edu/~chaff/publication/DAC2001v56.pdf
http://minisat.se/downloads/MiniSat_v1.13_short.pdf \

sat's People

Contributors

danielclarke avatar

Watchers

 avatar

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.