Skip to content

aytey/cadical

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CaDiCaL

CaDiCaL Simplified Satisfiability Solver

The original goal of the development of CaDiCaL was to obtain a CDCL solver, which is easy to understand and change, while at the same time not being much slower than other state-of-the-art CDCL solvers. Originally we wanted to also radically simplify the design and internal data structures, but that goal was only achieved partially, at least for instance compared to Lingeling. On the other hand CaDiCaL actually became in general faster than Lingeling even though it is missing some preprocessors (mostly parity and cardinality constraint reasoning), which would be crucial to solve certain instances. The incremental API is incomplete.

Use './configure && make' to configure and build 'cadical' in the default 'build' sub-directory. This will also build the library 'libcadical.a'.

  • ./build/libcadical.a

  • ./build/cadical

The build process requires GNU make. Using the generated 'makefile' with GNU make compiles separate object files, which can be cached (for instance with 'ccache'). The 'makefile' uses parallel compilation by default ('-j').

The header file of the library is in 'src/cadical.hpp'.

You might want to check out options of './configure -h', such as

  • ./configure -c # include assertion checking code

  • ./configure -l # include code to really see what the solver is doing

  • ./configure -a # both above and in addition '-g' for debugging.

You can easily use multiple build directories, e.g.,

  • mkdir debug; cd debug; ../configure -g; make

which compiles and builds a debugging version in the sub-directory 'debug', since '-g' was specified as parameter to 'configure'. The object files, the library and the binary are all independent of those in the default build directory 'build'.

The latest version of CaDiCaL can be found on 'github'

which also contains a test suite. Use 'make test' to run it.

A plain stable source release can also be found at

Armin Biere Sat Mar 24 11:52:12 CET 2018

About

CaDiCaL SAT Solver

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 97.1%
  • Shell 2.5%
  • Other 0.4%