MiniMaxSat: : A new Weighted Solver. Federico Heras Javier Larrosa Albert Oliveras

Size: px
Start display at page:

Download "MiniMaxSat: : A new Weighted Solver. Federico Heras Javier Larrosa Albert Oliveras"

Transcription

1 MiniMaxSat: : A new Weighted Max-SAT Solver Federico Heras Javier Larrosa Albert Oliveras

2 SAT (x v y), ( y v z), ( z v w)

3 SAT (x v y), ( y v z), ( z v w) x=y=z=w=true Satisfiable

4 SAT (x), ( x v y), ( x v y v z), ( x v y v z)

5 SAT (x), ( x v y), ( x v y v z), ( x v y v z) Unsatisfiable

6 Max-SAT (x), ( x v y), ( x v y v z), ( x v y v z)

7 Max-SAT (x), ( x v y), ( x v y v z), ( x v y v z) x=y=z=true Optimum: 1

8 Weighted Max-SAT (x,5), ( x v y,6), ( x v y v z,3), ( x v y v z,7)

9 Weighted Max-SAT (x,5), ( x v y,6), ( x v y v z,3), ( x v y v z,7) x=y=true, z=false Optimum: 3

10 Overview (Weighted) Max-SAT: Given a set of weighted clauses, find an assignment of the variables such that the sum of the weights of the violated clauses is minimized. Complexity: NP-Hard Hard.

11 Overview Applications: Max-Cut Max-Clique Bayesian Networks Combinatorial Auctions Binate Covering Problem... Recent Algorithms: Focused on computing better lower boundings for Max-SAT.

12 MiniMaxSat: MiniSat: Contributions Two Watched literals. Learning and backjumping. Novel: Lower bound based on the best previous approaches. Extension of probing to Max-SAT. Pseudo boolean optimization to Max-SAT.

13 Outline Preliminaries Search Lower Bound Additional Features Empirical Results Conclusions and Future Work

14 Max-SAT Notation (C,T) (l,t) (,lb) ub Hard Clauses, otherwise soft clauses Unit propagation over hard unit clauses Lower Bound Upper Bound Hard Conflict: A hard clause is falsified. Soft Conflict: lb >= ub

15 Outline Preliminaries Search Lower Bound Additional Features Empirical Results Conclusions and Future Work

16 Search Function Search() ub:= :=LocalSearch(); Loop Propagate(); if (Hard Conflict) LearnAndBackjump (); else if (Soft Conflict) ChronoBactrack (); else if (Complete Assignment) ub=lb lb; ChronoBactrack (); else SelectLit();

17 Outline Preliminaries Search Lower Bound Additional Features Empirical Results Conclusions and Future Work

18 Previous work Inconsistent subset: Subset of clauses that cannot be satisfied simultaneously by any assignment. Hyper-resolution[Heras06]. UP lower bound [Li05].

19 Weighted Resolution (Max-RES) (x A,u), ( x B,w) (where m=min{u,w}) (A B,m), (x A,u-m), ( x B, w-m), (x A B,m), ( x A B,m) [Larrosa IJCAI 05] Complete calculus: : [Bonet[ SAT 06]

20 Weighted Resolution (Max-RES) Clashing clauses (x A,u), ( x B,w) (where m=min{u,w}) (A B,m), (x A,u-m), ( x B, w-m), (x A B,m), ( x A B,m) Resolvent Posterior clashing clauses Compensation clauses [Larrosa IJCAI 05] Complete calculus: : [Bonet[ SAT 06]

21 A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) Lower bound

22 A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) Lower bound x(a)

23 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(d) y(c) w(b) x(a)

24 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(d) y(c) w(b) x(a)

25 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) y(c) w(b) x(a)

26 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) y(c) w(b) x(a)

27 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) Conflicting clause z(e) z(d) y(c) w(b) x(a)

28 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) y(c) w(b) x(a)

29 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) y(c) w(b) x(a) E

30 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) E x v y D y(c) w(b) x(a)

31 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) E x v y D C y(c) w(b) x x(a)

32 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) E x v y D C y(c) w(b) x A x(a)

33 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) ( y v z,3) (x v y,2) (x v z,2) (x v y,t) y(c) w(b) (x,2) ( x,2) x(a) (,2) ( x v z,1), ( x v y v z,2), (x v y v z,2), (x v y,t), (x v w,1)

34 Lower bound A = ( x,2) B = (x v w,1) C = (x v y,t) D = (x v z,2) E = ( y v z,3) z(e) z(d) ( y v z,3) (x v y,2) (x v z,2) (x v y,t) Repeat the process until UP does not lead to falsify a clause y(c) w(b) x(a) (x,2) (,2) ( x,2) ( x v z,1), ( x v y v z,2), (x v y v z,2), (x v y,t), (x v w,1)

35 Patterns with non-binary clauses ( x,w 1 ), ( y, w 2 ), ( z, w 3 ), (x v y v z, w 4 ) ( x, w 1 ), (x v y, w 2 ), ( z, w 3 ), (x v y v z, w 4 ) ( x, w 1 ), (x v y, w 2 ), (x v y v z, w 3 ), (q v z, w 4 ), ( q, w 5 )

