Heuristics Based on Unit Propagation for Satisability Problems. Chu Min Li & Anbulagan

Size: px
Start display at page:

Download "Heuristics Based on Unit Propagation for Satisability Problems. Chu Min Li & Anbulagan"

Transcription

1 Heuristics Based on Unit Propagation for Satisability Problems Chu Min Li & Anbulagan LaRIA, Univ. de Picardie Jules Verne, 33, Rue St. Leu, Amiens Cedex, France fax: (33) , fcli@laria.u-picardie.fr, Anbulagan@utc.frg Abstract The paper studies new unit propagation based heuristics for Davis-Putnam-Loveland (DPL) procedure. These are the novel combinations of unit propagation and the usual "Maximum Occurrences in clauses of Minimum Size" heuristics. Based on the experimental evaluations of dierent alternatives a new simple unit propagation based heuristic is put forward. This compares favorably with the heuristics employed in the current state-of-the-art DPL implementations (C-SAT, Tableau, POSIT). 1 Introduction Consider a propositional formula F in Conjunctive Normal Form (CNF) on a set of Boolean variables fx 1 x 2 ::: x n g, the satisability (SAT) problem consists in testing whether clauses in F can all be satised by some consistent assignment of truth values (1 or 0) to the variables. If it is the case, F is said satisable otherwise, F is said unsatisable. If each clause exactly contains r literals, the subproblem is called r-sat problem. SAT problem is fundamental in many elds of computer science, electrical engineering and mathematics. It is the rst NP-Complete problem [Cook, 1971] with 3-SAT as the smallest NP-Complete subproblem. The Davis-Putnam-Loveland procedure (DPL) [Davis et al., 1962] is a well known complete method to solve SAT problems, roughly sketched in Figure 1. DPL procedure essentially constructs a binary search tree, each recursive call constituting a node of the tree. Recall that all leaves (except eventually one for a satisable problem) of a search tree represent a dead end where an empty clause is found. The branching variables are generally selected to allow to reach as early as possible a dead end, i.e. to minimize the length of the current path in the search tree. The most popular SAT heuristic actually is Mom's heuristic, which involves branching next on the variable having Maximum Occurrences in clauses of Minimum Size [Dubois et al., 1993 Freeman, 1995 Pretolani, 1993 Crawford and Auton, 1996 Jeroslow andwang, 1990]. Intuitively these variables allow to well exploit the power of unit propagation and to augment the chance to reach an empty clause. Recently another heuristic based on Unit Propagation (UP heuristic) has proven useful and allows to exploit yet more the power of unit propagation [Freeman, 1995 Crawford and Auton, 1996 Li, 1996]. Given a variable x, a UP heuristic examines x by respectively adding the unit clause x and x to F and independently makes two unit propagations. The real eect of the unit propagations is then used to weigh x. procedure DPL(F) Begin if F is empty, return "satisfiable" F:=UnitPropagation(F ) If F contains an empty clause, return "unsatisfiable". /* branching rule */ select a variable x in F according to a heuristic H, if the calling of DPL(F [fxg) returns "satisfiable" then return "satisfiable", otherwise return the result of calling DPL(F [fxg). End. procedure UnitPropagation(F) Begin While there is no empty clause and a unit clause l exists in F, assign a truth value to the variable contained inl to satisfy l and simplify F. Return F. End. Figure 1: DPL Procedure However, since examining a variable by two unit propagations is time consuming, two major problems remain open: should one examine all free variables by unit propagation at everynodeofasearch tree? if not, what are the variables to be examined at a search tree node?

2 In this paper we try to experimentally solve these two problems to obtain an optimal exploitation of UP heuristic. We dene a predicate at a search tree node whose denotational semantics is the set of variables to be examined at a search tree node, i.e. x is to be examined if and only if (x) is true. By appropriately changing,we experimentally analyse the behaviour of dierent UP heuristics. We write 12 DPL procedures which are dierent only in and run these procedures on a very large sample of hard random 3-SAT problems. We begin in section 2 by describing the 12 DPL procedures and summarizing the experimental results on these programs. In section 3 we compare a pure UP heuristic and a pure Mom's heuristic and show the superiority of UP heuristics. In section 4 we study dierent restrictions of UP heuristics. In section 5 we discuss the related work and compare the best DPL procedure in our experimentation with three state-of-the-art DPL procedures. Section 6 concludes the paper. 2 UP Heuristics Driven by Let diff(f 1 F 2 ) be a function which gives the number of clauses of minimum size in F 1 but not in F 2,we show a generic branching rule in Figure 2, where the equation dening H(x) is suggested in [Freeman, 1995] and the weight 5 for uniformizing clauses of dierent length is empirically optimal. For each free variable x such that (x) is true do let F 0 and F 00 be two copies of F Begin F 0 := UnitPropagation(F 0 [fxg) F 00 := UnitPropagation(F 00 [fxg) If both F 0 and F 00 contain an empty clause then return "F is unsatisfiable". If F 0 contains an empty clause then x := 0, F := F 00 else if F 00 contains an empty clause then x := 1, F := F 0 If neither F 0 nor F 00 contains an empty clause then let w(x) denote the weight of x w(x) :=diff(f 0 F) and w(x) :=diff(f 00 F) End If all variables examined above are valued or (x) is false for every x then For each free variable x in F do let r i be the length of the clause C i w(x) := x2c i 5 ;r i and w(x) := x2c i 5 ;r i For each variable x do H(x) :=w(x) w(x) w(x)+w(x) Branching on the free variable x such that H(x) is the greatest. Figure 2: A Generic Branching Rule Driven by The essential reason to use UP heuristics instead of Mom's one is that Mom's heuristic may not maximize the eectiveness of unit propagation, because it only takes binary clauses (if any) into account to weigh a variable, although some extensions try to also take longer clauses into account with exponentially smaller weights (e.g. 5 ternary clauses are counted as 1 binary clauses). A UP heuristic allows to take all clauses containing a variable and their relations into account in a very eective way to weigh the variable. As a secondary eect, it allows to detect the so-called failed literals in F which when satised falsify F in a single unit propagation. However since examining a variable by two unit propagations is time consuming, it is natural to try to restrict the variables to be examined. For this purpose we use predicate dened at a search tree node. The success of Mom's heuristic suggests that the larger the number of binary occurrences of a variable is, the higher its probability of being a good branching variable is, implying that if one should restrict UP heuristics by means of, he should restrict UP heuristics to those variables having a sucient number of binary occurrences. For this reason, all restrictions on studied in this paper are dened according to the number of binary occurrences of a variable, so that the resulted UP heuristics rely on combinations of unit propagation and Mom's heuristics inclusion relation Figure 3: predicate hierarchy by inclusion relation. ij(x) is true i x has i binary occurrences of which at least j negative and j positive. The rst predicate in our experimentation is called a and has empty denotational semantics, the resulted branching rule using a pure Mom's heuristic, and the second is called 0 whose denotational semantics is the set of all free variables, the resulted UP heuristic is in its pure form and plays its full role: a : a (x) is false for every free variable x 0 : 0 (x) is true for every free variable x. Between a and 0, there are many other possible predicates. Figure 3 denes 8 predicates constituting a hierarchy by inclusion relation of their denotational semantics is dened to be 31, but for nodes under a xed depth of a search tree, it is dened to be

