3 releases

Uses old Rust 2015

0.0.3 Jan 3, 2024
0.0.2 Oct 30, 2023
0.0.1 Oct 26, 2023

#517 in Math

MIT license

15KB
212 lines

SAT Solvers in Rust

This crate contains implementations of various satisfiability solvers for the boolean satisfiability problem (SAT).

List of available solvers:

This crate also contains some useful structs for working with propositional variables and formulas, viz:

Usage

The crate can be used as a library or as a binary. To use it as a binary, run the following command:

cargo run <CNF_FILE> <SOLVER>

OR

sat-rs <CNF_FILE> <SOLVER>

Dependencies

~1.2–1.8MB
~34K SLoC