36 Outline Preliminaries Search Lower Bound Additional Features Empirical Results Conclusions and Future Work

37 Probing Add a unit clause (l,t). Simulate unit propagation. Build reslution tree. Apply Max-Sat resolution. As a result, add a new unit clause ( l,w). A = ( x v y,1) B = ( x v z,1) C = ( y v z,1) C ( x,1) B A

38 Pseudo Boolean to Max-SAT PBO: Minimization function (c 1 x 1 +c 2 x 2 + +c n x n ). Pseudo boolean constraints. To Max-SAT: Min. Function: For each term c i x i create a new unit soft clause ( x i,c i ). Pseudo boolean constraints: To hard clauses using BDDs, Sorters or Adders [Een06].

39 Branching heuristic Depending on the problem structure: Compute Jeroslow-like heuristic in the root node. Compute VSIDS-like heuristic on hard conflicts.

40 Outline Preliminaries Max-SAT Search Resolution for Max-SAT Lower Bound Additional Features Empirical Results Conclusions and Future Work

41 Results Solvers from different communities: Maxsatz: Unweighted Max-SAT solver. Max-DPLL (Toolbar): Weighted Max-SAT solver. Toolbar: WCSP solver. Pueblo: Pure pseudo-boolean optimizer. Minisat+: Translates to several instances of SAT. Pentium 4, 3 Ghz, Linux, 10 mins limit.

42 Results (Max-SAT, Max-CUT) MaxSatz MiniMaxSat Max-DPLL

43 Results (Max-Clique,Max-One) MaxClique DIMACS: 34, second Max-DPLL 29. MiniMaxSat Max-DPLL Pueblo Minisat+

44 Results (Comb. Auctions) MiniMaxSat Max-DPLL Pueblo Minisat+

45 Results WCSP direct encoding: Planning and Max-CSP PBE: Garden, Min Prime, Logic Synthesis, Miplib

46 Outline Preliminaries Max-SAT Search Resolution for Max-SAT Lower Bound Additional Features Empirical Results Conclusions and Future Work

47 Conclusions MiniMaxSat: Novel lower bound and probing. Integrates SAT and Max-SAT techniques. PBO to Max-SAT. Very robust Weighted Max-SAT solver.

48 Future Work Adapt VSIDS heuristic to soft clauses. Incorporate Backjumping over soft conflicts.

Improving Unsatisfiability-based Algorithms for Boolean Optimization

Improving Unsatisfiability-based Algorithms for Boolean Optimization Improving Unsatisfiability-based Algorithms for Boolean Optimization Vasco Manquinho Ruben Martins Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal SAT 2010, Edinburgh 1 / 27 Motivation

More information

ahmaxsat: Description and Evaluation of a Branch and Bound Max-SAT Solver

ahmaxsat: Description and Evaluation of a Branch and Bound Max-SAT Solver Journal on Satisfiability, Boolean Modeling and Computation 9 (2015) 89-128 ahmaxsat: Description and Evaluation of a Branch and Bound Max-SAT Solver André Abramé Djamal Habet Aix Marseille Université,

More information

New Inference Rules for Efficient Max-SAT Solving

New Inference Rules for Efficient Max-SAT Solving New Inference Rules for Efficient Max-SAT Solving Federico Heras and Javier Larrosa Universitat Politecnica de Catalunya Jordi Girona 1,3 Barcelona, Spain fheras@lsi.upc.edu, larrosa@lsi.upc.edu Abstract

More information

Solving (Weighted) Partial MaxSAT with ILP

Solving (Weighted) Partial MaxSAT with ILP Solving (Weighted) Partial MaxSAT with ILP Carlos Ansótegui 1 and Joel Gabàs 1 DIEI, Univ. de Lleida carlos@diei.udl.cat joel.gabas@diei.udl.cat Abstract. Several combinatorial optimization problems can

More information

Introduction to Solving Combinatorial Problems with SAT

Introduction to Solving Combinatorial Problems with SAT Introduction to Solving Combinatorial Problems with SAT Javier Larrosa December 19, 2014 Overview of the session Review of Propositional Logic The Conjunctive Normal Form (CNF) Modeling and solving combinatorial

More information

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University

Introduction Algorithms Applications MINISAT. Niklas Sörensson Chalmers University of Technology and Göteborg University SAT ALGORITHMS AND APPLICATIONS nik@cschalmersse Chalmers University of Technology and Göteborg University Empirically Successful Classical Automated Reasoning a CADE-20 Workshop 22nd - 23th July, 2005

More information

Using PMaxSat Techniques to Solve the Maximum Clique Problem

Using PMaxSat Techniques to Solve the Maximum Clique Problem Using PMaxSat Techniques to Solve the Maximum Clique Problem Alexandre Prusch Züge Renato Carmo Ricardo Tavares de Oliveira Fabiano Silva Universidade Federal do Paraná Programa de Pós-Graduação em Informática

More information

New Inference Rules for Max-SAT

New Inference Rules for Max-SAT Journal of Artificial Intelligence Research 30 (2007) 321 359 Submitted 11/06; published 10/07 New Inference Rules for Max-SAT Chu Min Li LaRIA, Université de Picardie Jules Verne 33 Rue St. Leu, 80039

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 31. Propositional Logic: DPLL Algorithm Malte Helmert and Gabriele Röger University of Basel April 24, 2017 Propositional Logic: Overview Chapter overview: propositional

