I am using Z3 as SAT solver
for a tough satisfiability problem encoded in CNF/DIMACS
format.
Would it make sense to randomize the input in order to increase the chance to find a solution:
- Shuffle the order of CNF clauses
- Sort/shuffle the numbering of input variables
Measurements (100 test runs per solver and sorting mode) for a smaller problem with Z3, Cryptominisat and Clasp:
For Z3, sorting/randomization does not look promising for my example which is probably not representative.
I have not found a random seed commandline parameter which influences the SAT module of Z3
.
Parameter "random_seed" only seems to control the SMT solver.