Captain Jack: New Variable Selection Heuristics in Local Search for SAT

Size: px
Start display at page:

Download "Captain Jack: New Variable Selection Heuristics in Local Search for SAT"

Transcription

1 Captain Jack: New Variable Selection Heuristics in Local Search for SAT Dave Tompkins, Adrian Balint, Holger Hoos SAT 2011 :: Ann Arbor, Michigan

2 Key Contribution: Captain Jack is a highly parametric algorithm Incorporates elements from Sparrow [Balint, Fröhlich, SAT 2010] & VE-Sampler [Tompkins, Hoos, SAT 2010] good performance "jack of all trades" "interesting" configuration space 2

3 Algorithm Design Philosophy Parameterless Algorithm 3

4 Algorithm Design Philosophy Algorithm Parameters Parameterless Algorithm 4

5 Algorithm Design Philosophy Parameterless Algorithm Highly Parametric Algorithm 5

6 Automated Configuration We can use automated configuratorsto determine the optimal algorithm parameters for a target instance set We used ParamILS [Hutteret al., 2007, 2009] Offload tedious human tasks to machines 6

7 Automated Configuration Training Instance Set Automated Configurator (here: ParamILS) Highly Parametric Algorithm Tuned (configured) Algorithm 7

8 Instance "Space" pt 8

9 Instance "Space" Software Verification a graph colouring... SWV b SWV c pt Hardware Verification x HWV y 4.2 c/v pt planning... 9

10 Algorithm "Space" 10

11 Captain Jack good performance "interesting" configuration space 11

12 Overview Motivation Captain Jack Background Design New Contributions Results Future Work Conclusions 12

13 Stochastic Local Search (SLS) for SAT ( x 1 x 2 x 5 ) randomly initialize all variables while (formula not satisfied) select a variable and flip it Evaluate each variable (Variable Expression) Variable Selection Mechanism (VSM) 13

14 Captain Jack Controller Promising Variable? no select UNSAT clause Captain Jack can use promising variables (if they exist) [G 2 WSAT: Li, Huang, 2005] Select UNSAT clause uniformly at random [Papadimitriou, 1991] [WalkSAT: Selman, Kautz, Cohen, 1994] 14

15 Captain Jack Controller promising variable? no select UNSAT clause select type: greedy / div. / mixed Captain Jack can use promising variables (if they exist) [G 2 WSAT: Li, Huang, 2005] Select UNSAT clause uniformly at random [Papadimitriou, 1991] [WalkSAT: Selman, Kautz, Cohen, 1994] select property(ies) select VSM: max or distribution 15

16 Variable Properties Greedy Properties make= # of clauses that become satisfiedif we flip x break =... unsatisfied score = (make break) [GSAT: Selman, Levesque, Mitchell, 1992] 16

17 Variable Properties Greedy Properties make = # of clauses that become satisfied if we flip x break =... unsatisfied score = (make break) [GSAT: Selman, Levesque, Mitchell, 1992] Diversification Properties age= # of steps since x was flipped[tabu: Glover, 1986] flips= # of times x has been flipped [HSAT: Gent, Walsh, 1993] 17

18 Variable Properties Greedy Properties make = # of clauses that become satisfied if we flip x break =... unsatisfied score = (make break) [GSAT: Selman, Levesque, Mitchell, 1992] Diversification Properties age = # of steps since x was flipped[tabu: Glover, 1986] flips = # of times x has been flipped [HSAT: Gent, Walsh, 1993] Variable Expressions sparrowage 18

19 Captain Jack Variable Properties Greedy make break score sparrowscore 2 score scoreratio rel* Diversification rand flat fair last age age 1 age 5 agerange sparrowage tabu flips flops normflops resetflops rel* 19

20 New Variable Properties scoreratio: (make)/(make + break) flops: flops++ flops++ ( x 1 x 2 x 5 ) flips++ 20

21 age k property age 5 age x 1 T F time age 1 21

22 Captain Jack Controller promising variable? no select UNSAT clause select type: greedy / div. / mixed select property(ies) select VSM: max or distribution 22

23 Mixed Variable Expressions VE-Sampler f(greedy) + f(diversification) Sparrow f(greedy) f(diversification) both use a mixedve First introduced with VW2 [Prestwich, 2005] Captain Jack 3 Options: greedy, diversification, mixed greedy diversification 23

24 Variable Selection Mechanism ( x 1 x 2 x 5 ) Variable Expression Maximum ("best") select x 1 x 1 5 x 2 4 x 5 1 Probability Distribution select x 1 50% select x 2 40% select x 5 10% 24

