Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martingms/ersatz
A simple, small, work in progress SAT-solver, written in ANSI C
https://github.com/martingms/ersatz
c sat sat-solver
Last synced: 26 days ago
JSON representation
A simple, small, work in progress SAT-solver, written in ANSI C
- Host: GitHub
- URL: https://github.com/martingms/ersatz
- Owner: martingms
- License: mit
- Created: 2019-04-17T16:47:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-02T14:52:12.000Z (9 months ago)
- Last Synced: 2024-02-02T15:51:19.650Z (9 months ago)
- Topics: c, sat, sat-solver
- Language: C
- Homepage:
- Size: 2.13 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ersatz
A simple, small, work in progress SAT-solver, written in ANSI C.
Most of the design is based on the
[MiniSat](http://minisat.se)-[paper](http://minisat.se/downloads/MiniSat.pdf).## Build
$ make
## Test
Requires `prove`. See the `Makefile` for an alternative.
$ make test
## Run
# To solve a SAT instance
$ ./ersatz formula.cnf# To verify a model
$ ./ersatz -V model.cnf formula.cnf## Stuff missing
* Watched literals
* Clause learning
* Branching heuristics
* More documentation
* ...