PBS: A Pseudo-Boolean Solver and Optimizer

Size: px
Start display at page:

Download "PBS: A Pseudo-Boolean Solver and Optimizer"

Transcription

1 PBS: A Pseudo-Boolean Soler and Optimizer Fadi A. Aloul, Arathi Ramani, Igor L. Marko, Karem A. Sakallah Uniersity of Michigan 2002 Fadi A. Aloul, Uniersity of Michigan

2 Motiation SAT Solers Apps: Verification, Routing, ATPG, Timing Analysis Problem Type: CSP Problem Format: CNF Example: Chaff, GRASP, SATO Generic ILP Solers Apps: Routing, Planning, Scheduling Problem Type: CSP/Optimization Problem Format: ILP Example: CPLEX, LP_Sole Specialized 0/1 ILP Solers Apps: Verification, Routing, Binate Coering Problem Type: CSP/Optimization Problem Format: CNF/PB (0/1 ILP) Example: Satire, BSOLO, OPBDP, WSAT 2002 Fadi A. Aloul, Uniersity of Michigan

3 Motiation SAT Solers Generic ILP Solers Channel i 012 Specialized 0-1 ILP Solers Many applications require Counting Constraints that impose upper/lower bounds on number of objects Introduce a new specialized 0-1 ILP SAT soler Describe Pseudo-Boolean (PB) search algorithms Adapt SAT applications expressed in pure CNF to CNF/PB format Empirically demonstrate effectieness in EDA applications 2002 Fadi A. Aloul, Uniersity of Michigan

4 Outline Boolean Satisfiability adances Processing Pseudo-Boolean constraints Applications CSP Optimization Experimental ealuation Conclusions 2002 Fadi A. Aloul, Uniersity of Michigan

5 Backtrack Search (DPLL) Init Decision Engine Succeed Deduction Engine Fail SAT No Conflict Exist Diagnosis Engine UNS Yes Fail 2002 Fadi A. Aloul, Uniersity of Michigan Succeed

6 Decision Strategy Init Decision Engine Deduction Engine No Conflict Exist UNS Succeed Yes Diagnosis Engine Fail Fail SAT Succeed Significantly improes the search performance Classified as: Static Dynamic Chaff introduced dynamic VSIDS: 2002 Fadi A. Aloul, Uniersity of Michigan Shown to be effectie on most benchmarks Selects most common literal and emphasizes ariables in recent conflicts

7 Improed BCP Decision Engine Deduction Engine No Init Conflict Exist Succeed Diagnosis Engine UNS Yes Fail Fail SAT Succeed Keeps track of any two unresoled literals in each clause instead of keeping track of all literals Leads to significant improements oer conentional BCP [Moskewicz et al., Zhang et al.] 2002 Fadi A. Aloul, Uniersity of Michigan

8 Conflict Diagnosis and Clause Deletion Init Decision Engine Succeed Deduction Engine No Conflict Exist Diagnosis Engine UNS Yes Fail Fail SAT Succeed Add conflict-induced clauses to aoid regenerating similar conflicts in future parts of the search process Very effectie in expediting the search process Allows non-chronological backtracking 1UIP learning scheme shown to perform best among other learning schemes [Zhang et al.] 2002 Fadi A. Aloul, Uniersity of Michigan

9 Random Restarts and Backtracking Init Decision Engine Succeed Deduction Engine No Conflict Exist Diagnosis Engine UNS Yes Fail Fail SAT Succeed Soler often gets stuck in local non-useful search space Random restarts periodically unassigns all decisions and randomly selects a new decision sequence Restarts ensures that different sub-trees are searched at eery restart Randomization can be combined with backtracking 2002 Fadi A. Aloul, Uniersity of Michigan

10 Outline Boolean Satisfiability adances Processing Pseudo-Boolean constraints Applications CSP Optimization Experimental ealuation Conclusions 2002 Fadi A. Aloul, Uniersity of Michigan

11 Pseudo-Boolean Constraints c1 x1 L cn xn ~ c i, g Z ~ { =,, } x i Literals g Clauses can be generalized as a PB constraint: (x y) (x y 1) None of the presented algorithms rely on the integrality of ci and can be implemented for floating-point ci 2002 Fadi A. Aloul, Uniersity of Michigan