3 41. Let T be a constant, the last predicate is named z and is dened to be the rst of the three predicates 41, 31 and 0 (in this order) which has at least T variables in its denotational semantics. Each predicate results in a DPL procedure, a, 0, 3141 and z respectively giving Sata, Sat0, Sat 3141 and Satz, and ij giving Sat ij. These programs are dierent only in predicate, except Sat0 which need not count the occurrences of variables. We run the 12 programs (compiled using gcc with optimization) on a PC with a 133 Mhz Pentium CPU under Linux operating system on a very large sample of random 3-SAT problems generated by using the method of Mitchell et al.[mitchell et al., 1992]. Given a set V of n Boolean variables fx 1 x 2 ::: x n g,we randomly generate m clauses of length 3. Each clause is produced by randomly choosing 3 variables from V and negating each with probability 0.5. Empirically, when the ratio m=n is near 4.25 for a 3-SAT formula F, F is unsatisable with a probability 0.5 and is the most dicult to solve. We vary n from 140 variables to 340 variables incrementing by 20, for each n the ratio clauses-to-variables (m=n) is set to 4.0, 4.1, 4.2, 4.25, 4.3, 4.4, 4.5. At each ratio and by each program, if n <280 then 1000 problems are solved, if 280 n 300 then 500 problems are solved, if n = 320 then 300 problems are solved, and if n = 340 then 100 problems are solved. A problem is solved successively by all the 12 DPL procedures before another to ensure the same environment to all programs. Due to the lack of space, we only present the experimental results for the ratio m=n = 4.25 in Figures 4, 5, and 6, where the DPL procedures corresponding to the curves are listed in the same order from top to bottom. The experimental results on the other ratios give exactly the same conclusions. 3 A Pure UP Heuristic Versus a Pure Mom's Heuristics: Sat0 vs Sata Sat0 systematically examines all the variables by unit propagation at all nodes, using a pure UP heuristic, while Sata does not examine any variable so and employs a pure Mom's heuristic. One might believe that Sat0 would be simply too slow, but it is not the case. Sat0 is much faster than Sata. In fact from Figures 4 and 5, all DPL procedures using a UP heuristic in our experimentation are substantially better than Sata in terms of search tree size and real run time. Note that Mom's heuristic used in Sata is similar to the so-called two-sided Jeroslow-Wang rule [Hooker and Vinay, 1995], with the only dierence that a clause of length i is counted as 5 clauses of length i+1 instead of 2. Our experiments suggest that 5 is better than 2. 5 is also similar to the exponential factors in C-SAT [Dubois et al., 1993] where 5.71 ternary clauses are counted as 1 binary clause. search tree size (number of nodes) x 106 sata sat42 sat40 sat41 sat3141 sat30 sat31 sat21 sat20 satz sat10 sat nb. of variables Figure 4: Mean search tree size of each program as a function of n for hard random 3-SAT problems at the ratio m=n =4.25 time in sec sata sat42 sat10 sat40 sat20 sat30 sat0 sat21 sat41 sat3141 sat31 satz nb. of variables Figure 5: Mean run time of each program as a function of n for hard random 3-SAT problems at the ratio m=n = 4.25 Sat0 actually is slower than ve other programs based on balanced restrictions of variables to be examined by unit propagation, but not substantially so (except Satz). The surprisingly good performance of Sat0 conrms the power of UP heuristics for selecting the next branching variable and suggests that its eect for detecting failed literals is only secondary. 4 Restricted UP Heuristics Figure 6 illustrates the number of variables examined by dierent restricted UP heuristics at a node.

4 average number of variables examined per search tree node sat10 sat20 sat21 sat30 sat31 sat3141 sat40 sat41 sat search tree depth Figure 6: Average number of variables examined at a search tree node in a given depth when solving hard random 3-SAT problems of 300 variables and 1275 clauses (500 problems are solved) for 9 programs 4.1 Restriction by total number of binary occurrences of a variable Four programs Sat 10, Sat 20, Sat 30 and Sat 40 realize this type of restrictions. While a classical Mom's heuristic selects the next branching variable having maximum binary occurrences, the restricted UP heuristics examine a set of variables having more binary occurrences than others, including the variable having maximum binary occurrences. From Figure 4, it is clear that the more variables are examined, the smaller the search tree size is. 4.2 Balanced restriction by total number of binary occurrences of a variable Four programs Sat 21, Sat 31, Sat 41 and Sat 42 realize this type of restrictions. The predicates require that a variable occurs both positively and negatively in binary clauses to balance the search tree. We compare the duet Sat i0 and Sat i1 (i=2, 3, 4) and observe that Sat i1 examines strictly fewer variables than Sat i0 and is faster than it in spite of a slightly larger search tree. In particular, Sat 41 and Sat 40 examine almost the same number of variables (see Figure 6), but the balanced restriction gives a faster DPL procedure. We pay special attention to 31 and 41 since they seem to be the best balanced restrictions. 4.3 Dynamic restriction as a function of search tree depth Sat 3141 realizes this restriction. A general observation when solving 3-SAT problems using a DPL procedure is that there are more and more binary clauses when descending from the search tree root and the denotational semantics of a predicate such as 31 becomes larger and larger. Furthermore, the nodes are more numerous near the leaves and the branching variables play a less important role there. It appeared that one could restrict more the variables to be examined by unit propagation near the leaves without important loss on the search tree size so as to obtain some gain in terms of real run time. POSIT's UP heuristic (called BCP-based heuristic) [Freeman, 1995] realizes this idea: under the level 9 of a search tree, at most 10 variables are examined by unit propagation. Sat 3141 uses 31 from the top of a search tree, but under the depth empirically xed to n 4=70, it uses 41, where n is the numberofvariables in the initial input 3-SAT problem. Note that if n 160, n 4=70 9, so Sat 3141 generally strengthens the restriction later than POSIT. From Figures 4 and 5 Sat 3141 is not better than Sat 31, although it makes many fewer unit propagations to examine variables (see Figure 6), suggesting that the search tree depth is rather irrelevant to the restriction of UP heuristics. 4.4 Dynamic restriction by number of variables to be examined The relatively poor performance of Sat 42 seems due to the small number of variables examined at each node (see Figure 6), though these variables have many binary occurrences. A careful analysis shows that even Sat 31, the best one up to now, examines few or no variables at some nodes, especially near the root where there are few binary clauses, although these nodes are more determinant for the nal search tree size. z is then introduced to ensure that at least T variables are examined at each node, T being empirically xed to 10. Near the root, all free variables are examined to exploit the full power of UP heuristic. As soon as the number of variables occurring both negatively and positively in binary clauses and having at least 4 (3) binary occurrences is larger than T, only these variables are examined to select the next branching variable. 5 Related Work C-SAT [Dubois et al., 1993] examines some variables by unit propagations (called local processing) near the bottom of a search tree to rapidly detect failed literals there. Pretolani also uses a similar approach (called pruning method) based on hypergraphs in H2R [Pretolani, 1993]. But the local processing and the pruning method as are respectively presented in [Dubois et al., 1993] and [Pretolani, 1993] do not contribute to the heuristic to select the next branching variable. We nd the rst eective exploitation of UP heuristic in POSIT [Freeman, 1995]

