Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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
* ...