25 Captain Jack Controller promising variable? no select UNSAT clause select type: greedy / div. / mixed Each type of step assigned a weight (%) select property(ies) Each property is assigned a weight (%) (both a greedy & div. property selected for mixed) select VSM: max or distribution Prob. of selecting the VSM is based on the type 25

26 Captain Jack good performance "interesting" configuration space 26

27 Instance "Space" Industrial-Like Random (Ansótegui et. al., 2009) Software Verification CBMC (binary search) SWV (static checking) Random k-sat: 3-SAT pt, large 4.2) 5-SAT pt, large) 7-SAT pt, large) 27

28 Performance Results 3-SAT 5-SAT 7-SAT 1k 10k IL50k CBMC SWV Captian Jack Sparrow* VE-Sampler* SATenstein* TNM , gnovelty ,291 AG , time relative to fastest solver [PAR10]

29 Greedy Properties (%) 3-SAT 5-SAT 7-SAT 1k 10k IL50k CBMC SWV make* break* score* sparrowscore scoreratio* property weights as percentages, values 1 not shown 29

30 Diversification Properties 3-SAT 5-SAT 7-SAT 1k 10k IL50k CBMC SWV random/flat/fair last age* flips* flops* property weights as percentages, values 1 not shown 30

31 Age-based Properties 3-SAT 5-SAT 7-SAT 1k 10k IL50k CBMC SWV age age age agerange 7 3 sparrowage tabu property weights as percentages, values 1 not shown 31

32 Cross-Testing time relative to target configuration [PAR10] 32

33 Additional Observations No promising steps for CMBC & SWV Mixed Steps were preferred Variable Selection: No clear winner between: Max/Probability Distribution No clear results on clause-length settings 33

34 Key Contributions CJ is a new highly parametricsls algorithm Introduced several new variable properties Performs well on both random, industrial* and industrial-like Insights into configurations and properties used on different instances 34

35 Future Work age k properties framework to introduce new properties "knock-out" algorithm properties adaptive strategies lead to specialized light-weight algorithms thanks... 35

36 arrrr... there any questions? 36

CS227: Assignment 1 Report

CS227: Assignment 1 Report 1 CS227: Assignment 1 Report Lei Huang and Lawson Wong April 20, 2008 1 Introduction Propositional satisfiability (SAT) problems have been of great historical and practical significance in AI. Despite

More information

On the Run-time Behaviour of Stochastic Local Search Algorithms for SAT

On the Run-time Behaviour of Stochastic Local Search Algorithms for SAT From: AAAI-99 Proceedings. Copyright 1999, AAAI (www.aaai.org). All rights reserved. On the Run-time Behaviour of Stochastic Local Search Algorithms for SAT Holger H. Hoos University of British Columbia

More information

Choosing Probability Distributions for Stochastic Local Search and the Role of Make versus Break

Choosing Probability Distributions for Stochastic Local Search and the Role of Make versus Break Choosing Probability Distributions for Stochastic Local Search and the Role of Make versus Break Adrian Balint and Uwe Schöning Ulm University Institute of Theoretical Computer Science 89069 Ulm, Germany

More information

SATenstein: Automatically Building Local Search SAT Solvers From Components

SATenstein: Automatically Building Local Search SAT Solvers From Components SATenstein: Automatically Building Local Search SAT Solvers From Components by Ashiqur Rahman KhudaBukhsh A THESIS SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR THE DEGREE OF Master of Science

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

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

Stochastic Local Search for SMT

Stochastic Local Search for SMT DISI - Via Sommarive, 14-38123 POVO, Trento - Italy http://disi.unitn.it Stochastic Local Search for SMT Silvia Tomasi December 2010 Technical Report # DISI-10-060 Contents 1 Introduction 5 2 Background

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

Evidence for Invariants in Local Search

Evidence for Invariants in Local Search This paper appears in the Proceedings of the Fourteenth National Conference on Artificial Intelligence (AAAI-97), Providence, RI, 1997. Copyright 1997 American Association for Artificial Intelligence.

More information

Adaptive Memory-Based Local Search for MAX-SAT

Adaptive Memory-Based Local Search for MAX-SAT Adaptive Memory-Based Local Search for MAX-SAT Zhipeng Lü a,b, Jin-Kao Hao b, Accept to Applied Soft Computing, Feb 2012 a School of Computer Science and Technology, Huazhong University of Science and

More information

Random Walk With Continuously Smoothed Variable Weights

Random Walk With Continuously Smoothed Variable Weights Random Walk With Continuously Smoothed Variable Weights Steven Prestwich Cork Constraint Computation Centre Department of Computer Science University College Cork, Ireland s.prestwich@cs.ucc.ie Abstract.

More information