12 2002 Fadi A. Aloul, Uniersity of Michigan Motiating Example Objectie: limit the true assignments to k ars out of the n ars Solution: 1 k n ( 1) k CNF: clauses Each of size PB: single PB constraint at most 2 out of 1, 2, 3, 4, 5, can be true Pure CNF: PB form: ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) ( ) (

13 PB Constraint Data Structure Struct PBConstraint { Goal n; constraint type ~; list of ci and xi s; initlhs; // sum of all ci s LHS; // alue of LHS based on current ariable assignment maxlhs; // maximal possible alue of LHS gien the current ariable assignment } For efficiency: Sort the list of cixi in order of increasing ci Conert all negatie ci to positie: i.e. c1x1 c2x2 n c1x1 c2(1 x2) n c1x1 c2x2 n c Fadi A. Aloul, Uniersity of Michigan

14 Algorithms for PB Search Assigning i to 1: For each literal xi of i If positie xi, LHS = ci If negatie xi, maxlhs -= ci Unassigning i from 1: For each literal xi of i If positie xi, LHS -= ci If negatie xi, maxlhs = ci PB constraint state: type SAT: LHS goal UNS: maxlhs < goal type SAT: maxlhs goal UNS: LHS > goal 2002 Fadi A. Aloul, Uniersity of Michigan 5x16x23x3 12 LHS = 0 maxlhs = 14 5x16x23x3 12 LHS = 5 maxlhs = 14 5x16x23x3 12 LHS = 5 maxlhs = 8 SATISFIABLE

15 Algorithms for PB Search Identifying implications type if ci > goal LHS, xi = 0 Implied by literals in PB assigned to 1 type if ci > maxlhs goal, xi =1 Implied by literals in PB assigned to 0 5x16x23x3 12 LHS = 0 maxlhs = 14 goal - LHS = 12 5x16x23x3 12 LHS = 8 maxlhs = 14 goal - LHS = 4 Imply x2= Fadi A. Aloul, Uniersity of Michigan

16 Algorithms for PB Search Identifying implications type if ci > goal LHS, xi = 0 Implied by literals in PB assigned to 1 type if ci > maxlhs goal, xi =1 Implied by literals in PB assigned to 0 5x16x23x3 10 LHS = 0 maxlhs = 14 maxlhs - goal = 4 Imply x1=x2= Fadi A. Aloul, Uniersity of Michigan

17 Outline Boolean Satisfiability adances Processing Pseudo-Boolean constraints Applications CSP Optimization Experimental ealuation Conclusions 2002 Fadi A. Aloul, Uniersity of Michigan

18 Applications - CSP Global Routing 2-D grid of cells arranged in rows/columns S S S Cell boundaries are edges E E Capacity C is associated with each edge (no more than C routes can pass) E E S Goal: route number of 2-pin connections in the grid with edge capacities Generate satisfiable instances using randomized flooding 2002 Fadi A. Aloul, Uniersity of Michigan

19 Global Routing Formulation Connectiity constraints (for each net) Exactly one edge selected at start/end point If cell is a mid-point, either two or no edges are selected Capacity constraints A net can use a single track across an edge No two nets can use the same track across an edge S E E S W W N N E E Create a ariable for each edge/net 2 x 12 = 24 ariables ( N W )( N E)( W ( W N E) E) 2002 Fadi A. Aloul, Uniersity of Michigan

20 Global Routing Formulation Connectiity constraints (for each net) Exactly one edge selected at start/end point If cell is a mid-point, either two or no edges are selected Capacity constraints A net can use a single track across an edge No two nets can use the same track across an edge S E E S W W N N E E Create a ariable for each edge/net 2 x 12 = 24 ariables ( N E ( N W )( N E W )( N E W ) E W ) 2002 Fadi A. Aloul, Uniersity of Michigan

21 Global Routing Formulation Connectiity constraints (for each net) Exactly one edge selected at start/end point If cell is a mid-point, either two or no edges are selected Capacity constraints 30 Nets A net can use a single 10 Cap track across an edge #Cl = 55M No two nets can use the same track across an s. edge 1 PB S E E S W W N N E E Create a ariable for each edge/net 2 x 12 = 24 ariables # Cl purecnf CNF/PB # Nets = Cap 1 i Cap all _ nets 2002 Fadi A. Aloul, Uniersity of Michigan

22 Global Routing Formulation Connectiity constraints (for each net) Exactly one edge selected at start/end point If cell is a mid-point, either two or no edges are selected Capacity constraints Additional A net can use Variablesa single track across & an Clauses edge No two nets can use the same track across an edge 2002 Fadi A. Aloul, Uniersity of Michigan S E E S N1 N1 N2 N2 W1 W1 W2 W2 E1 E1 E2 E2 Create Cap ariables per edge/net 2 x 2 x 12 = 48 ariables # Cl = purecnf Cap 2 # Nets 2 (# Nets) ( Cap)

23 Applications - optimization Max-ONEs Seeks an assignment that Satisfies all constraints Maximizes the number of ariables assigned to true Useful to represent Max-Clique problems Vertex Coer can be reduced to Min-ONEs Use a single PB constraint of type that includes each ariable with coefficient 1 Iteratiely increase the lower bound until the problem becomes unsatisfiable Extendable to Weighted Max-ONEs 2002 Fadi A. Aloul, Uniersity of Michigan

24 Applications - optimization Max-SAT Finds an assignment that Satisfies maximum possible number of clauses Generalization of SAT Proides more info for unsatisfiable instances Used to represent Max-CUT problems Expressed using a single PB constraint Soled using PBS Addressed indirectly using WalkSAT 2002 Fadi A. Aloul, Uniersity of Michigan

25 Outline Boolean Satisfiability adances Processing Pseudo-Boolean constraints Applications CSP Optimization Experimental ealuation Conclusions 2002 Fadi A. Aloul, Uniersity of Michigan

26 Experimental Setup Platform: Pentium-II 300 MHz with 512MB RAM running Linux Runtime limit: 5000 sec PBS Implemented in C PBS settings: VSIDS decision heuristic Optimized BCP Random Restarts 1 st UIP conflict analysis learning scheme Clause deletion/random backtracking disabled 2002 Fadi A. Aloul, Uniersity of Michigan

27 Global Routing Experiment Instance CNF pseudo-boolean pure CNF PBS Speedup V C #PB PBS SATIRE OPBDP V C Chaff Satire OPBDP Chaff grout grout grout grout grout grout grout grout grout grout grout grout grout grout grout Fadi A. Aloul, Uniersity of Michigan

28 MaxONE Experiment Benchmark Instance ONEs SATIRE OBPDP Satisfiable Max- PBS Speedup V C PBS SATIRE OPBDP DIMACS aim-50-1_6-yes aim-100-1_6-yes aim-200-2_0-yes1_ ii8b jnh jnh par par8-2-c Beijing 3blocks QG qg qg Planning bw_a bw_b bw_c Fadi A. Aloul, Uniersity of Michigan

29 Conclusions Adapting SAT apps to use CNF/PB constraints leads to memory saings and runtime reductions Proposed new specialized 0-1 ILP soler, PBS Confirmed effectieness on real world examples: Global routing consistency instances Max-ONEs optimization problems (extendable to Max-SAT, Min-ONEs) 2002 Fadi A. Aloul, Uniersity of Michigan

30 Future Works Compare state-of-the-art Generic ILP solers, such as CPLEX, to specialized 0-1 ILP solers Apply PBS to Max-SAT and Min-ONEs problems Study applications to Max-Clique, Max Independent Set, and Min Vertex Coer 2002 Fadi A. Aloul, Uniersity of Michigan

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

ON SOLVING OPTIMIZATION PROBLEMS USING BOOLEAN SATISFIABILITY

ON SOLVING OPTIMIZATION PROBLEMS USING BOOLEAN SATISFIABILITY ON SOLVING OPTIMIZATION PROBLEMS USING BOOLEAN SATISFIABILITY Fadi A. Aloul American University of Sharjah Department of Computer Engineering P.O. Box 26666, Sharjah, UAE faloul@ausharjah.edu ABSTRACT

More information

An Experimental Evaluation of Conflict Diagnosis and Recursive Learning in Boolean Satisfiability

An Experimental Evaluation of Conflict Diagnosis and Recursive Learning in Boolean Satisfiability An Experimental Evaluation of Conflict Diagnosis and Recursive Learning in Boolean Satisfiability Fadi A. Aloul and Karem A. Sakallah Department of Electrical Engineering and Computer Science University

More information

Symmetry Breaking for Pseudo-Boolean Formulas

Symmetry Breaking for Pseudo-Boolean Formulas Symmetry Breaking for Pseudo-Boolean Formulas FADI A. ALOUL American University of Sharjah and ARATHI RAMANI, IGOR L. MARKOV, and KAREM A. SAKALLAH University of Michigan, Ann Arbor 1.3 Many important

More information

Dynamic Symmetry-Breaking for Boolean Satisfiability

Dynamic Symmetry-Breaking for Boolean Satisfiability Noname manuscript No. (will be inserted by the editor) Dynamic Symmetry-Breaking for Boolean Satisfiability Fadi A. Aloul 1, Arathi Ramani 2, Igor L. Markov 3 and Karem A. Sakallah 3 1 Dept. of Computer

More information

On Computing Minimum Size Prime Implicants

On Computing Minimum Size Prime Implicants On Computing Minimum Size Prime Implicants João P. Marques Silva Cadence European Laboratories / IST-INESC Lisbon, Portugal jpms@inesc.pt Abstract In this paper we describe a new model and algorithm for

More information

Search techniques for SAT-based Boolean optimization

Search techniques for SAT-based Boolean optimization Journal of the Franklin Institute ] (]]]]) ]]] ]]] www.elsevier.com/locate/jfranklin Search techniques for SAT-based Boolean optimization Fadi A. Aloul Department of Computer Engineering, American University

