satispy
satispy copied to clipboard
An interface to SAT solver tools (like minisat)
I use satispy to solve boolean functions, but I need some variables to have constant values 0 or 1, True or False. Can the library do that?
I added a timeout to the Minisat class which can be optionally provided to kill the SAT-solving process after a specified time. In this case, a subprocess.TimeoutExpired Exception is thrown...
I am ussing satispy with a lot of variables, but sometimes when the program is running, i have te next error KeyError: How i can solve that, i need expand...
The library does distribution directly when ORing two CNFs together. This results in exponential blowup in certain cases from satispy import Variable as v reduce(lambda x, y: x|y, [v("x" +...