Handbook of Constraint Programming 245 Edited by F. Rossi, P. van Beek and T. Walsh c 2006 Elsevier All rights reserved

Handbook of Constraint Programming 245 Edited by F. Rossi, P. van Beek and T. Walsh c 2006 Elsevier All rights reserved Handbook of Constraint Programming 245 Edited by F. Rossi, P. van Beek and T. Walsh c 2006 Elsevier All rights reserved Chapter 8 Local Search Methods Holger H. Hoos and Edward Tsang Local search is one

More information

UBCSAT: An Implementation and Experimentation Environment for SLS Algorithms for SAT and MAX-SAT

UBCSAT: An Implementation and Experimentation Environment for SLS Algorithms for SAT and MAX-SAT UBCSAT: An Implementation and Experimentation Environment for SLS Algorithms for SAT and MAX-SAT Dave A.D. Tompkins and Holger H. Hoos Department of Computer Science University of British Columbia Vancouver

More information

SATenstein: Automatically Building Local Search SAT Solvers from Components

SATenstein: Automatically Building Local Search SAT Solvers from Components SATenstein: Automatically Building Local Search SAT Solvers from Components Ashiqur R. KhudaBukhsh* 1a, Lin Xu* b, Holger H. Hoos b, Kevin Leyton-Brown b a Department of Computer Science, Carnegie Mellon

More information

CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract)

CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract) CCEHC: An Efficient Local Search Algorithm for Weighted Partial Maximum Satisfiability (Extended Abstract) Chuan Luo 1, Shaowei Cai 2, Kaile Su 3, Wenxuan Huang 4 1 Institute of Computing Technology, Chinese

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

REACTIVE SEARCH FOR MAX-SAT: DIVERSIFICATION- BIAS PROPERTIES WITH PROHIBITIONS AND PENALTIES

REACTIVE SEARCH FOR MAX-SAT: DIVERSIFICATION- BIAS PROPERTIES WITH PROHIBITIONS AND PENALTIES DEPARTMENT OF INFORMATION AND COMMUNICATION TECHNOLOGY 38050 Povo Trento (Italy), Via Sommarive 14 http://dit.unitn.it/ REACTIVE SEARCH FOR MAX-SAT: DIVERSIFICATION- BIAS PROPERTIES WITH PROHIBITIONS AND

More information

Scoring Functions Based on Second Level Score fork-sat with Long Clauses

Scoring Functions Based on Second Level Score fork-sat with Long Clauses Journal of Artificial Intelligence Research 51 (2014) 413-441 Submitted 06/14; published 10/14 Scoring Functions Based on Second Level Score fork-sat with Long Clauses Shaowei Cai State Key Laboratory

More information

Improving Diversification in Local Search for Propositional Satisfiability

Improving Diversification in Local Search for Propositional Satisfiability Improving Diversification in Local Search for Propositional Satisfiability by Thach-Thao Nguyen Duong Bachelor of Information Technology, University of Science, Vietnam (2006) Master of Computer Science,

More information

Stochastic Local Search Methods for Dynamic SAT an Initial Investigation

Stochastic Local Search Methods for Dynamic SAT an Initial Investigation Stochastic Local Search Methods for Dynamic SAT an Initial Investigation Holger H. Hoos and Kevin O Neill Abstract. We introduce the dynamic SAT problem, a generalisation of the satisfiability problem

More information

An Improved Integer Local Search for Complex Scheduling Problems

An Improved Integer Local Search for Complex Scheduling Problems An Improved Integer Local Search for Complex Scheduling Problems Weixiong Zhang and Xiaotao Zhang Department of Computer Science and Engineering Washington University in St. Louis St. Louis, MO 63130,

More information

An Evolutionary Framework for 3-SAT Problems

An Evolutionary Framework for 3-SAT Problems Journal of Computing and Information Technology - CIT 11, 2003, 3, 185-191 185 An Evolutionary Framework for 3-SAT Problems István Borgulya University of Pécs, Hungary In this paper we present a new evolutionary

More information

On the Empirical Time Complexity of Random 3-SAT at the Phase Transition

On the Empirical Time Complexity of Random 3-SAT at the Phase Transition Proceedings of the Twenty-Fourth International Joint Conference on Artificial Intelligence (IJCAI 2015) On the Empirical Time Complexity of Random 3-SAT at the Phase Transition Zongxu Mu and Holger H.

More information

Trends in Constraint Programming. Frédéric BENHAMOU Narendra JUSSIEN Barry O SULLIVAN

Trends in Constraint Programming. Frédéric BENHAMOU Narendra JUSSIEN Barry O SULLIVAN Trends in Constraint Programming Frédéric BENHAMOU Narendra JUSSIEN Barry O SULLIVAN November 24, 2006 2 Contents FIRST PART. LOCAL SEARCH TECHNIQUES IN CONSTRAINT SATISFAC- TION..........................................