More information

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving

Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving Automated Program Verification and Testing 15414/15614 Fall 2016 Lecture 3: Practical SAT Solving Matt Fredrikson mfredrik@cs.cmu.edu October 17, 2016 Matt Fredrikson SAT Solving 1 / 36 Review: Propositional

More information

LOGIC PROPOSITIONAL REASONING

LOGIC PROPOSITIONAL REASONING LOGIC PROPOSITIONAL REASONING WS 2017/2018 (342.208) Armin Biere Martina Seidl biere@jku.at martina.seidl@jku.at Institute for Formal Models and Verification Johannes Kepler Universität Linz Version 2018.1

More information

Propositional Logic: Evaluating the Formulas

Propositional Logic: Evaluating the Formulas Institute for Formal Models and Verification Johannes Kepler University Linz VL Logik (LVA-Nr. 342208) Winter Semester 2015/2016 Propositional Logic: Evaluating the Formulas Version 2015.2 Armin Biere

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 32. Propositional Logic: Local Search and Outlook Martin Wehrle Universität Basel April 29, 2016 Propositional Logic: Overview Chapter overview: propositional logic

More information

Resolution-based lower bounds in MaxSAT

Resolution-based lower bounds in MaxSAT Constraints (2010) 15:456 484 DOI 10.1007/s10601-010-9097-9 Resolution-based lower bounds in MaxSAT Chu Min Li Felip Manyà Nouredine Ould Mohamedou Jordi Planes Published online: 24 July 2010 Springer

More information

Cardinality Networks: a Theoretical and Empirical Study

Cardinality Networks: a Theoretical and Empirical Study Constraints manuscript No. (will be inserted by the editor) Cardinality Networks: a Theoretical and Empirical Study Roberto Asín, Robert Nieuwenhuis, Albert Oliveras, Enric Rodríguez-Carbonell Received:

More information

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel

Propositional Logic. Methods & Tools for Software Engineering (MTSE) Fall Prof. Arie Gurfinkel Propositional Logic Methods & Tools for Software Engineering (MTSE) Fall 2017 Prof. Arie Gurfinkel References Chpater 1 of Logic for Computer Scientists http://www.springerlink.com/content/978-0-8176-4762-9/

More information

Minimal Model Generation with respect to an Atom Set

Minimal Model Generation with respect to an Atom Set Minimal Model Generation with respect to an Atom Set Miyuki Koshimura 1, Hidetomo Nabeshima 2, Hiroshi Fujita 1, and Ryuzo Hasegawa 1 1 Kyushu University, Motooka 744, Nishi-ku, Fukuoka, 819-0395 Japan,

More information

From SAT To SMT: Part 1. Vijay Ganesh MIT

From SAT To SMT: Part 1. Vijay Ganesh MIT From SAT To SMT: Part 1 Vijay Ganesh MIT Software Engineering & SMT Solvers An Indispensable Tactic for Any Strategy Formal Methods Program Analysis SE Goal: Reliable/Secure Software Automatic Testing

More information

Solving MaxSAT by Successive Calls to a SAT Solver

Solving MaxSAT by Successive Calls to a SAT Solver Solving MaxSAT by Successive Calls to a SAT Solver Mohamed El Halaby Department of Mathematics Faculty of Science Cairo University Giza, 12613, Egypt halaby@sci.cu.edu.eg arxiv:1603.03814v1 [cs.ai] 11

More information

Satisfiability and SAT Solvers. CS 270 Math Foundations of CS Jeremy Johnson

Satisfiability and SAT Solvers. CS 270 Math Foundations of CS Jeremy Johnson Satisfiability and SAT Solvers CS 270 Math Foundations of CS Jeremy Johnson Conjunctive Normal Form Conjunctive normal form (products of sums) Conjunction of clauses (disjunction of literals) For each

More information

Inference Rules in Local Search for Max-SAT

