#sat-solver #rustsat #debug-mode

rustsat-cadical

Interface to the SAT solver CaDiCaL for the RustSAT library

7 releases

0.2.4 Feb 23, 2024
0.2.3 Jan 11, 2024
0.2.1 Dec 18, 2023
0.2.0 Oct 30, 2023
0.1.0 Aug 23, 2023

#1230 in Algorithms

Download history 13/week @ 2023-12-18 20/week @ 2024-01-08 25/week @ 2024-01-22 100/week @ 2024-02-19 27/week @ 2024-02-26 57/week @ 2024-03-04 20/week @ 2024-03-11 32/week @ 2024-04-01

57 downloads per month
Used in 2 crates

MIT license

5.5MB
15K SLoC

Check & Test crates.io docs.rs License

rustsat-cadical - Interface to the CaDiCaL SAT Solver for RustSAT

Armin Biere's SAT solver CaDiCaL to be used with the RustSAT library.

Note: at the moment this crate is known to not work on Windows since CaDiCaL is non-trivial to get to work on Windows.

Features

  • debug: if this feature is enables, the C++ library will be built with debug and check functionality if the Rust project is built in debug mode
  • safe: disable writing through 'popen' for more safe usage of the library in applications
  • quiet: exclude message and profiling code (logging too)
  • logging: include logging code (but disabled by default)

CaDiCaL Versions

CaDiCaL versions can be selected via cargo crate features. All CaDiCaL versions up to Version 1.9.4 are available. For the full list of versions and the changelog see the CaDiCaL releases.

Without any features selected, the newest version will be used. If conflicting CaDiCaL versions are requested, the newest requested version will be selected.

Dependencies

~1.1–5MB
~86K SLoC