As far as I know, Sat4j is a library that integrates SAT solver miniSAT on Java environment. I've searched on SAT competition (http://www.satcompetition.org/) and found that Kissat considered as the best SAT Solver so far. Thus I wanna find a library that integrates Kissat (or Glucose is also ok) to test the performance.
- Is there any SAT Solver that provides a build-in library as Sat4j?
- If not, how to test Kissat and Glucose SAT Solver? Thanks a ton!
I've read source code of Kissat and Glucose SAT Solver but I dont understand how to test them by CNF file. Anyone used to work with it can help me?
Kissat usage overview:
The commandline syntax of Kissat:
To get extensive help
The
DIMACS CNFfile format is described here.You are supposed to download and build the Kissat executable. There are no precompiled binaries available in the official Kissat repository. The build process is working for Unix systems.
A volunteer provides Kissat Windows binaries and libraries on GitHub.
Example:
Input file
xxx.cnf.txt:Resulting output:
Note two special and significant output lines:
The example has a solution, i.e. is satisfiable. The three input variables all have the value
1/true.