5 and Tableau [Crawford and Auton, 1996] which use a similar idea as in C-SAT to determine the variables to be examined at a node by unit propagation: x is to be examined i x is among the k most weighted variables by a Mom's heuristic. The main dierence of Satz with Tableau and POSIT is that Satz does not specify a upper bound k of the number of variables to be examined at a node by unit propagation. Instead, Satz species a lower bound. In fact, Satz examines many more variables by an optimal combination of unit propagation and Mom's heuristics. Given the depth of a node, Table 1 illustrates the average numberofvariables examined (#examined vars) at the node by Satz, with the depth of the root being 0. In order to compare with C-SAT, Tableau and POSIT we also give the theoretical value of k C (for C-SAT), k T (for Tableau) and k P (for POSIT) at the node, respectively according to the denitions of k in [Dubois et al., 1993 Crawford and Auton, 1996 Freeman, 1995]. depth #free vars #examined vars k C k T k P or or or or or or or or or or or or or or or 3 Table 1: Average number of variables examined in Satz at a node in a given depth when solving a hard random 3- SAT problem of 300 variables and 1275 clauses (500 problems are solved) compared with theoretical value of k in C-SAT, Tableau and POSIT It is clear that Satz examines many more variables at each node than any of C-SAT, Tableau or POSIT. Near the root, Satz examines all free variables. Elsewhere Satz examines a sucient number (T )ofvariables. We compare C-SAT, Tableau, POSIT and Satz on a large sample of hard random 3-SAT problems on a SUN Sparc 20 workstation with a 125 MHz CPU. The 3-SAT problems are generated from 3 sets of n variables and m clauses at the ratio m=n =4:25, n steping from 300 variables to 400 variables by 50. We use an executable of C-SAT dated July The versionoftableau used here is called 3tab and is the same used for the experimentation presented in [Crawford and Auton, 1996]. POSIT is compiled using the provided make command on the SUN Sparc 20 workstation from the sources named posit-1:0:tar:gz 1.Table 2 shows the performances of the 4 DPL procedures on problems of 300, 350, and 400 variables, where time standing for the real mean run time is reported by the unix command /usr/bin/time and t size standing for search tree size (number of nodes) is reported (or computed from number of branches reported) by the DPL procedures. 300 vars 350 vars 400 vars 300 problems 250 problems 100 problems System time t size time t size time t size C-SAT Tableau POSIT Satz Table 2: Mean run time (in second) and mean search tree size of C-SAT, Tableau, POSIT and Satz on ratio m=n=4.25 Table 2 shows that Satz is faster than the above cited versions of C-SAT, Tableau and POSIT, Satz's search tree size is the smallest, and Satz's run time and search tree size grow more slowly. Table 3 shows the gain of Satz compared with the cited version of C-SAT, Tableau and POSIT at the ratio m=n=4.25. Each item is computed from Table 2 using the following equation: gain =(value(system)=value(satz) ; 1) 100% where value is real mean run time or real mean search tree size and system is C-SAT, Tableau or POSIT. From Table 3, it is clear that the gain of Satz grows with the size of the input formula. 300 vars 350 vars 400 vars 300 problems 250 problems 100 problems System time t size time t size time t size C-SAT 126% 51% 152% 58% 216% 77% Tableau 132% 31% 175% 45% 276% 66% POSIT 68% 89% 133% 130% 198% 200% Table 3: The gain of Satz vs. C-SAT, Tableau and POSIT in terms of run time and search tree size on the ratio m=n=4.25 computed from Table 2 The central strategy of Satz is to try to reach an empty clause as early as possible. Further along the line, we make two relatively small resolvents-driven improvements in Satz. The rst improvement is the preprocessing of the input formula by adding some resolvents of length 3, The second improvement consists in rening yet more the heuristic H in the nodes where all free variables are examined by unit propagation. Refer to Figure 2, when z is equal to 0 we dene w(x) as the number of resolvents the newly produced binary clauses would result in in F 0 by a single step of resolution. w(x) is similarly dened. 1 publicly available via anonymous ftp to ftp.cis.upenn.edu in pub/freeman/ directory

6 Satz improved in this way solves many real-world or structured SAT problems where previous heuristics were not successful. For example, Table 4 shows the performance of the 4 DPL procedures on the well-known Beijing challenging problems 2, where a problem that can not be solved in less than 2 hours is marked by "> 7200" and the version of Tableau is called ntab 3. It is clear that Satz is much more ecient and solves many more problems in less than two hours. Problem Satz C-SAT Posit ntab 2bitadd 10 > 7200 > 7200 > 7200 > bitadd > > bitadd > bitcomp bitmax bitadd 31 > 7200 > 7200 > 7200 > bitadd > 7200 > 7200 > blocks blocksb > blocks 1542 > 7200 > 7200 > 7200 e0ddr2-10-by > 7200 > 7200 > 7200 e0ddr2-10-by > enddr2-10-by-5-1 > 7200 > 7200 > 7200 > 7200 enddr2-10-by > 7200 > ewddr2-10-by > > 7200 ewddr2-10-by > 7200 > Table 4: Run time (in sec.) of Beijing challenging problems 6 Conclusion We found that UP heuristic is substantially better than Mom's one even in its pure form realized by 0 where all free variables are examined at all nodes. In its restricted forms based on combinations of unit propagation and Mom's heuristics, the more variables are examined, the smaller the search tree is, conrming the advantages of UP heuristic, but too many unit propagations slow the execution. The combinations realized by 41 and 31 represent good compromises. A dynamic restriction such as 3141 which strengthens the restriction under a xed depth of a search tree fails to work better than the static restriction 31.We design the dynamic restriction along another line: z ensures that at least T candidates are examined by unit propagation at every node of a search tree by successively using 41, 31 and 0, giving the very ecient and very simple DPL procedure called Satz. Satz is favorably compared with several current stateof-the-art DPL implementations (C-SAT, Tableau and POSIT) on a large sample of hard random 3-SAT problems and the recent Beijing SAT benchmarks. The good performance of Satz on the structured or real-world SAT problems shows that UP heuristic can tackle new problems or problem domains where Mom's heuristics were not successful and enhances the belief that if a DPL procedure is ecient for random SAT problems, it should be also ecient for a lot of structured ones. Acknowledgments We thank Olivier Dubois, James M. Crawford and Jon W. Freeman for kindly providing us their DPL procedures and anonymous referees for their comments which helped improve this paper. References [Chvatal and Szemeredi, 1988] V. Chvatal and E. Szemeredi. Many Hard Examples for Resolution. Journal of ACM, 35(4):759{768, October [Cook, 1971] S. A. Cook. The Complexity of Theorem Proving Procedures. In 3rd ACM Symp. on Theory of Computing, pages , Ohio, [Crawford and Auton, 1996] J. M. Crawford and L. D. Auton. Experimental Results on the Crossover Point in Random 3-SAT. Articial Intelligence, 81, [Davis et al., 1962] M. Davis, G. Logemann, and D. Loveland. A machine program for theorem proving. Communication of ACM, 5(7): , July [Dubois et al., 1993] Olivier Dubois, P. Andre, Y. Boufkhad and Jacques Carlier. SAT versus UNSAT. Second DIMACS Challenge: Cliques, Coloring and Satisability, Rutgers University, NJ, [Freeman, 1995] Jon W. Freeman. Improvements to Propositional Satisability Search Algorithms. Ph.D. thesis, Department of computer and Information science, Univ. of Pennsylvania, Philadelphia, PA, [Hooker and Vinay, 1995] J. N. Hooker and V. Vinay. Branching Rules for Satisability. Journal of Automated Reasoning, 15: , [Jeroslow andwang, 1990] R. Jeroslow and J. Wang. Solving Propositional Satisability Problems. Annals of Mathematics and AI, 1: , [Li, 1996] ChuMin LI. Exploiting Yet More the Power of Unit Clause Propagation to Solve 3-SAT Problem. In ECAI'96 Workshop on Advances in Propositional Deduction, pages 11-16, Budapest, Hungary, [Mitchell et al., 1992] D. Mitchell, B. Selman, H. Levesque. Hard and Easy Distributions of SAT Problems. In AAAI'92, pages 459{465, San Jose, CA, [Pretolani, 1993] Daniele Pretolani. Satisability and hypergraphs. Ph.D. thesis, Dipartimento di Informatica, Universita di Pisa, available from 3 available from

Look-Ahead Versus Look-Back for Satisability. Problems. Chu Min Li and Anbulagan. LaRIA, Universite de Picardie Jules Verne

Look-Ahead Versus Look-Back for Satisability. Problems. Chu Min Li and Anbulagan. LaRIA, Universite de Picardie Jules Verne Look-Ahead Versus Look-Back for Satisability Problems Chu Min Li and Anbulagan LaRIA, Universite de Picardie Jules Verne 33, Rue St. Leu, 80039 Amiens Cedex 01, France tel: (33) 3 22 82 78 75, fax: (33)

More information

Dynamic Variable Filtering for Hard Random 3-SAT Problems

Dynamic Variable Filtering for Hard Random 3-SAT Problems Dynamic Variable Filtering for Hard Random 3-SAT Problems Anbulagan, John Thornton, and Abdul Sattar School of Information Technology Gold Coast Campus, Griffith University PMB 50 Gold Coast Mail Centre,

More information

The Impact of Branching Heuristics in Propositional Satisfiability Algorithms

The Impact of Branching Heuristics in Propositional Satisfiability Algorithms The Impact of Branching Heuristics in Propositional Satisfiability Algorithms João Marques-Silva Technical University of Lisbon, IST/INESC, Lisbon, Portugal jpms@inesc.pt URL: http://algos.inesc.pt/~jpms

More information

Boolean Functions (Formulas) and Propositional Logic

Boolean Functions (Formulas) and Propositional Logic EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Part I: Basics Sanjit A. Seshia EECS, UC Berkeley Boolean Functions (Formulas) and Propositional Logic Variables: x 1, x 2, x 3,, x

More information

Hybrid Algorithms for SAT. Irina Rish and Rina Dechter.

Hybrid Algorithms for SAT. Irina Rish and Rina Dechter. To Guess or to Think? Hybrid Algorithms for SAT Irina Rish and Rina Dechter Information and Computer Science University of California, Irvine fdechter,irinarg@ics.uci.edu http://www.ics.uci.edu/f~irinar,~dechterg

More information

Satisfiability. Michail G. Lagoudakis. Department of Computer Science Duke University Durham, NC SATISFIABILITY

Satisfiability. Michail G. Lagoudakis. Department of Computer Science Duke University Durham, NC SATISFIABILITY Satisfiability Michail G. Lagoudakis Department of Computer Science Duke University Durham, NC 27708 COMPSCI 271 - Spring 2001 DUKE UNIVERSITY Page 1 Why SAT? Historical Reasons The first NP-COMPLETE problem

More information

of m clauses, each containing the disjunction of boolean variables from a nite set V = fv 1 ; : : : ; vng of size n [8]. Each variable occurrence with

of m clauses, each containing the disjunction of boolean variables from a nite set V = fv 1 ; : : : ; vng of size n [8]. Each variable occurrence with A Hybridised 3-SAT Algorithm Andrew Slater Automated Reasoning Project, Computer Sciences Laboratory, RSISE, Australian National University, 0200, Canberra Andrew.Slater@anu.edu.au April 9, 1999 1 Introduction

More information

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Sanjit A. Seshia EECS, UC Berkeley Project Proposals Due Friday, February 13 on bcourses Will discuss project topics on Monday Instructions

More information

The Scaling of Search Cost. Ian P. Gent and Ewan MacIntyre and Patrick Prosser and Toby Walsh.

The Scaling of Search Cost. Ian P. Gent and Ewan MacIntyre and Patrick Prosser and Toby Walsh. The Scaling of Search Cost Ian P. Gent and Ewan MacIntyre and Patrick Prosser and Toby Walsh Apes Research Group, Department of Computer Science, University of Strathclyde, Glasgow G XH, Scotland Email:

More information

EECS 219C: Formal Methods Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley

EECS 219C: Formal Methods Boolean Satisfiability Solving. Sanjit A. Seshia EECS, UC Berkeley EECS 219C: Formal Methods Boolean Satisfiability Solving Sanjit A. Seshia EECS, UC Berkeley The Boolean Satisfiability Problem (SAT) Given: A Boolean formula F(x 1, x 2, x 3,, x n ) Can F evaluate to 1

More information

Better test results for the graph coloring and the Pigeonhole Problems using DPLL with k-literal representation

Better test results for the graph coloring and the Pigeonhole Problems using DPLL with k-literal representation Proceedings of the 7 th International Conference on Applied Informatics Eger, Hungary, January 28 31, 2007. Vol. 2. pp. 127 135. Better test results for the graph coloring and the Pigeonhole Problems using

More information

CS-E3200 Discrete Models and Search

CS-E3200 Discrete Models and Search Shahab Tasharrofi Department of Information and Computer Science, Aalto University Lecture 7: Complete and local search methods for SAT Outline Algorithms for solving Boolean satisfiability problems Complete

More information

Kalev Kask and Rina Dechter. Department of Information and Computer Science. University of California, Irvine, CA

Kalev Kask and Rina Dechter. Department of Information and Computer Science. University of California, Irvine, CA GSAT and Local Consistency 3 Kalev Kask and Rina Dechter Department of Information and Computer Science University of California, Irvine, CA 92717-3425 fkkask,dechterg@ics.uci.edu Abstract It has been

More information

An Overview of Backtrack Search Satisfiability Algorithms

An Overview of Backtrack Search Satisfiability Algorithms An Overview of Backtrack Search Satisfiability Algorithms João P. Marques Silva Cadence European Laboratories IST/INESC 1000 Lisboa, Portugal Tel: 351-1-3100387 e-mail: jpms@inesc.pt Abstract Propositional

More information

Lookahead Saturation with Restriction for SAT

Lookahead Saturation with Restriction for SAT Lookahead Saturation with Restriction for SAT Anbulagan 1 and John Slaney 1,2 1 Logic and Computation Program, National ICT Australia Ltd., Canberra, Australia 2 Computer Sciences Laboratory, Australian

More information

A Simplied NP-complete MAXSAT Problem. Abstract. It is shown that the MAX2SAT problem is NP-complete even if every variable

A Simplied NP-complete MAXSAT Problem. Abstract. It is shown that the MAX2SAT problem is NP-complete even if every variable A Simplied NP-complete MAXSAT Problem Venkatesh Raman 1, B. Ravikumar 2 and S. Srinivasa Rao 1 1 The Institute of Mathematical Sciences, C. I. T. Campus, Chennai 600 113. India 2 Department of Computer

More information

Full CNF Encoding: The Counting Constraints Case

Full CNF Encoding: The Counting Constraints Case Full CNF Encoding: The Counting Constraints Case Olivier Bailleux 1 and Yacine Boufkhad 2 1 LERSIA, Université de Bourgogne Avenue Alain Savary, BP 47870 21078 Dijon Cedex olivier.bailleux@u-bourgogne.fr

More information

Multi Domain Logic and its Applications to SAT

Multi Domain Logic and its Applications to SAT Multi Domain Logic and its Applications to SAT Tudor Jebelean RISC Linz, Austria Tudor.Jebelean@risc.uni-linz.ac.at Gábor Kusper Eszterházy Károly College gkusper@aries.ektf.hu Abstract We describe a new

More information

Adding a New Conflict Based Branching Heuristic in two Evolved DPLL SAT Solvers

Adding a New Conflict Based Branching Heuristic in two Evolved DPLL SAT Solvers Adding a New Conflict Based Branching Heuristic in two Evolved DPLL SAT Solvers Renato Bruni, Andrea Santori Università di Roma La Sapienza, Dip. di Informatica e Sistemistica, Via Michelangelo Buonarroti

More information

Massively Parallel Seesaw Search for MAX-SAT

Massively Parallel Seesaw Search for MAX-SAT Massively Parallel Seesaw Search for MAX-SAT Harshad Paradkar Rochester Institute of Technology hp7212@rit.edu Prof. Alan Kaminsky (Advisor) Rochester Institute of Technology ark@cs.rit.edu Abstract The

More information

GSAT and Local Consistency

GSAT and Local Consistency GSAT and Local Consistency Kalev Kask Computer Science Department University of California at Irvine Irvine, CA 92717 USA Rina Dechter Computer Science Department University of California at Irvine Irvine,

More information

Solving 3-SAT. Radboud University Nijmegen. Bachelor Thesis. Supervisors: Henk Barendregt Alexandra Silva. Author: Peter Maandag s

Solving 3-SAT. Radboud University Nijmegen. Bachelor Thesis. Supervisors: Henk Barendregt Alexandra Silva. Author: Peter Maandag s Solving 3-SAT Radboud University Nijmegen Bachelor Thesis Author: Peter Maandag s3047121 Supervisors: Henk Barendregt Alexandra Silva July 2, 2012 Contents 1 Introduction 2 1.1 Problem context............................

More information

Normal Forms for Boolean Expressions

Normal Forms for Boolean Expressions Normal Forms for Boolean Expressions A NORMAL FORM defines a class expressions s.t. a. Satisfy certain structural properties b. Are usually universal: able to express every boolean function 1. Disjunctive

More information

An Introduction to SAT Solvers

An Introduction to SAT Solvers An Introduction to SAT Solvers Knowles Atchison, Jr. Fall 2012 Johns Hopkins University Computational Complexity Research Paper December 11, 2012 Abstract As the first known example of an NP Complete problem,

More information

Heuristic Backtracking Algorithms for SAT

Heuristic Backtracking Algorithms for SAT Heuristic Backtracking Algorithms for SAT A. Bhalla, I. Lynce, J.T. de Sousa and J. Marques-Silva IST/INESC-ID, Technical University of Lisbon, Portugal fateet,ines,jts,jpmsg@sat.inesc.pt Abstract In recent

More information

quasigroup problems has been demonstrated in [16, 7, 14]. We think these quasigroup problems are much better benchmarks than randomly generated SAT pr

quasigroup problems has been demonstrated in [16, 7, 14]. We think these quasigroup problems are much better benchmarks than randomly generated SAT pr Implementing the Davis-Putnam Algorithm by Tries Hantao Zhang Computer Science Department The University of Iowa Iowa City, IA 52242 hzhang@cs.uiowa.edu Mark E. Stickel y Articial Intelligence Center SRI

More information

algorithms, i.e., they attempt to construct a solution piece by piece and are not able to offer a complete solution until the end. The FM algorithm, l

algorithms, i.e., they attempt to construct a solution piece by piece and are not able to offer a complete solution until the end. The FM algorithm, l The FMSAT Satisfiability Solver: Hypergraph Partitioning meets Boolean Satisfiability Arathi Ramani, Igor Markov framania, imarkovg@eecs.umich.edu February 6, 2002 Abstract This report is intended to present

More information

Practical SAT Solving

Practical SAT Solving Practical SAT Solving Lecture 5 Carsten Sinz, Tomáš Balyo May 23, 2016 INSTITUTE FOR THEORETICAL COMPUTER SCIENCE KIT University of the State of Baden-Wuerttemberg and National Laboratory of the Helmholtz

More information

Using CSP Look-Back Techniques to Solve Real-World SAT Instances

Using CSP Look-Back Techniques to Solve Real-World SAT Instances Using CSP Look-Back Techniques to Solve Real-World SAT Instances Roberto J. Bayardo Jr. The University of Texas at Austin Department of Computer Sciences (C0500) Austin, TX 78712 USA bayardo@cs.utexas.edu

More information

An Analysis and Comparison of Satisfiability Solving Techniques

An Analysis and Comparison of Satisfiability Solving Techniques An Analysis and Comparison of Satisfiability Solving Techniques Ankur Jain, Harsha V. Madhyastha, Craig M. Prince Department of Computer Science and Engineering University of Washington Seattle, WA 98195

More information

Foundations of AI. 8. Satisfiability and Model Construction. Davis-Putnam, Phase Transitions, GSAT and GWSAT. Wolfram Burgard & Bernhard Nebel

Foundations of AI. 8. Satisfiability and Model Construction. Davis-Putnam, Phase Transitions, GSAT and GWSAT. Wolfram Burgard & Bernhard Nebel Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT and GWSAT Wolfram Burgard & Bernhard Nebel Contents Motivation Davis-Putnam Procedure Average complexity

More information

Learning Techniques for Pseudo-Boolean Solving and Optimization

Learning Techniques for Pseudo-Boolean Solving and Optimization Learning Techniques for Pseudo-Boolean Solving and Optimization José Faustino Fragoso Fremenin dos Santos September 29, 2008 Abstract The extension of conflict-based learning from Propositional Satisfiability

More information

SAT Solvers. Ranjit Jhala, UC San Diego. April 9, 2013

SAT Solvers. Ranjit Jhala, UC San Diego. April 9, 2013 SAT Solvers Ranjit Jhala, UC San Diego April 9, 2013 Decision Procedures We will look very closely at the following 1. Propositional Logic 2. Theory of Equality 3. Theory of Uninterpreted Functions 4.

More information

In search of the best constraint satisfaction search 3. Daniel Frost and Rina Dechter.

In search of the best constraint satisfaction search 3. Daniel Frost and Rina Dechter. In search of the best constraint satisfaction search 3 Daniel Frost and Rina Dechter Dept. of Information and Computer Science University of California, Irvine, CA 92717 fdfrost,dechterg@ics.uci.edu Abstract

More information

DM841 DISCRETE OPTIMIZATION. Part 2 Heuristics. Satisfiability. Marco Chiarandini

DM841 DISCRETE OPTIMIZATION. Part 2 Heuristics. Satisfiability. Marco Chiarandini DM841 DISCRETE OPTIMIZATION Part 2 Heuristics Satisfiability Marco Chiarandini Department of Mathematics & Computer Science University of Southern Denmark Outline 1. Mathematical Programming Constraint

More information

Localization in Graphs. Richardson, TX Azriel Rosenfeld. Center for Automation Research. College Park, MD

Localization in Graphs. Richardson, TX Azriel Rosenfeld. Center for Automation Research. College Park, MD CAR-TR-728 CS-TR-3326 UMIACS-TR-94-92 Samir Khuller Department of Computer Science Institute for Advanced Computer Studies University of Maryland College Park, MD 20742-3255 Localization in Graphs Azriel

More information

Tractable Cover Compilations*

Tractable Cover Compilations* I Tractable Cover Compilations* Yacine Boufkhad 1, Eric Gregoire 2, Pierre Marquis 2, 1 LIP6 Bertrand Mazure 2, Lakhdar Sais 2,3 CRIL 3 IUT de Lens University Paris 6 University d'artois 4, place Jussieu

More information

March dl: Adding Adaptive Heuristics and a New Branching Strategy

March dl: Adding Adaptive Heuristics and a New Branching Strategy Journal on Satisfiability, Boolean Modeling and Computation 2 (2006) 47-59 March dl: Adding Adaptive Heuristics and a New Branching Strategy Marijn J.H. Heule m.j.h.heule@ewi.tudelft.nl Hans van Maaren

More information

Chapter 2 PRELIMINARIES

Chapter 2 PRELIMINARIES 8 Chapter 2 PRELIMINARIES Throughout this thesis, we work with propositional or Boolean variables, that is, variables that take value in the set {true, false}. A propositional formula F representing a

More information

space. We will apply the idea of enforcing local consistency to GSAT with the hope that its performance can

space. We will apply the idea of enforcing local consistency to GSAT with the hope that its performance can GSAT and Local Consistency 3 Kalev Kask Computer Science Department University of California at Irvine Irvine, CA 92717 USA Rina Dechter Computer Science Department University of California at Irvine Irvine,

More information

Solving Non-Boolean Satisfiability Problems with the Davis-Putnam Method. Peter G. Stock

Solving Non-Boolean Satisfiability Problems with the Davis-Putnam Method. Peter G. Stock Solving Non-Boolean Satisfiability Problems with the Davis-Putnam Method Peter G. Stock October 1999 March 2000 Abstract The Davis-Putnam method has received recent attention for its ability to solve large

More information

Journal of Global Optimization, 10, 1{40 (1997) A Discrete Lagrangian-Based Global-Search. Method for Solving Satisability Problems *

Journal of Global Optimization, 10, 1{40 (1997) A Discrete Lagrangian-Based Global-Search. Method for Solving Satisability Problems * Journal of Global Optimization, 10, 1{40 (1997) c 1997 Kluwer Academic Publishers, Boston. Manufactured in The Netherlands. A Discrete Lagrangian-Based Global-Search Method for Solving Satisability Problems

More information

v b) Λ (a v b) Λ (a v b) AND a v b a _ v b v b

v b) Λ (a v b) Λ (a v b) AND a v b a _ v b v b A NN Algorithm for Boolean Satisability Problems William M. Spears AI Center - Code 5514 Naval Research Laboratory Washington, D.C. 20375-5320 202-767-9006 (W) 202-767-3172 (Fax) spears@aic.nrl.navy.mil

More information

Algebraic Properties of CSP Model Operators? Y.C. Law and J.H.M. Lee. The Chinese University of Hong Kong.

Algebraic Properties of CSP Model Operators? Y.C. Law and J.H.M. Lee. The Chinese University of Hong Kong. Algebraic Properties of CSP Model Operators? Y.C. Law and J.H.M. Lee Department of Computer Science and Engineering The Chinese University of Hong Kong Shatin, N.T., Hong Kong SAR, China fyclaw,jleeg@cse.cuhk.edu.hk

More information

Constraint Satisfaction Problems

Constraint Satisfaction Problems Constraint Satisfaction Problems Tuomas Sandholm Carnegie Mellon University Computer Science Department [Read Chapter 6 of Russell & Norvig] Constraint satisfaction problems (CSPs) Standard search problem:

More information

where is a constant, 0 < <. In other words, the ratio between the shortest and longest paths from a node to a leaf is at least. An BB-tree allows ecie

where is a constant, 0 < <. In other words, the ratio between the shortest and longest paths from a node to a leaf is at least. An BB-tree allows ecie Maintaining -balanced Trees by Partial Rebuilding Arne Andersson Department of Computer Science Lund University Box 8 S-22 00 Lund Sweden Abstract The balance criterion dening the class of -balanced trees

More information

Example: Map coloring

Example: Map coloring Today s s lecture Local Search Lecture 7: Search - 6 Heuristic Repair CSP and 3-SAT Solving CSPs using Systematic Search. Victor Lesser CMPSCI 683 Fall 2004 The relationship between problem structure and

More information

The temporal explorer who returns to the base 1

The temporal explorer who returns to the base 1 The temporal explorer who returns to the base 1 Eleni C. Akrida, George B. Mertzios, and Paul G. Spirakis, Department of Computer Science, University of Liverpool, UK Department of Computer Science, Durham

More information

On the Relation between SAT and BDDs for Equivalence Checking

On the Relation between SAT and BDDs for Equivalence Checking On the Relation between SAT and BDDs for Equivalence Checking Sherief Reda 1 Rolf Drechsler 2 Alex Orailoglu 1 1 Computer Science & Engineering Department University of California, San Diego La Jolla,

More information

A two phase exact algorithm for MAX SAT and. weighted MAX SAT problems *

A two phase exact algorithm for MAX SAT and. weighted MAX SAT problems * A two phase exact algorithm for MAX SAT and weighted MAX SAT problems * Brian BorchersJr Judith Furmanl March 31, 1997 Abstract We describe a two phase algorithm for MAX SAT and weighted MAX oat problems.

More information

A Pearl on SAT Solving in Prolog (extended abstract)

A Pearl on SAT Solving in Prolog (extended abstract) A Pearl on SAT Solving in Prolog (extended abstract) Jacob M. Howe and Andy King 1 Introduction The Boolean satisfiability problem, SAT, is of continuing interest because a variety of problems are naturally

More information

New Worst-Case Upper Bound for #2-SAT and #3-SAT with the Number of Clauses as the Parameter

New Worst-Case Upper Bound for #2-SAT and #3-SAT with the Number of Clauses as the Parameter Proceedings of the Twenty-Fourth AAAI Conference on Artificial Intelligence (AAAI-10) New Worst-Case Upper Bound for #2-SAT and #3-SAT with the Number of Clauses as the Parameter Junping Zhou 1,2, Minghao

More information

3.1 Description of Algorithm

3.1 Description of Algorithm Solving Hard Satisability Problems: A Unied Algorithm Based On Discrete Lagrange Multipliers Zhe Wu and Benjamin W. Wah Department of Electrical and Computer Engineering and the Coordinated Science Laboratory

More information

Modelling More Realistic SAT Problems

Modelling More Realistic SAT Problems Modelling More Realistic SAT Problems Andrew Slater Computer Sciences Laboratory, Australian National University, 0200, Canberra andrew.slater@cslab.anu.edu.au Abstract. The satisfiability problem is widely

More information

Discrete Lagrangian-Based Search for Solving MAX-SAT Problems. Benjamin W. Wah and Yi Shang West Main Street. Urbana, IL 61801, USA

Discrete Lagrangian-Based Search for Solving MAX-SAT Problems. Benjamin W. Wah and Yi Shang West Main Street. Urbana, IL 61801, USA To appear: 15th International Joint Conference on Articial Intelligence, 1997 Discrete Lagrangian-Based Search for Solving MAX-SAT Problems Abstract Weighted maximum satisability problems (MAX-SAT) are

More information

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action.

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action. Planning as Search State Space Plan Space Algorihtm Progression Regression Partial-Order causal link: UCPOP Node World State Set of Partial Plans World States Edge Apply Action If prec satisfied, Add adds,

More information

Speeding Up the ESG Algorithm

Speeding Up the ESG Algorithm Speeding Up the ESG Algorithm Yousef Kilani 1 and Abdullah. Mohdzin 2 1 Prince Hussein bin Abdullah Information Technology College, Al Al-Bayt University, Jordan 2 Faculty of Information Science and Technology,

More information

Enumeration of Full Graphs: Onset of the Asymptotic Region. Department of Mathematics. Massachusetts Institute of Technology. Cambridge, MA 02139

Enumeration of Full Graphs: Onset of the Asymptotic Region. Department of Mathematics. Massachusetts Institute of Technology. Cambridge, MA 02139 Enumeration of Full Graphs: Onset of the Asymptotic Region L. J. Cowen D. J. Kleitman y F. Lasaga D. E. Sussman Department of Mathematics Massachusetts Institute of Technology Cambridge, MA 02139 Abstract

More information

The Resolution Algorithm

The Resolution Algorithm The Resolution Algorithm Introduction In this lecture we introduce the Resolution algorithm for solving instances of the NP-complete CNF- SAT decision problem. Although the algorithm does not run in polynomial

More information

Enhancing Davis Putnam with Extended Binary Clause Reasoning

Enhancing Davis Putnam with Extended Binary Clause Reasoning From: AAAI-02 Proceedings. Copyright 2002, AAAI (www.aaai.org). All rights reserved. Enhancing Davis Putnam with Extended Binary Clause Reasoning Fahiem Bacchus Dept. Of Computer Science University Of

More information

size, runs an existing induction algorithm on the rst subset to obtain a rst set of rules, and then processes each of the remaining data subsets at a

size, runs an existing induction algorithm on the rst subset to obtain a rst set of rules, and then processes each of the remaining data subsets at a Multi-Layer Incremental Induction Xindong Wu and William H.W. Lo School of Computer Science and Software Ebgineering Monash University 900 Dandenong Road Melbourne, VIC 3145, Australia Email: xindong@computer.org

More information

A Stochastic Non-CNF SAT Solver

A Stochastic Non-CNF SAT Solver A Stochastic Non-CNF SAT Solver Rafiq Muhammad and Peter J. Stuckey NICTA Victoria Laboratory, Department of Computer Science and Software Engineering, The University of Melbourne, Victoria 3010, Australia

More information

4.1 Review - the DPLL procedure

4.1 Review - the DPLL procedure Applied Logic Lecture 4: Efficient SAT solving CS 4860 Spring 2009 Thursday, January 29, 2009 The main purpose of these notes is to help me organize the material that I used to teach today s lecture. They

More information

QuteSat. A Robust Circuit-Based SAT Solver for Complex Circuit Structure. Chung-Yang (Ric) Huang National Taiwan University

QuteSat. A Robust Circuit-Based SAT Solver for Complex Circuit Structure. Chung-Yang (Ric) Huang National Taiwan University QuteSat A Robust Circuit-Based SAT Solver for Complex Circuit Structure Chung-Yang (Ric) Huang National Taiwan University To appear: DATE 27 2/1/27 Fact Sheet (Background) Boolean Satisfiability (SAT)

More information

Boolean Representations and Combinatorial Equivalence

Boolean Representations and Combinatorial Equivalence Chapter 2 Boolean Representations and Combinatorial Equivalence This chapter introduces different representations of Boolean functions. It then discusses the applications of these representations for proving

More information

DIMACS Series in Discrete Mathematics and Theoretical Computer Science A Space-Ecient Randomized DNA Algorithm for k-sat Kevin Chen and Vijay Ramachan

DIMACS Series in Discrete Mathematics and Theoretical Computer Science A Space-Ecient Randomized DNA Algorithm for k-sat Kevin Chen and Vijay Ramachan DIMACS Series in Discrete Mathematics and Theoretical Computer Science A Space-Ecient Randomized DNA Algorithm for k-sat Kevin Chen and Vijay Ramachandran Abstract. We present a randomized DNA algorithm

More information

Implementations of Dijkstra's Algorithm. Based on Multi-Level Buckets. November Abstract

Implementations of Dijkstra's Algorithm. Based on Multi-Level Buckets. November Abstract Implementations of Dijkstra's Algorithm Based on Multi-Level Buckets Andrew V. Goldberg NEC Research Institute 4 Independence Way Princeton, NJ 08540 avg@research.nj.nec.com Craig Silverstein Computer

More information

P Is Not Equal to NP. ScholarlyCommons. University of Pennsylvania. Jon Freeman University of Pennsylvania. October 1989

P Is Not Equal to NP. ScholarlyCommons. University of Pennsylvania. Jon Freeman University of Pennsylvania. October 1989 University of Pennsylvania ScholarlyCommons Technical Reports (CIS) Department of Computer & Information Science October 1989 P Is Not Equal to NP Jon Freeman University of Pennsylvania Follow this and

More information

Solving MAX-SAT and Weighted MAX-SAT. Problems Using Branch-and-Cut. February 28, Abstract

Solving MAX-SAT and Weighted MAX-SAT. Problems Using Branch-and-Cut. February 28, Abstract Solving MAX-SAT and Weighted MAX-SAT Problems Using Branch-and-Cut Steve Joy y John E. Mitchell z Brian Borchers x February 28, 1998 Abstract We describe a branch and cut algorithm for both MAX-SAT and

More information

The Resolution Principle

The Resolution Principle Summary Introduction [Chang-Lee Ch. 5.1] for Propositional Logic [Chang-Lee Ch. 5.2] Herbrand's orem and refutation procedures Satisability procedures We can build refutation procedures building on Herbrand's

More information

Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation

Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation Preprocessing in Pseudo-Boolean Optimization: An Experimental Evaluation Ruben Martins, Inês Lynce, and Vasco Manquinho IST/INESC-ID, Technical University of Lisbon, Portugal {ruben,ines,vmm}@sat.inesc-id.pt

More information

i 1 CONSTRAINT SATISFACTION METHODS FOR GENERATING VALID CUTS J. N. Hooker Graduate School of Industrial Administration Carnegie Mellon University Pittsburgh, PA 15213 USA http://www.gsia.cmu.edu/afs/andrew/gsia/jh38/jnh.html

More information

Parallel and Distributed Computing

Parallel and Distributed Computing Parallel and Distributed Computing Project Assignment MAX-SAT SOLVER Version 1.0 (07/03/2016) 2015/2016 2nd Semester CONTENTS Contents 1 Introduction 2 2 Problem Description 2 2.1 Illustrative Example...................................

More information

SAT problems with chains of dependent variables

SAT problems with chains of dependent variables Discrete Applied Mathematics 130 (2003) 329 350 www.elsevier.com/locate/dam SAT problems with chains of dependent variables Steven Prestwich Department of Computer Science, National University of Ireland

More information

On Resolution Proofs for Combinational Equivalence Checking

On Resolution Proofs for Combinational Equivalence Checking On Resolution Proofs for Combinational Equivalence Checking Satrajit Chatterjee Alan Mishchenko Robert Brayton Department of EECS U. C. Berkeley {satrajit, alanmi, brayton}@eecs.berkeley.edu Andreas Kuehlmann

More information

Implication Circuit Gclear FD LContra FD LChange x state x state GChange GContra E il E ol FSM E or E ir Figure 1: Zhong's Search Block for variable x

Implication Circuit Gclear FD LContra FD LChange x state x state GChange GContra E il E ol FSM E or E ir Figure 1: Zhong's Search Block for variable x Reducing Compilation Time of Zhong's FPGA-based SAT solver Pak K. Chan, M.J. Boyd, S. Goren, K. Klenk, V. Kodavati, R. Kundu, M. Margolese, J. Sun, K. Suzuki, E. Thorne, X. Wang, J. Xu, M. Zhu Department

More information

Finite Model Generation for Isabelle/HOL Using a SAT Solver

Finite Model Generation for Isabelle/HOL Using a SAT Solver Finite Model Generation for / Using a SAT Solver Tjark Weber webertj@in.tum.de Technische Universität München Winterhütte, März 2004 Finite Model Generation for / p.1/21 is a generic proof assistant: Highly

More information

Minimum Satisfying Assignments for SMT. Işıl Dillig, Tom Dillig Ken McMillan Alex Aiken College of William & Mary Microsoft Research Stanford U.

Minimum Satisfying Assignments for SMT. Işıl Dillig, Tom Dillig Ken McMillan Alex Aiken College of William & Mary Microsoft Research Stanford U. Minimum Satisfying Assignments for SMT Işıl Dillig, Tom Dillig Ken McMillan Alex Aiken College of William & Mary Microsoft Research Stanford U. 1 / 20 Satisfiability Modulo Theories (SMT) Today, SMT solvers

More information

Finding a winning strategy in variations of Kayles

Finding a winning strategy in variations of Kayles Finding a winning strategy in variations of Kayles Simon Prins ICA-3582809 Utrecht University, The Netherlands July 15, 2015 Abstract Kayles is a two player game played on a graph. The game can be dened

More information

Hyperplane Ranking in. Simple Genetic Algorithms. D. Whitley, K. Mathias, and L. Pyeatt. Department of Computer Science. Colorado State University

Hyperplane Ranking in. Simple Genetic Algorithms. D. Whitley, K. Mathias, and L. Pyeatt. Department of Computer Science. Colorado State University Hyperplane Ranking in Simple Genetic Algorithms D. Whitley, K. Mathias, and L. yeatt Department of Computer Science Colorado State University Fort Collins, Colorado 8523 USA whitley,mathiask,pyeatt@cs.colostate.edu

More information

A Graph-Based Method for Improving GSAT. Kalev Kask and Rina Dechter. fkkask,

A Graph-Based Method for Improving GSAT. Kalev Kask and Rina Dechter. fkkask, A Graph-Based Method for Improving GSAT Kalev Kask and Rina Dechter Department of Information and Computer Science University of California, Irvine, CA 92717 fkkask, dechterg@ics.uci.edu Abstract GSAT

More information

Optimum Alphabetic Binary Trees T. C. Hu and J. D. Morgenthaler Department of Computer Science and Engineering, School of Engineering, University of C

Optimum Alphabetic Binary Trees T. C. Hu and J. D. Morgenthaler Department of Computer Science and Engineering, School of Engineering, University of C Optimum Alphabetic Binary Trees T. C. Hu and J. D. Morgenthaler Department of Computer Science and Engineering, School of Engineering, University of California, San Diego CA 92093{0114, USA Abstract. We

More information

The Global Standard for Mobility (GSM) (see, e.g., [6], [4], [5]) yields a

The Global Standard for Mobility (GSM) (see, e.g., [6], [4], [5]) yields a Preprint 0 (2000)?{? 1 Approximation of a direction of N d in bounded coordinates Jean-Christophe Novelli a Gilles Schaeer b Florent Hivert a a Universite Paris 7 { LIAFA 2, place Jussieu - 75251 Paris

More information

2 [Ben96]. However, this study was limited to a single mapping. Since the choice of mapping can have a very large impact on our ability to solve probl

2 [Ben96]. However, this study was limited to a single mapping. Since the choice of mapping can have a very large impact on our ability to solve probl Reformulating propositional satisability as constraint satisfaction Toby Walsh University of York, York, England. tw@cs.york.ac.uk Abstract. We study how propositional satisability (SAT) problems can be

More information

Finding Rough Set Reducts with SAT

Finding Rough Set Reducts with SAT Finding Rough Set Reducts with SAT Richard Jensen 1, Qiang Shen 1 and Andrew Tuson 2 {rkj,qqs}@aber.ac.uk 1 Department of Computer Science, The University of Wales, Aberystwyth 2 Department of Computing,

More information

1.4 Normal Forms. We define conjunctions of formulas as follows: and analogously disjunctions: Literals and Clauses

1.4 Normal Forms. We define conjunctions of formulas as follows: and analogously disjunctions: Literals and Clauses 1.4 Normal Forms We define conjunctions of formulas as follows: 0 i=1 F i =. 1 i=1 F i = F 1. n+1 i=1 F i = n i=1 F i F n+1. and analogously disjunctions: 0 i=1 F i =. 1 i=1 F i = F 1. n+1 i=1 F i = n

More information

Tuning Local Search for Satisability Testing

Tuning Local Search for Satisability Testing Copyright 1996, American Association for Articial Intelligence. All rights reserved. 1 Tuning Local Search for Satisability Testing Andrew J. Parkes CIS Dept. and CIRL 1269 University of Oregon Eugene,

More information

SAT-CNF Is N P-complete

SAT-CNF Is N P-complete SAT-CNF Is N P-complete Rod Howell Kansas State University November 9, 2000 The purpose of this paper is to give a detailed presentation of an N P- completeness proof using the definition of N P given

More information

Propositional Logic. Part I

Propositional Logic. Part I Part I Propositional Logic 1 Classical Logic and the Material Conditional 1.1 Introduction 1.1.1 The first purpose of this chapter is to review classical propositional logic, including semantic tableaux.

More information

PROPOSITIONAL LOGIC (2)

PROPOSITIONAL LOGIC (2) PROPOSITIONAL LOGIC (2) based on Huth & Ruan Logic in Computer Science: Modelling and Reasoning about Systems Cambridge University Press, 2004 Russell & Norvig Artificial Intelligence: A Modern Approach

More information

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions.

NP-Hardness. We start by defining types of problem, and then move on to defining the polynomial-time reductions. CS 787: Advanced Algorithms NP-Hardness Instructor: Dieter van Melkebeek We review the concept of polynomial-time reductions, define various classes of problems including NP-complete, and show that 3-SAT

More information

Dipartimento di Elettronica Informazione e Bioingegneria. Cognitive Robotics. SATplan. Act1. Pre1. Fact. G. Gini Act2

Dipartimento di Elettronica Informazione e Bioingegneria. Cognitive Robotics. SATplan. Act1. Pre1. Fact. G. Gini Act2 Dipartimento di Elettronica Informazione e Bioingegneria Cognitive Robotics SATplan Pre1 Pre2 @ 2015 Act1 Act2 Fact why SAT (satisfability)? 2 Classical planning has been observed as a form of logical

More information

Verification of Proofs of Unsatisfiability for CNF Formulas

Verification of Proofs of Unsatisfiability for CNF Formulas Verification of Proofs of Unsatisfiability for CNF Formulas Evgueni Goldberg Cadence Berkeley Labs (USA), Email: egold@cadence.com Yakov Novikov The United Institute of Informatics Problems, National Academy

More information

9.1 Cook-Levin Theorem

9.1 Cook-Levin Theorem CS787: Advanced Algorithms Scribe: Shijin Kong and David Malec Lecturer: Shuchi Chawla Topic: NP-Completeness, Approximation Algorithms Date: 10/1/2007 As we ve already seen in the preceding lecture, two

More information

NP-Completeness. Algorithms

NP-Completeness. Algorithms NP-Completeness Algorithms The NP-Completeness Theory Objective: Identify a class of problems that are hard to solve. Exponential time is hard. Polynomial time is easy. Why: Do not try to find efficient

More information

V Advanced Data Structures

V Advanced Data Structures V Advanced Data Structures B-Trees Fibonacci Heaps 18 B-Trees B-trees are similar to RBTs, but they are better at minimizing disk I/O operations Many database systems use B-trees, or variants of them,

More information

MAX-PLANCK-INSTITUT F UR. Ordered Semantic Hyper-Linking. David A. Plaisted. MPI{I{94{235 August 1994 INFORMATIK. Im Stadtwald. D Saarbrucken

MAX-PLANCK-INSTITUT F UR. Ordered Semantic Hyper-Linking. David A. Plaisted. MPI{I{94{235 August 1994 INFORMATIK. Im Stadtwald. D Saarbrucken MAX-PLANCK-INSTITUT F UR INFORMATIK Ordered Semantic Hyper-Linking David A. Plaisted MPI{I{94{235 August 1994 k I N F O R M A T I K Im Stadtwald D 66123 Saarbrucken Germany Authors' Addresses David Plaisted

More information

ESE535: Electronic Design Automation CNF. Today CNF. 3-SAT Universal. Problem (A+B+/C)*(/B+D)*(C+/A+/E)

ESE535: Electronic Design Automation CNF. Today CNF. 3-SAT Universal. Problem (A+B+/C)*(/B+D)*(C+/A+/E) ESE535: Electronic Design Automation CNF Day 21: April 21, 2008 Modern SAT Solvers ({z}chaff, GRASP,miniSAT) Conjunctive Normal Form Logical AND of a set of clauses Product of sums Clauses: logical OR

More information

Solving Satisfiability with a Novel CPU/GPU Hybrid Solution

Solving Satisfiability with a Novel CPU/GPU Hybrid Solution Solving Satisfiability with a Novel CPU/GPU Hybrid Solution Cas Craven, Bhargavi Narayanasetty, Dan Zhang Department of Electrical & Computer Engineering University of Texas, Austin, TX 78705 {dcraven,

More information

Rearrangement of DNA fragments: a branch-and-cut algorithm Abstract. In this paper we consider a problem that arises in the process of reconstruction

Rearrangement of DNA fragments: a branch-and-cut algorithm Abstract. In this paper we consider a problem that arises in the process of reconstruction Rearrangement of DNA fragments: a branch-and-cut algorithm 1 C. E. Ferreira 1 C. C. de Souza 2 Y. Wakabayashi 1 1 Instituto de Mat. e Estatstica 2 Instituto de Computac~ao Universidade de S~ao Paulo e-mail:

More information