More information

EMPIRICAL ANALYIS OF THE BEE COLONY OPTMIZATION METHOD ON 3-SAT PROBLEM

EMPIRICAL ANALYIS OF THE BEE COLONY OPTMIZATION METHOD ON 3-SAT PROBLEM EMPIRICAL ANALYIS OF THE BEE COLONY OPTMIZATION METHOD ON 3-SAT PROBLEM TATJANA JAKŠIĆ KRÜGER Mathematical Institute SASA, Belgrade, tatjana@mi.sanu.ac.rs TATJANA DAVIDOVIĆ Mathematical Institute SASA,

More information

Improving implementation of SLS solvers for SAT and new heuristics for k-sat with long clauses

Improving implementation of SLS solvers for SAT and new heuristics for k-sat with long clauses Improving implementation of SLS solvers for SAT and new heuristics for k-sat with long clauses Adrian Balint 1, Armin Biere 2, Andreas Fröhlich 2, and Uwe Schöning 1 1 Institute of Theoretical Computer

More information

Improving Parallel Local Search for SAT

Improving Parallel Local Search for SAT Improving Parallel Local Search for SAT Alejandro Arbelaez, Youssef Hamadi To cite this version: Alejandro Arbelaez, Youssef Hamadi. Improving Parallel Local Search for SAT. Learning and Intelligent OptimizatioN

More information

An Adaptive Noise Mechanism for WalkSAT

An Adaptive Noise Mechanism for WalkSAT From: AAAI-02 Proceedings. Copyright 2002, AAAI (www.aaai.org). All rights reserved. An Adaptive Noise Mechanism for WalkSAT Holger H. Hoos University of British Columbia Computer Science Department 2366

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

SpySMAC: Automated Configuration and Performance Analysis of SAT Solvers

SpySMAC: Automated Configuration and Performance Analysis of SAT Solvers SpySMAC: Automated Configuration and Performance Analysis of SAT Solvers Stefan Falkner, Marius Lindauer, and Frank Hutter University of Freiburg {sfalkner,lindauer,fh}@cs.uni-freiburg.de Abstract. Most

More information

Iterated Robust Tabu Search for MAX-SAT

Iterated Robust Tabu Search for MAX-SAT Iterated Robust Tabu Search for MAX-SAT Kevin Smyth 1, Holger H. Hoos 1, and Thomas Stützle 2 1 Department of Computer Science, University of British Columbia, Vancouver, B.C., V6T 1Z4, Canada {hoos,ksmyth}@cs.ubc.ca

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

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

Set 5: Constraint Satisfaction Problems Chapter 6 R&N

Set 5: Constraint Satisfaction Problems Chapter 6 R&N Set 5: Constraint Satisfaction Problems Chapter 6 R&N ICS 271 Fall 2017 Kalev Kask ICS-271:Notes 5: 1 The constraint network model Outline Variables, domains, constraints, constraint graph, solutions Examples:

More information

CMU-Q Lecture 8: Optimization I: Optimization for CSP Local Search. Teacher: Gianni A. Di Caro

CMU-Q Lecture 8: Optimization I: Optimization for CSP Local Search. Teacher: Gianni A. Di Caro CMU-Q 15-381 Lecture 8: Optimization I: Optimization for CSP Local Search Teacher: Gianni A. Di Caro LOCAL SEARCH FOR CSP Real-life CSPs can be very large and hard to solve Methods so far: construct a

More information

Solving the Maximum Satisfiability Problem Using an Evolutionary Local Search Algorithm

Solving the Maximum Satisfiability Problem Using an Evolutionary Local Search Algorithm 154 The International Arab Journal of Information Technology, Vol. 2, No. 2, April 2005 Solving the Maximum Satisfiability Problem Using an Evolutionary Local Search Algorithm Mohamed El Bachir Menai 1

More information

Using Cost Distributions to Guide Weight Decay in Local Search for SAT

Using Cost Distributions to Guide Weight Decay in Local Search for SAT Using Cost Distributions to Guide Weight Decay in Local Search for SAT John Thornton and Duc Nghia Pham SAFE Program, Queensland Research Lab, NICTA and Institute for Integrated and Intelligent Systems,

More information

Solving Problems with Hard and Soft Constraints Using a Stochastic Algorithm for MAX-SAT

Solving Problems with Hard and Soft Constraints Using a Stochastic Algorithm for MAX-SAT This paper appeared at the st International Joint Workshop on Artificial Intelligence and Operations Research, Timberline, Oregon, 995. Solving Problems with Hard and Soft Constraints Using a Stochastic

