Minimal Sat assignment

70 views
Skip to first unread message

Hao Zheng

unread,
Nov 12, 2011, 2:10:10 PM11/12/11
to MiniSat
Minisat always returns a full assignment for all variables in a
formula when it is SAT. Is there any particular reason for doing that?
In many cases of model checking, a minimal assignment is highly
preferred to the full assignment. But the existing approach to finding
a reduced assignment requires some slow and awkward post-processing.
So how hard is it to modify the minisat for it to generate a reduced
assignment for a sat case.

Thanks,

Hao

Michael Tautschnig

unread,
Nov 14, 2011, 5:34:35 AM11/14/11
to min...@googlegroups.com

You might want to try undoing decisions in reverse order - the last few of them
are possibly redundant in this respect. But other than implementing this in
minisat would simply mean implementing this "slow and awkward" process.

Best,
Michael

Hao Zheng

unread,
Nov 15, 2011, 9:53:49 AM11/15/11
to MiniSat

On Nov 14, 5:34 am, Michael Tautschnig
Thanks for the information. Before I spend time to actually modify
MiniSAT with you suggestion, is there any reason (implementation- or
algorithm-wise) that a fully assignment has to be returned in the
first place?

Thanks,
- Hao

Daniel Le Berre

unread,
Nov 15, 2011, 11:17:34 AM11/15/11
to min...@googlegroups.com
Le 15/11/2011 15:53, Hao Zheng a �crit :

The SAT solver knows that is has found a satisfiable assignment when
there is no more variable to assign. Because the solvers use lazy data
structure, they do not know at some point if all the clauses are
satisfied or not.

Daniel

Hao Zheng

unread,
Nov 17, 2011, 9:03:39 PM11/17/11
to MiniSat
Thank you very much for the insights. It helps a lot.

Hao
Reply all
Reply to author
Forward
0 new messages