More information

Satisfiability-Based Algorithms for 0-1 Integer Programming

Satisfiability-Based Algorithms for 0-1 Integer Programming Satisfiability-Based Algorithms for 0-1 Integer Programming Vasco M. Manquinho, João P. Marques Silva, Arlindo L. Oliveira and Karem A. Sakallah Cadence European Laboratories / INESC Instituto Superior

More information

Learning Techniques for Pseudo-Boolean Solving

Learning Techniques for Pseudo-Boolean Solving José Santos IST/UTL, INESC-ID Lisbon, Portugal jffs@sat.inesc-id.pt Vasco Manquinho IST/UTL, INESC-ID Lisbon, Portugal vmm@sat.inesc-id.pt Abstract The extension of conflict-based learning from Propositional

More information

On Applying Cutting Planes in DLL-Based Algorithms for Pseudo-Boolean Optimization

On Applying Cutting Planes in DLL-Based Algorithms for Pseudo-Boolean Optimization On Applying Cutting Planes in DLL-Based Algorithms for Pseudo-Boolean Optimization Vasco Manquinho and João Marques-Silva Technical University of Lisbon, IST/INESC-ID, Lisbon, Portugal {vmm, jpms}@sat.inesc-id.pt

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

Effective Lower Bounding Techniques for Pseudo-Boolean Optimization