More information

Multilevel Stochastic Local Search for SAT

Multilevel Stochastic Local Search for SAT Multilevel Stochastic Local Search for SAT Camilo Rostoker University of British Columbia Department of Computer Science rostokec@cs.ubc.ca Chris Dabrowski University of British Columbia Department of

More information

Inc*: An Incremental Approach for Improving Local Search Heuristics

Inc*: An Incremental Approach for Improving Local Search Heuristics Inc*: An Incremental Approach for Improving Local Search Heuristics Mohamed Bader-El-Den and Riccardo Poli Department of Computing and Electronic Systems, University of Essex, Wivenhoe Park, Colchester

More information

Real-time Reconfigurable Hardware WSAT Variants

Real-time Reconfigurable Hardware WSAT Variants Real-time Reconfigurable Hardware WSAT Variants Roland Yap, Stella Wang, and Martin Henz School of Computing, National University of Singapore Singapore {ryap,wangzhan,henz}@comp.nus.edu.sg Abstract. Local

More information

Chapter 27. Other Approaches to Reasoning and Representation

Chapter 27. Other Approaches to Reasoning and Representation Chapter 27. Other Approaches to Reasoning and Representation The Quest for Artificial Intelligence, Nilsson, N. J., 2009. Lecture Notes on Artificial Intelligence Summarized by Ha, Jung-Woo and Lee, Beom-Jin

More information

The MAX-SAX Problems

The MAX-SAX Problems STOCHASTIC LOCAL SEARCH FOUNDATION AND APPLICATION MAX-SAT & MAX-CSP Presented by: Wei-Lwun Lu 1 The MAX-SAX Problems MAX-SAT is the optimization variant of SAT. Unweighted MAX-SAT: Finds a variable assignment

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

Set 5: Constraint Satisfaction Problems

Set 5: Constraint Satisfaction Problems Set 5: Constraint Satisfaction Problems ICS 271 Fall 2014 Kalev Kask ICS-271:Notes 5: 1 The constraint network model Outline Variables, domains, constraints, constraint graph, solutions Examples: graph-coloring,

More information

Stochastic greedy local search Chapter 7

Stochastic greedy local search Chapter 7 Stochastic greedy local search Chapter 7 ICS-275 Winter 2016 Example: 8-queen problem Main elements Choose a full assignment and iteratively improve it towards a solution Requires a cost function: number

More information

A Multilevel Greedy Algorithm for the Satisfiability Problem

A Multilevel Greedy Algorithm for the Satisfiability Problem A Multilevel Greedy Algorithm for the Satisfiability Problem 3 Noureddine Bouhmala 1 and Xing Cai 2 1 Vestfold University College, 2 Simula Research Laboratory, Norway 1. Introduction The satisfiability

More information

Generating Satisfiable Problem Instances

Generating Satisfiable Problem Instances Generating Satisfiable Problem Instances Dimitris Achlioptas Microsoft Research Redmond, WA 9852 optas@microsoft.com Carla Gomes Dept. of Comp. Sci. Cornell Univ. Ithaca, NY 4853 gomes@cs.cornell.edu Henry

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

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

SAT-Solving: Performance Analysis of Survey Propagation and DPLL

SAT-Solving: Performance Analysis of Survey Propagation and DPLL SAT-Solving: Performance Analysis of Survey Propagation and DPLL Christian Steinruecken June 2007 Abstract The Boolean Satisfiability Problem (SAT) belongs to the class of NP-complete problems, meaning

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

SATLIB: An Online Resource for Research on SAT

SATLIB: An Online Resource for Research on SAT SATLIB: An Online Resource for Research on SAT Holger H. Hoos (hoos@cs.ubc.ca) Department of Computer Science University of British Columbia Vancouver, Canada Thomas Stützle (stuetzle@informatik.tu-darmstadt.de)

More information

CMPUT 366 Assignment 1

CMPUT 366 Assignment 1 CMPUT 66 Assignment Instructor: R. Greiner Due Date: Thurs, October 007 at start of class The following exercises are intended to further your understanding of agents, policies, search, constraint satisfaction

More information

Set 5: Constraint Satisfaction Problems

Set 5: Constraint Satisfaction Problems Set 5: Constraint Satisfaction Problems ICS 271 Fall 2012 Rina Dechter ICS-271:Notes 5: 1 Outline The constraint network model Variables, domains, constraints, constraint graph, solutions Examples: graph-coloring,

More information

Kalev Kask and Rina Dechter

Kalev Kask and Rina Dechter From: AAAI-96 Proceedings. Copyright 1996, AAAI (www.aaai.org). All rights reserved. A Graph-Based Method for Improving GSAT Kalev Kask and Rina Dechter Department of Information and Computer Science University

