A C++ based Satisfiability Checker for DIMACS format. Implemented as a part of Course Satisfiability Checking at RWTH Aachen University.
- Compile
./build.sh
- Run
./solve.sh <testfile>
For example,
./build.sh
./solve.sh benchmarks/example-1.cnf
- If the formula is Satisfiable, print
sat
along with asatisfying assignment
. Return with an exit code10
. - If the formula is Unsatisfiable, print
unsat
. Return with an exit code20
.
- DIMACS parser.
- Decision.
- Assignment Trail.
- Backtracking.
- Boolean Constraint Propagation.
- Two watched literals.
- Jersolow-Wang Heuristic Variable Ordering.