Download presentation
Presentation is loading. Please wait.
1
GRASP: A Search Algorithm for Propositional Satisfiability EE878C Homework #2 2002/11/1 KAIST, EECS ICS Lab Lee, Dongsoo
2
Sat in a Nutshell v Given a Boolean formula, find a variable assignment such that the formula evaluates to 1, or prove that no such assignment exists. v For n variable,s there are 2 n possible truth assignments to be checked. v NP-Complete problem.
3
Problem Representation v Conjunctive Normal Form n F = (a+b)(a’+b’+c) n Simple representation (more efficient data structures) v Logic circuit representation n Circuits have structural and direction information v Circuit – CNF conversion is straightforward
4
DLL Algorithm v Davis, Logemann and Loveland n M. Davis, G. Logemann and D. Loveland, “A Machine Program for Theorem-Proving”, Communications of ACM, Vol. 5, No. 7, pp. 394-397, 1962 v Basic framework for many modern SAT solvers v Also known as DPLL for historical reasons
27
Implications and Boolean Constraint Propagation v Implication n A variable is forced to be assigned to be True or False based on previous assignments. v Unit clause rule (rule for elimination of one literal clauses) n An unsatisfied clause is a unit clause if it has exactly one unassigned literal. n The unassigned literal is implied because of the unit clause. v Boolean Constraint Propagation (BCP) n Iteratively apply the unit clause rule until there is no unit clause available v Workhorse of DLL based algorithms.
28
GRASP v Marques-Silva and Sakallah [SS96,SS99] n J.P.Marques-Silva and K.A.Sakallah,”GRASP – A New Search Algorithm for Satisfiability,” Proc. ICCAD 1996. (49 citations) v Incorporates conflict driven learning and non-chronological backtracking v Practical SAT instances can be solved in reasonable time v Bayardo and Schrag’s RelSAT also proposed conflict driven learning [BS97]
43
Conflict Clause v Significantly prune the search speace n Learned clause is useful forever v Useful in generating future conflict clauses
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.