More information

Improvements to Clause Weighting Local Search for Propositional Satisfiability

Improvements to Clause Weighting Local Search for Propositional Satisfiability Improvements to Clause Weighting Local Search for Propositional Satisfiability by Valnir Ferreira Jr A thesis submitted in fulfillment of the requirements of the degree of Doctor of Philosophy Institute

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

2 Alan M. Frisch and Timothy J. Peugniez which the problem is rst mapped (manually or automatically) to a non-boolean formula which is then systematic

2 Alan M. Frisch and Timothy J. Peugniez which the problem is rst mapped (manually or automatically) to a non-boolean formula which is then systematic Solving Non-Boolean Satisability Problems with Stochastic Local Search: A Comparison of Encodings Alan M. Frisch and Timothy J. Peugniez Intelligent Systems Group, Department of Computer Science, University

More information

Problem-Sensitive Restart Heuristics for the DPLL Procedure

Problem-Sensitive Restart Heuristics for the DPLL Procedure Problem-Sensitive Restart Heuristics for the DPLL Procedure Carsten Sinz and Markus Iser Research Group Verification meets Algorithm Engineering Institute for Theoretical Computer Science University of

More information

Set 5: Constraint Satisfaction Problems

Set 5: Constraint Satisfaction Problems Set 5: Constraint Satisfaction Problems ICS 271 Fall 2013 Kalev Kask ICS-271:Notes 5: 1 The constraint network model Outline Variables, domains, constraints, constraint graph, solutions Examples: graph-coloring,

More information

EMPIRICAL ANALYSIS OF LOCAL SEARCH ALGORITHMS AND PROBLEM DIFFICULTY IN SATISFIABILITY. Dave Tae Shik Yoon

EMPIRICAL ANALYSIS OF LOCAL SEARCH ALGORITHMS AND PROBLEM DIFFICULTY IN SATISFIABILITY. Dave Tae Shik Yoon EMPIRICAL ANALYSIS OF LOCAL SEARCH ALGORITHMS AND PROBLEM DIFFICULTY IN SATISFIABILITY by Dave Tae Shik Yoon A thesis submitted in conformity with the requirements for the degree of Master of Applied Science

More information

Solving the Satisfiability Problem Using Finite Learning Automata

Solving the Satisfiability Problem Using Finite Learning Automata International Journal of Computer Science & Applications Vol. 4 Issue 3, pp 15-29 2007 Technomathematics Research Foundation Solving the Satisfiability Problem Using Finite Learning Automata Ole-Christoffer

More information

Lower Bounds and Upper Bounds for MaxSAT

Lower Bounds and Upper Bounds for MaxSAT Lower Bounds and Upper Bounds for MaxSAT Federico Heras, Antonio Morgado, and Joao Marques-Silva CASL, University College Dublin, Ireland Abstract. This paper presents several ways to compute lower and

More information

Random Subset Optimization

Random Subset Optimization Random Subset Optimization Boi Faltings and Quang-Huy Nguyen Artificial Intelligence Laboratory (LIA), Swiss Federal Institute of Technology (EPFL), IN-Ecublens, CH-1015 Ecublens, Switzerland, boi.faltings

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

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

ABHELSINKI UNIVERSITY OF TECHNOLOGY

ABHELSINKI UNIVERSITY OF TECHNOLOGY Local Search Algorithms for Random Satisfiability Pekka Orponen (joint work with Sakari Seitz and Mikko Alava) Helsinki University of Technology Local Search Algorithms for Random Satisfiability 1/30 Outline

More information

Using Learning Automata to Enhance Local-Search Based SAT Solvers

Using Learning Automata to Enhance Local-Search Based SAT Solvers Using Learning Automata to Enhance Local-Search Based SAT Solvers with Learning Capability 63 5 Using Learning Automata to Enhance Local-Search Based SAT Solvers with Learning Capability Ole-Christoffer

More information

Solving the Boolean Satisfiability Problem Using Multilevel Techniques

Solving the Boolean Satisfiability Problem Using Multilevel Techniques Solving the Boolean Satisfiability Problem Using Multilevel Techniques Sirar Salih Yujie Song Supervisor Associate Professor Noureddine Bouhmala This Master s Thesis is carried out as a part of the education

More information

Efficient SAT Techniques for Absolute Encoding of Permutation Problems: Application to Hamiltonian Cycles

Efficient SAT Techniques for Absolute Encoding of Permutation Problems: Application to Hamiltonian Cycles Efficient SAT Techniques for Absolute Encoding of Permutation Problems: Application to Hamiltonian Cycles Miroslav N. Velev Ping Gao Aries Design Automation, LLC Contact author: miroslav.velev@aries-da.com

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