Inference Rules in Local Search for Max-SAT Inference Rules in Local Search for Max-SAT André Abramé and Djamal Habet Aix Marseille University, LSIS UMR 7296 Av. Escadrille Normandie Niemen 13397 Marseille Cedex 2 (France) {andre.abrame, djamal.habet@lsis.org

More information

Solving SAT Modulo Theories

Solving SAT Modulo Theories Solving SAT Modulo Theories R. Nieuwenhuis, A. Oliveras, and C.Tinelli. Solving SAT and SAT Modulo Theories: from an Abstract Davis-Putnam-Logemann-Loveland Procedure to DPLL(T) Mooly Sagiv Motivation

More information

Foundations of Artificial Intelligence

Foundations of Artificial Intelligence Foundations of Artificial Intelligence 8. Satisfiability and Model Construction Davis-Putnam-Logemann-Loveland Procedure, Phase Transitions, GSAT Joschka Boedecker and Wolfram Burgard and Bernhard Nebel

More information

Algorithms for Satisfiability beyond Resolution.

Algorithms for Satisfiability beyond Resolution. Algorithms for Satisfiability beyond Resolution. Maria Luisa Bonet UPC, Barcelona, Spain Oaxaca, August, 2018 Co-Authors: Sam Buss, Alexey Ignatiev, Joao Marques-Silva, Antonio Morgado. Motivation. Satisfiability

More information

Classical Propositional Logic

Classical Propositional Logic Classical Propositional Logic Peter Baumgartner http://users.cecs.anu.edu.au/~baumgart/ Ph: 02 6218 3717 Data61/CSIRO and ANU July 2017 1 / 71 Classical Logic and Reasoning Problems A 1 : Socrates is a

More information

Introduction. Chapter Context

Introduction. Chapter Context Chapter 1 Introduction As soon as an Analytical Engine exists, it will necessarily guide the future course of the science. Whenever any result is sought by its aid, the question will then arise But what

More information

Tutorial 1: Modern SMT Solvers and Verification

Tutorial 1: Modern SMT Solvers and Verification University of Illinois at Urbana-Champaign Tutorial 1: Modern SMT Solvers and Verification Sayan Mitra Electrical & Computer Engineering Coordinated Science Laboratory University of Illinois at Urbana

More information

Improvements to Core-Guided Binary Search for MaxSAT

Improvements to Core-Guided Binary Search for MaxSAT Improvements to Core-Guided Binary Search for MaxSAT A.Morgado F.Heras J.Marques-Silva CASL/CSI, University College Dublin Dublin, Ireland SAT, June 2012 Outline Motivation Previous Algorithms - Overview

More information

A brief introduction to practical SAT solving

A brief introduction to practical SAT solving A brief introduction to practical SAT solving What can I expect from SAT today? Daniel Le Berre Joint work with Anne Parrain, Pascal Rapicault, Olivier Roussel, Laurent Simon, and others CRIL-CNRS UMR

More information

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011

Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber Aug 31, 2011 Solvers for the Problem of Boolean Satisfiability (SAT) Will Klieber 15-414 Aug 31, 2011 Why study SAT solvers? Many problems reduce to SAT. Formal verification CAD, VLSI Optimization AI, planning, automated

More information

Propositional Logic: Models and Proofs

Propositional Logic: Models and Proofs Propositional Logic: Models and Proofs C. R. Ramakrishnan CSE 505 1 Syntax 2 Model Theory 3 Proof Theory and Resolution Compiled at 11:51 on 2016/11/02 Computing with Logic Propositional Logic CSE 505

More information

uncorrected proof An efficient solver for weighted Max-SAT Teresa Alsinet Felip Manyà Jordi Planes

uncorrected proof An efficient solver for weighted Max-SAT Teresa Alsinet Felip Manyà Jordi Planes DOI.7/s898-007-966-9 2 3 4 5 6 7 8 9 2 3 4 5 6 7 8 An efficient solver for weighted Max-SAT Teresa Alsinet Felip Manyà Jordi Planes Received: 3 July 2006 / Accepted: 8 May 2007 SpringerScience+BusinessMediaLLC2007

More information

An instance of SAT is defined as (X, S)

An instance of SAT is defined as (X, S) SAT: Propositional Satisfiability 22c:45 Artificial Intelligence Russell & Norvig, Ch. 7.6 Validity vs. Satisfiability Validity: A sentence is valid if it is true in every interpretation (every interpretation

More information

Satisifiability and Probabilistic Satisifiability

Satisifiability and Probabilistic Satisifiability Satisifiability and Probabilistic Satisifiability Department of Computer Science Instituto de Matemática e Estatística Universidade de São Paulo 2010 Topics Next Issue The SAT Problem The Centrality of

More information

Pruning Search Space for Weighted First Order Horn Clause Satisfiability

Pruning Search Space for Weighted First Order Horn Clause Satisfiability Pruning Search Space for Weighted First Order Horn Clause Satisfiability Naveen Nair 123, Anandraj Govindan 2, Chander Jayaraman 2, Kiran TVS 2, and Ganesh Ramakrishnan 21 1 IITB-Monash Research Academy,

More information

Adding Flexibility to Russian Doll Search

Adding Flexibility to Russian Doll Search Adding Flexibility to Russian Doll Search Margarita Razgon and Gregory M. Provan Department of Computer Science, University College Cork, Ireland {m.razgon g.provan}@cs.ucc.ie Abstract The Weighted Constraint

More information

Verification using Satisfiability Checking, Predicate Abstraction, and Craig Interpolation. Himanshu Jain THESIS ORAL TALK

Verification using Satisfiability Checking, Predicate Abstraction, and Craig Interpolation. Himanshu Jain THESIS ORAL TALK Verification using Satisfiability Checking, Predicate Abstraction, and Craig Interpolation Himanshu Jain THESIS ORAL TALK 1 Computer Systems are Pervasive Computer Systems = Software + Hardware Software/Hardware

More information

Formal Verification Methods 1: Propositional Logic

Formal Verification Methods 1: Propositional Logic Formal Verification Methods 1: Propositional Logic John Harrison Intel Corporation Course overview Propositional logic A resurgence of interest Logic and circuits Normal forms The Davis-Putnam procedure

More information

Topics in Model-Based Reasoning

Topics in Model-Based Reasoning Towards Integration of Proving and Solving Dipartimento di Informatica Università degli Studi di Verona Verona, Italy March, 2014 Automated reasoning Artificial Intelligence Automated Reasoning Computational

More information

Lecture 2 Propositional Logic & SAT

Lecture 2 Propositional Logic & SAT CS 5110/6110 Rigorous System Design Spring 2017 Jan-17 Lecture 2 Propositional Logic & SAT Zvonimir Rakamarić University of Utah Announcements Homework 1 will be posted soon Propositional logic: Chapter

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Bruno Dutertre SRI International Leonardo de Moura Microsoft Research Satisfiability a > b + 2, a = 2c + 10, c + b 1000 SAT a = 0, b = 3, c = 5 Model 0 > 3 + 2, 0 = 2 5 +

More information

Attacking AES via SAT

Attacking AES via SAT Computer Science Department Swansea University BCTCS Warwick, April 7, 2009 Introduction In the following talk, a general translation framework, based around SAT, is considered, with the aim of providing

More information

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning

COMP219: Artificial Intelligence. Lecture 20: Propositional Reasoning COMP219: Artificial Intelligence Lecture 20: Propositional Reasoning 1 Overview Last time Logic for KR in general; Propositional Logic; Natural Deduction Today Entailment, satisfiability and validity Normal

More information

A Clause Tableau Calculus for MinSAT

A Clause Tableau Calculus for MinSAT A Clause Tableau Calculus for MinSAT Chu Min LI, a Felip MANYÀ b and Joan Ramon SOLER b a Université de Picardie, Amiens, France b IIIA-CSIC, Bellaterra, Spain Abstract. We define a clause tableau calculus

More information

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches

Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Interleaved Alldifferent Constraints: CSP vs. SAT Approaches Frédéric Lardeux 3, Eric Monfroy 1,2, and Frédéric Saubion 3 1 Universidad Técnica Federico Santa María, Valparaíso, Chile 2 LINA, Université

More information

Solving hard industrial combinatorial problems with SAT

Solving hard industrial combinatorial problems with SAT UNIVERSITAT POLITÈCNICA DE CATALUNYA SOFTWARE DEPARTMENT PhD in Computing Solving hard industrial combinatorial problems with SAT Ignasi Abío Roig Advisors: Robert Nieuwenhuis and Albert Oliveras and Enric

More information

A New Look at BDDs for Pseudo-Boolean Constraints

A New Look at BDDs for Pseudo-Boolean Constraints Journal of Artificial Intelligence Research 45 (22) 443-48 Submitted 3/2; published /2 A New Look at BDDs for Pseudo-Boolean Constraints Ignasi Abío Robert Nieuwenhuis Albert Oliveras Enric Rodríguez-Carbonell

More information

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask

Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Set 6: Knowledge Representation: The Propositional Calculus Chapter 7 R&N ICS 271 Fall 2017 Kalev Kask Outline Representing knowledge using logic Agent that reason logically A knowledge based agent Representing

More information

NP-Complete Reductions 2

NP-Complete Reductions 2 x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 447 11 13 21 23 31 33 Algorithms NP-Complete Reductions 2 Prof. Gregory Provan Department of Computer Science University College Cork 1 Lecture Outline NP-Complete

More information

SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments. Lintao Zhang

SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments. Lintao Zhang SAT-Solving: From Davis- Putnam to Zchaff and Beyond Day 3: Recent Developments Requirements for SAT solvers in the Real World Fast & Robust Given a problem instance, we want to solve it quickly Reliable

More information

Look-Ahead Based SAT Solvers

Look-Ahead Based SAT Solvers p01c05 lah 2008/11/20 16:31 page 155 #1 Handbook of Satisfiability Armin Biere, Marijn Heule, Hans van Maaren and Toby Walsh (Eds.) IOS Press, 2009 c 2009 Marijn J.H. Heule and Hans van Maaren and IOS

More information

Introduction to SAT (constraint) solving. Justyna Petke

Introduction to SAT (constraint) solving. Justyna Petke Introduction to SAT (constraint) solving Justyna Petke SAT, SMT and CSP solvers are used for solving problems involving constraints. The term constraint solver, however, usually refers to a CSP solver.

More information

Encoding Basic Arithmetic Operations for SAT-Solvers

Encoding Basic Arithmetic Operations for SAT-Solvers Encoding Basic Arithmetic Operations for SAT-Solvers Ramón BÉJAR 1, Cèsar FERNÁNDEZ and Francesc GUITART Computer Science Department, Universitat de Lleida (UdL) Abstract. In this paper we start an investigation

More information

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq

Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Translating a Satallax Refutation to a Tableau Refutation Encoded in Coq Bachelor Seminar - first talk Advisor: Chad Brown Supervisor: Gert Smolka Department of Computer Science Saarland University October

More information

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30)

Computational Logic. Davide Martinenghi. Spring Free University of Bozen-Bolzano. Computational Logic Davide Martinenghi (1/30) Computational Logic Davide Martinenghi Free University of Bozen-Bolzano Spring 2010 Computational Logic Davide Martinenghi (1/30) Propositional Logic - sequent calculus To overcome the problems of natural

More information

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams. Sanjit A. Seshia EECS, UC Berkeley

EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams. Sanjit A. Seshia EECS, UC Berkeley EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving III & Binary Decision Diagrams Sanjit A. Seshia EECS, UC Berkeley Acknowledgments: Lintao Zhang Announcement Project proposals due

More information

Chapter 7 Propositional Satisfiability Techniques

Chapter 7 Propositional Satisfiability Techniques Lecture slides for Automated Planning: Theory and Practice Chapter 7 Propositional Satisfiability Techniques Dana S. Nau University of Maryland 12:58 PM February 15, 2012 1 Motivation Propositional satisfiability:

More information

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination

Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Preprocessing QBF: Failed Literals and Quantified Blocked Clause Elimination Florian Lonsing (joint work with Armin Biere and Martina Seidl) Institute for Formal Models and Verification (FMV) Johannes

More information

Satisfiability Modulo Theories (SMT)

Satisfiability Modulo Theories (SMT) Satisfiability Modulo Theories (SMT) Sylvain Conchon Cours 7 / 9 avril 2014 1 Road map The SMT problem Modern efficient SAT solvers CDCL(T) Examples of decision procedures: equality (CC) and difference

More information

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010

Lecture 9: Search 8. Victor R. Lesser. CMPSCI 683 Fall 2010 Lecture 9: Search 8 Victor R. Lesser CMPSCI 683 Fall 2010 ANNOUNCEMENTS REMEMBER LECTURE ON TUESDAY! EXAM ON OCTOBER 18 OPEN BOOK ALL MATERIAL COVERED IN LECTURES REQUIRED READINGS WILL MOST PROBABLY NOT

More information

Using Graph-Based Representation to Derive Hard SAT instances

Using Graph-Based Representation to Derive Hard SAT instances Using Graph-Based Representation to Derive Hard SAT instances Gilles Audemard, Saïd Jabbour, and Lakhdar Saïs CRIL - Université d Artois - Lens, France {audemard,jabbour,sais}@cril.fr Abstract. In this

More information

On the Relative Efficiency of DPLL and OBDDs with Axiom and Join

On the Relative Efficiency of DPLL and OBDDs with Axiom and Join On the Relative Efficiency of DPLL and OBDDs with Axiom and Join Matti Järvisalo University of Helsinki, Finland September 16, 2011 @ CP M. Järvisalo (U. Helsinki) DPLL and OBDDs September 16, 2011 @ CP

More information

Propositional Calculus

Propositional Calculus Propositional Calculus Dr. Neil T. Dantam CSCI-498/598 RPM, Colorado School of Mines Spring 2018 Dantam (Mines CSCI, RPM) Propositional Calculus Spring 2018 1 / 64 Calculus? Definition: Calculus A well

More information

Clique is hard on average for regular resolution

Clique is hard on average for regular resolution Clique is hard on average for regular resolution Ilario Bonacina, UPC Barcelona Tech July 27, 2018 Oxford Complexity Day Talk based on a joint work with: A. Atserias S. de Rezende J. Nordstro m M. Lauria

More information

IntSat: From SAT to Integer Linear Programming

IntSat: From SAT to Integer Linear Programming IntSat: From SAT to Integer Linear Programming CPAIOR 2015 (invited talk) Robert Nieuwenhuis Barcelogic.com - Computer Science Department BarcelonaTech (UPC) 1 Proposed travel arrangements (next time):

More information

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz )

Logic in AI Chapter 7. Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz ) Logic in AI Chapter 7 Mausam (Based on slides of Dan Weld, Stuart Russell, Dieter Fox, Henry Kautz ) Knowledge Representation represent knowledge in a manner that facilitates inferencing (i.e. drawing

More information

Watched Literals in a Finite Domain SAT Solver A THESIS SUBMITTED TO THE FACULTY OF THE GRADUATE SCHOOL OF THE UNIVERSITY OF MINNESOTA BY.

Watched Literals in a Finite Domain SAT Solver A THESIS SUBMITTED TO THE FACULTY OF THE GRADUATE SCHOOL OF THE UNIVERSITY OF MINNESOTA BY. Watched Literals in a Finite Domain SAT Solver A THESIS SUBMITTED TO THE FACULTY OF THE GRADUATE SCHOOL OF THE UNIVERSITY OF MINNESOTA BY Anurag Jain IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE

More information

VLSI CAD: Lecture 4.1. Logic to Layout. Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1

VLSI CAD: Lecture 4.1. Logic to Layout. Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1 VLSI CAD: Logic to Layout Rob A. Rutenbar University of Illinois Lecture 4.1 Computational Boolean Algebra Representations: Satisfiability (SAT), Part 1 Some Terminology Satisfiability (called SAT for

More information

Propagation = Lazy Clause Generation

Propagation = Lazy Clause Generation Propagation = Lazy Clause Generation Olga Ohrimenko 1, Peter J. Stuckey 1, and Michael Codish 2 1 NICTA Victoria Research Lab, Department of Comp. Sci. and Soft. Eng. University of Melbourne, Australia

More information

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas

Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Journal of Artificial Intelligence Research 1 (1993) 1-15 Submitted 6/91; published 9/91 Clause/Term Resolution and Learning in the Evaluation of Quantified Boolean Formulas Enrico Giunchiglia Massimo

More information

Solving Bayesian Networks by Weighted Model Counting

Solving Bayesian Networks by Weighted Model Counting Solving Bayesian Networks by Weighted Model Counting Tian Sang, Paul Beame, and Henry Kautz Department of Computer Science and Engineering University of Washington Seattle, WA 98195 {sang,beame,kautz}@cs.washington.edu

More information

Satisfiability Modulo Theories

Satisfiability Modulo Theories Satisfiability Modulo Theories Summer School on Formal Methods Menlo College, 2011 Bruno Dutertre and Leonardo de Moura bruno@csl.sri.com, leonardo@microsoft.com SRI International, Microsoft Research SAT/SMT

More information

Comp487/587 - Boolean Formulas

Comp487/587 - Boolean Formulas Comp487/587 - Boolean Formulas 1 Logic and SAT 1.1 What is a Boolean Formula Logic is a way through which we can analyze and reason about simple or complicated events. In particular, we are interested

More information

Advanced Artificial Intelligence, DT4048

Advanced Artificial Intelligence, DT4048 Advanced Artificial Intelligence, DT4048 Part 5 Boolean Satisfiability Federico Pecora federico.pecora@oru.se Center for Applied Autonomous Sensor Systems (AASS) Örebro University, Sweden What is Boolean

More information

Modern Sat Solving CDCL Tutorial Singapore Winter School Fahiem Bacchus, University of Toronto

Modern Sat Solving CDCL Tutorial Singapore Winter School Fahiem Bacchus, University of Toronto Modern Sat Solving CDCL Tutorial Singapore Winter School 2019 Why Sat solving? Practical Problem A that lies in NP Encoding to SAT Well engineered SAT Solver Solution to A without having to build a special

More information

Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems

Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems Manuscript Latex Source Click here to download Manuscript: article.tex 0 0 0 0 0 0 Automatic Generation of Redundant Models for Permutation Constraint Satisfaction Problems Y.C. Law and J.H.M. Lee Department

More information

Lessons from MIP Search. John Hooker Carnegie Mellon University November 2009

Lessons from MIP Search. John Hooker Carnegie Mellon University November 2009 Lessons from MIP Search John Hooker Carnegie Mellon University November 2009 Outline MIP search The main ideas Duality and nogoods From MIP to AI (and back) Binary decision diagrams From MIP to constraint

More information

Extending DPLL-Based QBF Solvers to Handle Free Variables

Extending DPLL-Based QBF Solvers to Handle Free Variables Extending DPLL-Based QBF Solvers to Handle Free Variables Will Klieber, Mikoláš Janota, Joao Marques-Silva, Edmund Clarke July 9, 2013 1 Open QBF Closed QBF: All variables quantified; answer is True or

More information

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction

Notes for Lecture 2. Statement of the PCP Theorem and Constraint Satisfaction U.C. Berkeley Handout N2 CS294: PCP and Hardness of Approximation January 23, 2006 Professor Luca Trevisan Scribe: Luca Trevisan Notes for Lecture 2 These notes are based on my survey paper [5]. L.T. Statement

More information

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna

The Calculus of Computation: Decision Procedures with Applications to Verification. Part I: FOUNDATIONS. by Aaron Bradley Zohar Manna The Calculus of Computation: Decision Procedures with Applications to Verification Part I: FOUNDATIONS by Aaron Bradley Zohar Manna 1. Propositional Logic(PL) Springer 2007 1-1 1-2 Propositional Logic(PL)

More information

Lecture 20: conp and Friends, Oracles in Complexity Theory

Lecture 20: conp and Friends, Oracles in Complexity Theory 6.045 Lecture 20: conp and Friends, Oracles in Complexity Theory 1 Definition: conp = { L L NP } What does a conp computation look like? In NP algorithms, we can use a guess instruction in pseudocode:

More information

Heuristics for Efficient SAT Solving. As implemented in GRASP, Chaff and GSAT.

Heuristics for Efficient SAT Solving. As implemented in GRASP, Chaff and GSAT. Heuristics for Efficient SAT Solving As implemented in GRASP, Chaff and GSAT. Formulation of famous problems as SAT: k-coloring (1/2) The K-Coloring problem: Given an undirected graph G(V,E) and a natural

More information

CS156: The Calculus of Computation

CS156: The Calculus of Computation CS156: The Calculus of Computation Zohar Manna Winter 2010 It is reasonable to hope that the relationship between computation and mathematical logic will be as fruitful in the next century as that between

More information

Fast SAT-based Answer Set Solver

Fast SAT-based Answer Set Solver Fast SAT-based Answer Set Solver Zhijun Lin and Yuanlin Zhang and Hector Hernandez Computer Science Department Texas Tech University 2500 Broadway, Lubbock, TX 79409 USA {lin, yzhang, hector}@cs.ttu.edu

More information

Artificial Intelligence

Artificial Intelligence Torralba and Wahlster Artificial Intelligence Chapter 11: Propositional Reasoning, Part II 1/69 Artificial Intelligence 11. Propositional Reasoning, Part II: SAT Solvers How to Efficiently Think About

More information

Lecture Notes on SAT Solvers & DPLL

Lecture Notes on SAT Solvers & DPLL 15-414: Bug Catching: Automated Program Verification Lecture Notes on SAT Solvers & DPLL Matt Fredrikson André Platzer Carnegie Mellon University Lecture 10 1 Introduction In this lecture we will switch

More information

Chapter 7 Propositional Satisfiability Techniques

Chapter 7 Propositional Satisfiability Techniques Lecture slides for Automated Planning: Theory and Practice Chapter 7 Propositional Satisfiability Techniques Dana S. Nau CMSC 722, AI Planning University of Maryland, Spring 2008 1 Motivation Propositional

More information

CSI 4105 MIDTERM SOLUTION

CSI 4105 MIDTERM SOLUTION University of Ottawa CSI 4105 MIDTERM SOLUTION Instructor: Lucia Moura Feb 6, 2010 10:00 am Duration: 1:50 hs Closed book Last name: First name: Student number: There are 4 questions and 100 marks total.

More information

Sat-Solving Based on Boundary Point Elimination

Sat-Solving Based on Boundary Point Elimination Sat-Solving Based on Boundary Point Elimination Eugene Goldberg, Pete Manolios Northeastern University, USA HVC-2010, October 5-7, Haifa, Israel Outline Introduction BPE-SAT Experimental results and conclusions

More information

Towards Understanding and Harnessing the Potential of Clause Learning

Towards Understanding and Harnessing the Potential of Clause Learning Journal of Artificial Intelligence Research 22 (2004) 319-351 Submitted 12/03; published 12/04 Towards Understanding and Harnessing the Potential of Clause Learning Paul Beame Henry Kautz Ashish Sabharwal

More information

Interpolation. Seminar Slides. Betim Musa. 27 th June Albert-Ludwigs-Universität Freiburg

Interpolation. Seminar Slides. Betim Musa. 27 th June Albert-Ludwigs-Universität Freiburg Interpolation Seminar Slides Albert-Ludwigs-Universität Freiburg Betim Musa 27 th June 2015 Motivation program add(int a, int b) { var x,i : int; l 0 assume(b 0); l 1 x := a; l 2 i := 0; while(i < b) {

More information

Propagation in CSP and SAT

Propagation in CSP and SAT Propagation in CSP and SAT Yannis Dimopoulos 1 and Kostas Stergiou 2 1 Department of Computer Science University of Cyprus, Nicosia, Cyprus yannis@cs.ucy.ac.cy 2 Department of Information and Communication

More information

CS:4420 Artificial Intelligence

CS:4420 Artificial Intelligence CS:4420 Artificial Intelligence Spring 2018 Propositional Logic Cesare Tinelli The University of Iowa Copyright 2004 18, Cesare Tinelli and Stuart Russell a a These notes were originally developed by Stuart

More information

Decision Diagrams for Discrete Optimization

Decision Diagrams for Discrete Optimization Decision Diagrams for Discrete Optimization Willem Jan van Hoeve Tepper School of Business Carnegie Mellon University www.andrew.cmu.edu/user/vanhoeve/mdd/ Acknowledgments: David Bergman, Andre Cire, Samid

More information

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/

CSE507. Introduction. Computer-Aided Reasoning for Software. Emina Torlak courses.cs.washington.edu/courses/cse507/17wi/ Computer-Aided Reasoning for Software CSE507 courses.cs.washington.edu/courses/cse507/17wi/ Introduction Emina Torlak emina@cs.washington.edu Today What is this course about? Course logistics Review of

More information

Abstract Answer Set Solvers with Backjumping and Learning

Abstract Answer Set Solvers with Backjumping and Learning Under consideration for publication in Theory and Practice of Logic Programming 1 Abstract Answer Set Solvers with Backjumping and Learning YULIYA LIERLER Department of Computer Science University of Texas

More information

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit:

Price: $25 (incl. T-Shirt, morning tea and lunch) Visit: Three days of interesting talks & workshops from industry experts across Australia Explore new computing topics Network with students & employers in Brisbane Price: $25 (incl. T-Shirt, morning tea and

More information

Approximating Probabilistic Inference

Approximating Probabilistic Inference Approximating Probabilistic Inference Kuldeep S. Meel PhD Student CAVR Group Joint work with Supratik Chakraborty (IITB), Daniel J. Fremont (UCB), Sanjit A. Seshia (UCB), Moshe Y. Vardi (Rice) 1 IoT: Internet

More information

MaxSAT Resolution with the Dual Rail Encoding

MaxSAT Resolution with the Dual Rail Encoding MaxSAT Resolution with the Dual Rail Encoding Maria Luisa Bonet 1, Sam Buss 2, Alexey Ignatiev 3,4, Joao Marques-Silva 3, Antonio Morgado 3 1 Computer Science Department, Universidad Politécnica de Cataluña,

More information

A brief introduction to Logic. (slides from

A brief introduction to Logic. (slides from A brief introduction to Logic (slides from http://www.decision-procedures.org/) 1 A Brief Introduction to Logic - Outline Propositional Logic :Syntax Propositional Logic :Semantics Satisfiability and validity

More information