Effective Lower Bounding Techniques for Pseudo-Boolean Optimization Effective Lower Bounding Techniques for Pseudo-Boolean Optimization Vasco M. Manquinho and João Marques-Silva IST/INESC-ID, Technical University of Lisbon, Portugal {vmm,jpms}@sat.inesc-id.pt Abstract

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

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

Zchaff: A fast SAT solver. Zchaff: A fast SAT solver

Zchaff: A fast SAT solver. Zchaff: A fast SAT solver * We d like to build a complete decision procedure for SAT which is efficient. Generalized D-P-L algorithm: while (true) { if (! decide( )) /* no unassigned variables */ return (sat) while (! bcp ( ))

More information

Search Pruning Conditions for Boolean Optimization

Search Pruning Conditions for Boolean Optimization Search Pruning Conditions for Boolean Optimization Vasco M. Manquinho vmm@algos.inesc.pt Polytechnical Institute of Portalegre Portalegre, Portugal João Marques-Silva jpms@inesc.pt Technical University

More information

Boolean Satisfiability Solving Part II: DLL-based Solvers. Announcements

Boolean Satisfiability Solving Part II: DLL-based Solvers. Announcements EECS 219C: Computer-Aided Verification Boolean Satisfiability Solving Part II: DLL-based Solvers Sanjit A. Seshia EECS, UC Berkeley With thanks to Lintao Zhang (MSR) Announcements Paper readings will be

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

Faster SAT and Smaller BDDs via Common Function Structure

Faster SAT and Smaller BDDs via Common Function Structure Faster SAT and Smaller BDDs via Common Function Structure Fadi A. Aloul Igor L. Markov Karem A. Sakallah Technical Report December 10, 2001 THE UNIVERSITY OF MICHIGAN Computer Science and Engineering Division

More information

Faster SAT and Smaller BDDs via Common Function Structure

Faster SAT and Smaller BDDs via Common Function Structure Faster SAT and Smaller BDDs via Common Function Structure Fadi A. Aloul Igor L. Markov Karem A. Sakallah Technical Report December 12, 2001 THE UNIVERSITY OF MICHIGAN Computer Science and Engineering Division

More information

GRASP A New Search Algorithm for Satisfiability

GRASP A New Search Algorithm for Satisfiability Thi d d i h F M k 4 0 4 GRASP A New Search Algorithm for Satisfiability João P. Marques Silva Karem A. Sakallah Cadence European Laboratories Department of EECS IST/INESC University of Michigan 1000 Lisboa,

More information

Integration of Supercubing and Learning in a SAT Solver

Integration of Supercubing and Learning in a SAT Solver Integration of Supercubing and Learning in a SAT Solver Domagoj Babić and Alan J. Hu Department of Computer Science University of British Columbia {babic,ajh}@cs.ubc.ca Abstract Learning is an essential

More information

Chaff: Engineering an Efficient SAT Solver

Chaff: Engineering an Efficient SAT Solver Chaff: Engineering an Efficient SAT Solver Matthew W.Moskewicz, Concor F. Madigan, Ying Zhao, Lintao Zhang, Sharad Malik Princeton University Slides: Tamir Heyman Some are from Malik s presentation Last

More information

Search Pruning Conditions for Boolean Optimization

Search Pruning Conditions for Boolean Optimization Search Pruning Conditions for Boolean Optimization Vasco M. Manquinho vmm@algos.inesc.pt Polytechnical Institute of Portalegre Portalegre, Portugal João Marques-Silva jpms@inesc.pt Technical University

More information

Conditions for Non-Chronological Backtracking in Boolean Optimization

Conditions for Non-Chronological Backtracking in Boolean Optimization Conditions for Non-Chronological Backtracking in Boolean Optimization Vasco M. Manquinho vmm@algos.inesc.pt Polytechnical Institute of Portalegre Portalegre, Portugal João Marques-Silva jpms@inesc.pt Technical

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

MINCE: A Static Global Variable-Ordering for SAT and BDD

MINCE: A Static Global Variable-Ordering for SAT and BDD IWLS 2001 281 MINCE: A Static Global Variable-Ordering for SAT and BDD Fadi A. Aloul, Igor L. Markov, Karem A. Sakallah {faloul, imarkov, karem}@umich.edu Electrical Engineering and Computer Science University

More information

Combinational Equivalence Checking

Combinational Equivalence Checking Combinational Equivalence Checking Virendra Singh Associate Professor Computer Architecture and Dependable Systems Lab. Dept. of Electrical Engineering Indian Institute of Technology Bombay viren@ee.iitb.ac.in

More information

THE UNIVERSITY OF MICHIGAN. GRASP A New Search Algorithm for Satisfiability

THE UNIVERSITY OF MICHIGAN. GRASP A New Search Algorithm for Satisfiability GRASP A New Search Algorithm for Satisfiability João P. Marques Silva Karem A. Sakallah CSE-TR-292-96 April 10, 1996 THE UNIVERSITY OF MICHIGAN Computer Science and Engineering Division Department of Electrical

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

Routing and Wavelength Assignment in Optical Networks Using Boolean Satisfiability

Routing and Wavelength Assignment in Optical Networks Using Boolean Satisfiability Routing and Wavelength Assignment in Optical Networks Using Boolean Satisfiability Fadi A. Aloul Computer Engineering Department American University of Sharjah faloul@aus.edu Bashar Al-Rawi Dept. of Computer

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

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

Advances and Insights into Parallel SAT Solving

Advances and Insights into Parallel SAT Solving Advances and Insights into Parallel SAT Solving Stephen Plaza, Ian Kountanis, Zaher Andraus, Valeria Bertacco, Trevor Mudge EECS Department, University of Michigan, Ann Arbor, MI 48109-2121 {splaza, ikountan,

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

BerkMin: a Fast and Robust Sat-Solver

BerkMin: a Fast and Robust Sat-Solver BerkMin: a Fast and Robust Sat-Solver Evgueni Goldberg Cadence Berkeley Labs(USA), Email: egold@cadence.com Yakov Novikov Academy of Sciences (Belarus), Email: nov@newman.bas-net.by Abstract We describe

More information

Solving Optimization Problems with DLL

Solving Optimization Problems with DLL Solving Optimization Problems with DLL Enrico Giunchiglia 1 and Marco Maratea 1, 2 Abstract. Propositional satisfiability (SAT) is a success story in Computer Science and Artificial Intelligence: SAT solvers

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

SAT Solver Heuristics

SAT Solver Heuristics SAT Solver Heuristics SAT-solver History Started with David-Putnam-Logemann-Loveland (DPLL) (1962) Able to solve 10-15 variable problems Satz (Chu Min Li, 1995) Able to solve some 1000 variable problems

More information

CDCL SAT Solvers. Joao Marques-Silva. Theory and Practice of SAT Solving Dagstuhl Workshop. April INESC-ID, IST, ULisbon, Portugal

CDCL SAT Solvers. Joao Marques-Silva. Theory and Practice of SAT Solving Dagstuhl Workshop. April INESC-ID, IST, ULisbon, Portugal CDCL SAT Solvers Joao Marques-Silva INESC-ID, IST, ULisbon, Portugal Theory and Practice of SAT Solving Dagstuhl Workshop April 2015 The Success of SAT Well-known NP-complete decision problem [C71] The

More information

Unrestricted Backtracking Algorithms for Satisfiability

Unrestricted Backtracking Algorithms for Satisfiability From: AAAI Technical Report FS-01-04. Compilation copyright 2001, AAAI (www.aaai.org). All rights reserved. Unrestricted Backtracking Algorithms for Satisfiability I. Lynce, L. Baptista and J. Marques-Silva

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

Variable Ordering for Efficient SAT Search by Analyzing Constraint-Variable Dependencies

Variable Ordering for Efficient SAT Search by Analyzing Constraint-Variable Dependencies Variable Ordering for Efficient SAT Search by Analyzing Constraint-Variable Dependencies Vijay Durairaj and Priyank Kalla Department of Electrical and Computer Engineering University of Utah, Salt Lake

More information

Technology Mapping Targeting Routing Congestion under Delay Constraints

Technology Mapping Targeting Routing Congestion under Delay Constraints 1 Technology Mapping Targeting Routing Congestion under Delay Constraints Rupesh S. Shelar, Member, IEEE, Prashant Saxena, and Sachin S. Sapatnekar, Fellow, IEEE Abstract Routing congestion has become

More information

A Lightweight Component Caching Scheme for Satisfiability Solvers

A Lightweight Component Caching Scheme for Satisfiability Solvers A Lightweight Component Caching Scheme for Satisfiability Solvers Knot Pipatsrisawat and Adnan Darwiche {thammakn,darwiche}@cs.ucla.edu Computer Science Department University of California, Los Angeles

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

Parallel Search for Boolean Optimization

Parallel Search for Boolean Optimization Parallel Search for Boolean Optimization Ruben Martins, Vasco Manquinho, and Inês Lynce IST/INESC-ID, Technical University of Lisbon, Portugal {ruben,vmm,ines}@sat.inesc-id.pt Abstract. The predominance

More information

Memory Efficient All-Solutions SAT Solver and its Application for Reachability Analysis

Memory Efficient All-Solutions SAT Solver and its Application for Reachability Analysis Memory Efficient All-Solutions SAT Solver and its Application for Reachability Analysis Orna Grumberg, Assaf Schuster, and Avi Yadgar Computer Science Department, Technion, Haifa, Israel. Abstract. This

More information

Conflict Driven Learning and Non-chronological Backtracking

Conflict Driven Learning and Non-chronological Backtracking x1 + x4 Conflict Driven Learning and Conflict Driven Learning and x1 + x4 x1 x1=0 x1=0 Conflict Driven Learning and x1 + x4 x1 x1=0 x1=0 Conflict Driven Learning and x1 + x4 x1 x1=0, x4=1 x1=0 x4=1 Conflict

More information

Guiding Real-World SAT Solving with Dynamic Hypergraph Separator Decomposition

Guiding Real-World SAT Solving with Dynamic Hypergraph Separator Decomposition Guiding Real-World SAT Solving with Dynamic Hypergraph Separator Decomposition Wei Li and Peter van Beek School of Computer Science University of Waterloo 200 University Ave. West Waterloo, Ontario N2L

More information

Effective Bounding Techniques For Solving Unate and Binate Covering Problems. Matthias F. Stallmann. Raleigh, NC, USA.

Effective Bounding Techniques For Solving Unate and Binate Covering Problems. Matthias F. Stallmann. Raleigh, NC, USA. Effective Bounding Techniques For Solving Unate and Binate Covering Problems Xiao Yu Li Matthias F. Stallmann Franc Brglez Seattle, WA, USA Raleigh, NC, USA Raleigh, NC, USA 2/3/7 Related Work Unate (Set)

More information

Solving the Minimum-Cost Satisfiability Problem Using SAT Based Branch-and-Bound Search

Solving the Minimum-Cost Satisfiability Problem Using SAT Based Branch-and-Bound Search Solving the Minimum-Cost Satisfiability Problem Using SAT Based Branch-and-Bound Search ABSTRACT Boolean Satisfiability (SAT) has seen many successful applications in various fields, such as Electronic

More information

Effective Bounding Techniques For Solving Unate and Binate Covering Problems

Effective Bounding Techniques For Solving Unate and Binate Covering Problems Effective Bounding Techniques For Solving Unate and Binate Covering Problems Xiao Yu Li Matthias F. Stallmann Franc Brglez Seattle, WA, USA Raleigh, NC, USA Raleigh, NC, USA 0/7/07 Related Work Unate (Set)

More information

Breaking Instance-Independent Symmetries in Exact Graph Coloring

Breaking Instance-Independent Symmetries in Exact Graph Coloring Journal of Artificial Intelligence Research 26 (2006) 191-224 Submitted 10/04; published 07/06 Breaking Instance-Independent Symmetries in Exact Graph Coloring Arathi Ramani Igor L. Markov Karem A. Sakallah

More information

Circuit versus CNF Reasoning for Equivalence Checking

Circuit versus CNF Reasoning for Equivalence Checking Circuit versus CNF Reasoning for Equivalence Checking Armin Biere Institute for Formal Models and Verification Johannes Kepler University Linz, Austria Equivalence Checking Workshop 25 Madonna di Campiglio,

More information

Using Synthesis Techniques in SAT Solvers

Using Synthesis Techniques in SAT Solvers 1. Introduction Using Synthesis Techniques in SAT Solvers Rolf Drechsler Institute of Computer Science University of Bremen 28359 Bremen, Germany drechsle@informatik.uni-bremen.de Abstract In many application

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

Using Cutwidth to Improve Symbolic Simulation and Boolean Satisfiability Λ

Using Cutwidth to Improve Symbolic Simulation and Boolean Satisfiability Λ Using Cutwidth to Improve Symbolic Simulation and Boolean Satisfiability Λ Dong Wang Edmund Clarke Carnegie Mellon University Pittsburgh, PA 15213 femc,dongwg@cs.cmu.edu Yunshan Zhu James Kukula Synopsys

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 Vasco Manquinho IST/INESC-ID, Technical University of Lisbon, Portugal 20/09/2009 Lisbon, Portugal Motivation

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

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

Boolean Satisfiability: From Theoretical Hardness to Practical Success. Sharad Malik Princeton University

Boolean Satisfiability: From Theoretical Hardness to Practical Success. Sharad Malik Princeton University Boolean Satisfiability: From Theoretical Hardness to Practical Success Sharad Malik Princeton University SAT in a Nutshell Given a Boolean formula, find a variable assignment such that the formula evaluates

More information

On Proof Systems Behind Efficient SAT Solvers. DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor

On Proof Systems Behind Efficient SAT Solvers. DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor On Proof Systems Behind Efficient SAT Solvers DoRon B. Motter and Igor L. Markov University of Michigan, Ann Arbor Motivation Best complete SAT solvers are based on DLL Runtime (on unsat instances) is

More information

On Hybrid SAT Solving Using Tree Decompositions and BDDs

On Hybrid SAT Solving Using Tree Decompositions and BDDs On Hybrid SAT Solving Using Tree Decompositions and BDDs Sathiamoorthy Subbarayan Lucas Bordeaux Youssef Hamadi March 2006 Technical Report MSR-TR-2006-28 The goal of this paper is to study the benefits

More information

Checking Satisfiability of a Conjunction of BDDs

Checking Satisfiability of a Conjunction of BDDs 48. Checking Satisfiability of a Conjunction of BDDs Robert Damiano Advanced Technology Group Synopsys, Inc. Hillsboro, OR robertd@synopsys.com James Kukula Advanced Technology Group Synopsys, Inc. Hillsboro,

More information

Bounded Model Checking with Parametric Data Structures

Bounded Model Checking with Parametric Data Structures Bounded Model Checking with Marc Herbstritt (joint work with Erika Ábrahám, Bernd Becker, Martin Steffen) www.avacs.org August 15 2006 4th International Workshop on Bounded Model Checking Context Automated

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

AMUSE: A Minimally-Unsatisfiable Subformula Extractor

AMUSE: A Minimally-Unsatisfiable Subformula Extractor AMUSE: A Minimally-Unsatisfiable Subformula Extractor Yoonna Oh, Maher N. Mneimneh, Zaher S. Andraus, Karem A. Sakallah, Igor L. Markov Department of Electrical Engineering and Computer Science University

More information

Efficient Symbolic Multi Objective Design Space Exploration

Efficient Symbolic Multi Objective Design Space Exploration This is the author s version of the work. The definitive work was published in Proceedings of the 3th Asia and South Pacific Design Automation Conference (ASP-DAC 2008), pp. 69-696, 2008. The work is supported

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

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

Inference methods for a pseudo-boolean satisfiability solver

Inference methods for a pseudo-boolean satisfiability solver Inference methods for a pseudo-boolean satisfiability solver Heidi E. Dixon and Matthew L. Ginsberg CIRL 1269 University of Oregon Eugene, OR 97403-1269 {dixon, ginsberg}@cirl.uoregon.edu Abstract We describe

More information

A Novel SAT All-Solutions Solver for Efficient Preimage Computation

A Novel SAT All-Solutions Solver for Efficient Preimage Computation A Novel SAT All-Solutions Solver for Efficient Preimage Computation Bin Li Department of ECE Virginia Tech. Blacksburg, VA, 24061 Michael S. Hsiao Department of ECE Virginia Tech. Blacksburg, VA, 24061

More information

Space-Efficient Bounded Model Checking

Space-Efficient Bounded Model Checking Space-Efficient Bounded Model Checking Author names Abstract Current algorithms for bounded model checking use SAT methods for checking satisfiability of Boolean formulae. Methods based on the validity

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

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

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

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

Unrestricted Nogood Recording in CSP search

Unrestricted Nogood Recording in CSP search Unrestricted Nogood Recording in CSP search George Katsirelos and Fahiem Bacchus Department of Computer Science, University Of Toronto, Toronto, Ontario, Canada [gkatsi,fbacchus]@cs.toronto.edu Abstract.

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

Study of efficient techniques for implementing a Pseudo-Boolean solver based on cutting planes

Study of efficient techniques for implementing a Pseudo-Boolean solver based on cutting planes DEGREE PROJECT IN COMPUTER ENGINEERING, FIRST CYCLE, 15 CREDITS STOCKHOLM, SWEDEN 2017 Study of efficient techniques for implementing a Pseudo-Boolean solver based on cutting planes ALEIX SACREST GASCON

More information

Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING

Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING 78 Chapter 5 USING PROBLEM STRUCTURE FOR EFFICIENT CLAUSE LEARNING Given the results about the strengths and limitations of clause learning in Chapter 4, it is natural to ask how the understanding we gain

More information

Example of a Demonstration that a Problem is NP-Complete by reduction from CNF-SAT

Example of a Demonstration that a Problem is NP-Complete by reduction from CNF-SAT 20170926 CNF-SAT: CNF-SAT is a problem in NP, defined as follows: Let E be a Boolean expression with m clauses and n literals (literals = variables, possibly negated), in which - each clause contains only

More information

Solving Difficult SAT Instances in the Presence of Symmetry

Solving Difficult SAT Instances in the Presence of Symmetry Solving Difficult SAT Instances in the Presence of Symmetry Fadi A. Aloul, Arathi Ramani, Igor L. Markov and Karem A. Sakallah Department of EECS, University of Michigan, Ann Arbor 48109-2122 ffaloul,ramania,imarkov,karemg@eecs.umich.edu

More information

SAT Solvers: A Condensed History. Sharad Malik Princeton University COS 598d 3/1/2010

SAT Solvers: A Condensed History. Sharad Malik Princeton University COS 598d 3/1/2010 SAT Solvers: A Condensed History Sharad Malik Princeton University COS 598d 3/1/2010 Where are we today? Intractability of the problem no longer daunting Can regularly handle practical instances with millions

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

Guiding CNF-SAT Search via Efficient Constraint Partitioning

Guiding CNF-SAT Search via Efficient Constraint Partitioning SUBMITTED TO ICCAD 04 1 Guiding CNF-SAT Search via Efficient Constraint Partitioning Vijay Durairaj and Priyank Kalla Department of Electrical and Computer Engineering University of Utah, Salt Lake City,

More information

Random backtracking in backtrack search algorithms for satisfiability

Random backtracking in backtrack search algorithms for satisfiability Discrete Applied Mathematics 155 (2007) 1604 1612 www.elsevier.com/locate/dam Random backtracking in backtrack search algorithms for satisfiability I. Lynce, J. Marques-Silva Technical University of Lisbon,

More information

Solving Difficult Instances of Boolean Satisfiability in the Presence of Symmetry

Solving Difficult Instances of Boolean Satisfiability in the Presence of Symmetry Solving Difficult Instances of Boolean Satisfiability in the Presence of Symmetry Fadi A. Aloul, Arathi Ramani, Igor L. Markov and Karem A. Sakallah CSE-TR-463-02 September 6, 2002 THE UNIVERSITY OF MICHIGAN

More information

SAT/SMT Solvers and Applications

SAT/SMT Solvers and Applications SAT/SMT Solvers and Applications University of Waterloo Winter 2013 Today s Lecture Lessons learnt so far Implementation-related attacks (control-hazard, malware,...) Program analysis techniques can detect

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

Combinational Equivalence Checking Using Satisfiability and Recursive Learning

Combinational Equivalence Checking Using Satisfiability and Recursive Learning Combinational Equivalence Checking Using Satisfiability and Recursive Learning João Marques-Silva Thomas Glass Instituto Superior Técnico Siemens AG Cadence European Labs/INESC Corporate Technology 1000

More information

A Scalable Algorithm for Minimal Unsatisfiable Core Extraction

A Scalable Algorithm for Minimal Unsatisfiable Core Extraction A Scalable Algorithm for Minimal Unsatisfiable Core Extraction Nachum Dershowitz 1, Ziyad Hanna 2, and Alexander Nadel 1,2 1 School of Computer Science, Tel Aviv University, Ramat Aviv, Israel {nachumd,

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

Lecture 2: Symbolic Model Checking With SAT

Lecture 2: Symbolic Model Checking With SAT Lecture 2: Symbolic Model Checking With SAT Edmund M. Clarke, Jr. School of Computer Science Carnegie Mellon University Pittsburgh, PA 15213 (Joint work over several years with: A. Biere, A. Cimatti, Y.

More information

Conflict Analysis in Mixed Integer Programming

Conflict Analysis in Mixed Integer Programming Konrad-Zuse-Zentrum für Informationstechnik Berlin Takustraße 7 D-14195 Berlin-Dahlem Germany TOBIAS ACHTERBERG Conflict Analysis in Mixed Integer Programming URL: http://www.zib.de/projects/integer-optimization/mip

More information

An Efficient Finite-Domain Constraint Solver for Circuits

An Efficient Finite-Domain Constraint Solver for Circuits 4. An Efficient Finite-Domain Constraint Solver for Circuits G. Parthasarathy M. K. Iyer K.-T. Cheng Li-C. Wang {gpartha, madiyer, timcheng, licwang}@ece.ucsb.edu Department of Electrical and Computer

More information

SAT Based Efficient Directed Test Generation Techniques

SAT Based Efficient Directed Test Generation Techniques SAT Based Efficient Directed Test Generation Techniques Presented by Mingsong Chen Software Engineering Institute East China Normal University May 5, 2011 Outline Introduction Model Checking Based Test

More information

SEARCHING FOR TRUTH: TECHNIQUES FOR SATISFIABILITY OF BOOLEAN FORMULAS

SEARCHING FOR TRUTH: TECHNIQUES FOR SATISFIABILITY OF BOOLEAN FORMULAS SEARCHING FOR TRUTH: TECHNIQUES FOR SATISFIABILITY OF BOOLEAN FORMULAS Lintao Zhang a dissertation presented to the faculty of princeton university in candidacy for the degree of doctor of philosophy recommended

More information

A Lightweight Component Caching Scheme for Satisfiability Solvers

A Lightweight Component Caching Scheme for Satisfiability Solvers A Lightweight Component Caching Scheme for Satisfiability Solvers Knot Pipatsrisawat and Adnan Darwiche {thammakn,darwiche}@csuclaedu Computer Science Department University of California, Los Angeles Abstract

More information