Exploring the Landscape of the Space of Heuristics for Local Search in SAT

Exploring the Landscape of the Space of Heuristics for Local Search in SAT Exploring the Landscape of the Space of Heuristics for Local Search in SAT Andrew W. Burnett School of Computer Science University of Nottingham Nottingham, NG8 1BB, UK Email: psxab4@exmail.nottingham.ac.uk

More information

An Efficient Global-Search Strategy in Discrete Lagrangian Methods for Solving Hard Satisfiability Problems

An Efficient Global-Search Strategy in Discrete Lagrangian Methods for Solving Hard Satisfiability Problems From: AAAI-00 Proceedings. Copyright 2000, AAAI (www.aaai.org). All rights reserved. An Efficient Global-Search Strategy in Discrete Lagrangian Methods for Solving Hard Satisfiability Problems Zhe Wu and

More information

The Island Confinement Method for Reducing Search Space in Local Search Methods

The Island Confinement Method for Reducing Search Space in Local Search Methods The Island Confinement Method for Reducing Search Space in Local Search Methods H. Fang Y. Kilani J.H.M. Lee P.J. Stuckey July 14, 2006 Abstract Typically local search methods for solving constraint satisfaction

More information

GSAT Enhanced with Learning Automata and Multilevel Paradigm

GSAT Enhanced with Learning Automata and Multilevel Paradigm www.ijcsi.org 38 GSAT Enhanced with Learning Automata and Multilevel Paradigm Noureddine Bouhmala 1 and Ole-Christoffer Granmo 2 1 Department of Maritime Technology and Innovation, Vestfold University

More information

Hybrid solvers for the Boolean Satisfiability problem: an exploration

Hybrid solvers for the Boolean Satisfiability problem: an exploration Rowan University Rowan Digital Works Theses and Dissertations 12-12-2012 Hybrid solvers for the Boolean Satisfiability problem: an exploration Nicole Nelson Follow this and additional works at: http://rdw.rowan.edu/etd

More information

Meta-algorithmic techniques in SAT solving: Automated configuration, selection and beyond

Meta-algorithmic techniques in SAT solving: Automated configuration, selection and beyond Meta-algorithmic techniques in SAT solving: Automated configuration, selection and beyond Holger H. Hoos BETA Lab Department of Computer Science University of British Columbia Canada SAT/SMT Summer School

More information

Towards an Understanding of Hill-climbing. Procedures for SAT. Ian P. Gent. Abstract

Towards an Understanding of Hill-climbing. Procedures for SAT. Ian P. Gent. Abstract Towards an Understanding of Hill-climbing Procedures for SAT Ian P. Gent Toby Walsh y Draft of January 12, 1993 Abstract Recently several local hill-climbing procedures for propositional satis- ability

More information

Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms

Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms Frank Hutter, Youssef Hamadi, Holger H. Hoos, and Kevin Leyton-Brown University of British Columbia, 366 Main Mall, Vancouver

More information

Satisfiability (SAT) Applications. Extensions/Related Problems. An Aside: Example Proof by Machine. Annual Competitions 12/3/2008

