Davis–Putnam–Logemann–Loveland (DPLL) algorithm is a complete, backtracking-based search algorithm for deciding the satisfiability of propositional logic formulae in conjunctive normal form.
Input files format follows DIMACS.
To run on the benchmarks folder do:
python3 sat_dpll.py --run_benchmarks
. The code takes around 6 seconds to solve 100 SAT problems.
To run with a seperate input file, just do:
python3 sat_dpll.py --input_file your_file