Satisfiability (SAT) Applications. Extensions/Related Problems. An Aside: Example Proof by Machine. Annual Competitions 12/3/2008 15 53:Algorithms in the Real World Satisfiability Solvers (Lectures 1 & 2) 1 Satisfiability (SAT) The original NP Complete Problem. Input: Variables V = {x 1, x 2,, x n }, Boolean Formula Φ (typically

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

Simple mechanisms for escaping from local optima:

Simple mechanisms for escaping from local optima: The methods we have seen so far are iterative improvement methods, that is, they get stuck in local optima. Simple mechanisms for escaping from local optima: I Restart: re-initialise search whenever a

More information

The Exponentiated Subgradient Algorithm for Heuristic Boolean Programming

The Exponentiated Subgradient Algorithm for Heuristic Boolean Programming The Exponentiated Subgradient Algorithm for Heuristic Boolean Programming Dale Schuurmans and Finnegan Southey Department of Computer Science University of Waterloo fdale,fdjsouthg@cs.uwaterloo.ca Robert

More information

Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms

Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms Frank Hutter 1, Youssef Hamadi 2, Holger Hoos 1, and Kevin Leyton-Brown 1 1 University of British Columbia, Vancouver,

More information

Module 4. Constraint satisfaction problems. Version 2 CSE IIT, Kharagpur

Module 4. Constraint satisfaction problems. Version 2 CSE IIT, Kharagpur Module 4 Constraint satisfaction problems Lesson 10 Constraint satisfaction problems - II 4.5 Variable and Value Ordering A search algorithm for constraint satisfaction requires the order in which variables

More information

Logic: TD as search, Datalog (variables)

Logic: TD as search, Datalog (variables) Logic: TD as search, Datalog (variables) Computer Science cpsc322, Lecture 23 (Textbook Chpt 5.2 & some basic concepts from Chpt 12) June, 8, 2017 CPSC 322, Lecture 23 Slide 1 Lecture Overview Recap Top

More information

MajorSat: A SAT Solver to Majority Logic

MajorSat: A SAT Solver to Majority Logic MajorSat: A SAT Solver to Majority Logic Speaker : Ching-Yi Huang Authors: Yu-Min Chou, Yung-Chih Chen *, Chun-Yao Wang, Ching-Yi Huang National Tsing Hua University, Taiwan * Yuan Ze University, Taiwan

More information

Automatic Algorithm Configuration based on Local Search

Automatic Algorithm Configuration based on Local Search Automatic Algorithm Configuration based on Local Search Frank Hutter 1 Holger Hoos 1 Thomas Stützle 2 1 Department of Computer Science University of British Columbia Canada 2 IRIDIA Université Libre de

More information

Problem Solving and Search in Artificial Intelligence

Problem Solving and Search in Artificial Intelligence Problem Solving and Search in Artificial Intelligence Algorithm Configuration Nysret Musliu Database and Artificial Intelligence Group, Institut of Logic and Computation, TU Wien Motivation Metaheuristic

More information

Extending the Reach of SAT with Many-Valued Logics

Extending the Reach of SAT with Many-Valued Logics Extending the Reach of SAT with Many-Valued Logics Ramón Béjar a, Alba Cabiscol b,césar Fernández b, Felip Manyà b and Carla Gomes a a Dept. of Comp. Science, Cornell University, Ithaca, NY 14853 USA,

More information

The log-support encoding of CSP into SAT

The log-support encoding of CSP into SAT The log-support encoding of CSP into SAT Marco Gavanelli 1 Dept. of Engineering, Ferrara University, WWW home page: http://www.ing.unife.it/docenti/marcogavanelli/ Abstract. Various encodings have been

More information

Evolutionary Algorithms for the Satisfiability Problem

Evolutionary Algorithms for the Satisfiability Problem Evolutionary Algorithms for the Satisfiability Problem Jens Gottlieb SAP AG, Neurottstrasse 16, 69190 Walldorf, Germany jens.gottlieb@sap.com Elena Marchiori elena@cs.vu.nl Department of Computer Science,

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

Morphing: Combining Structure and Randomness

Morphing: Combining Structure and Randomness From: AAAI-99 Proceedings. Copyright 1999, AAAI (www.aaai.org). All rights reserved. Morphing: Combining Structure and Randomness Ian P. Gent Department of Computer Science University of Strathclyde Glasgow

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

Michela Milano Andrea Roli DEIS Università di Bologna V.le Risorgimento, Bologna ITALY

Michela Milano Andrea Roli DEIS Università di Bologna V.le Risorgimento, Bologna ITALY 6ROYLQJWKH6DWLVILDELOLW\3UREOHP 7KURXJK%RROHDQ1HWZRUNV Michela Milano Andrea Roli DEIS Università di Bologna V.le Risorgimento, 2 40136 Bologna ITALY email: mmilano@deis.unibo.it, roli.a@mail.aitec.it

More information

Random SAT Instances a la Carte

Random SAT Instances a la Carte Random SAT Instances a la Carte Carlos Ansótegui María Luisa Bonet DIEI, UdL, Lleida, Spain LSI, UPC, Barcelona, Spain Jordi Levy IIIA, CSIC, Barcelona, Spain CCIA 08, Empuries Random SAT Instances a la

More information

Improving Local Search for Bit-Vector Logics in SMT with Path Propagation

Improving Local Search for Bit-Vector Logics in SMT with Path Propagation Improving Local Search for Bit-Vector Logics in SMT with Path Propagation Aina Niemetz, Mathias Preiner, Andreas Fröhlich and Armin Biere Institute for Formal Models and Verification (FMV) Johannes Kepler

More information

Solving Constraint Satisfaction Problems by Artificial Bee Colony with Greedy Scouts

Solving Constraint Satisfaction Problems by Artificial Bee Colony with Greedy Scouts , 23-25 October, 2013, San Francisco, USA Solving Constraint Satisfaction Problems by Artificial Bee Colony with Greedy Scouts Yuko Aratsu, Kazunori Mizuno, Hitoshi Sasaki, Seiichi Nishihara Abstract In

More information