Combination of Exact and Approximate Methods for SAT and MAX-SAT Problems Frédéric Lardeux, Frédéric Saubion and Jin-Kao Hao Metaheuristics and Combinatorial.

Slides:



Advertisements
Similar presentations
10/01/2014 DMI - Università di Catania 1 Combinatorial Landscapes & Evolutionary Algorithms Prof. Giuseppe Nicosia University of Catania Department of.
Advertisements

Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
Propositional Satisfiability (SAT) Toby Walsh Cork Constraint Computation Centre University College Cork Ireland 4c.ucc.ie/~tw/sat/
1 Local Restarts in SAT Solvers Vadim Ryvchin and Ofer Strichman Technion, Haifa, Israel.
Interactive Configuration
Angers, 10 June 2010 Multi-Objective Optimisation (II) Matthieu Basseur.
SAT-Based Planning Using Propositional SAT- Solvers to Search for Plans.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
© J. Christopher Beck Lecture 17: Tabu Search.
“Using Weighted MAX-SAT Engines to Solve MPE” -- by James D. Park Shuo (Olivia) Yang.
Methods of Proof Chapter 7, second half.. Proof methods Proof methods divide into (roughly) two kinds: Application of inference rules: Legitimate (sound)
Effective Propositional Reasoning CSE 473 – Autumn 2003.
IBM Labs in Haifa © 2005 IBM Corporation Adaptive Application of SAT Solving Techniques Ohad Shacham and Karen Yorav Presented by Sharon Barner.
Spie98-1 Evolutionary Algorithms, Simulated Annealing, and Tabu Search: A Comparative Study H. Youssef, S. M. Sait, H. Adiche
Proof methods Proof methods divide into (roughly) two kinds: –Application of inference rules Legitimate (sound) generation of new sentences from old Proof.
Methods for SAT- a Survey Robert Glaubius CSCE 976 May 6, 2002.
Boolean Satisfiability Solvers Wonhong Nam
08/1 Foundations of AI 8. Satisfiability and Model Construction Davis-Putnam, Phase Transitions, GSAT Wolfram Burgard and Bernhard Nebel.
Unifying Local and Exhaustive Search John Hooker Carnegie Mellon University September 2005.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 1 Ryan Kinworthy CSCE Advanced Constraint Processing.
1 Satisfiability Checking of Non-clausal Formulas using General Matings Himanshu Jain Constantinos Bartzis Edmund Clarke Carnegie Mellon University.
Methods of Proof Chapter 7, second half.
State-of-the-art in SAT solvers
Resolution versus Search: Two Strategies for SAT Brad Dunbar Shamik Roy Chowdhury.
EAs for Combinatorial Optimization Problems BLG 602E.
A TABU SEARCH APPROACH TO POLYGONAL APPROXIMATION OF DIGITAL CURVES.
SAT Algorithms in EDA Applications Mukul R. Prasad Dept. of Electrical Engineering & Computer Sciences University of California-Berkeley EE219B Seminar.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2007.
Knowledge Representation II (Inference in Propositional Logic) CSE 473 Continued…
Constrained Pattern Assignment for Standard Cell Based Triple Patterning Lithography H. Tian, Y. Du, H. Zhang, Z. Xiao, M. D.F. Wong Department of ECE,
GRASP: A Search Algorithm for Propositional Satisfiability EE878C Homework #2 2002/11/1 KAIST, EECS ICS Lab Lee, Dongsoo.
SAT Solving Presented by Avi Yadgar. The SAT Problem Given a Boolean formula, look for assignment A for such that.  A is a solution for. A partial assignment.
1 Message Passing and Local Heuristics as Decimation Strategies for Satisfiability Lukas Kroc, Ashish Sabharwal, Bart Selman (presented by Sebastian Brand)
Sampling Combinatorial Space Using Biased Random Walks Jordan Erenrich, Wei Wei and Bart Selman Dept. of Computer Science Cornell University.
Logic - Part 2 CSE 573. © Daniel S. Weld 2 Reading Already assigned R&N ch 5, 7, 8, 11 thru 11.2 For next time R&N 9.1, 9.2, 11.4 [optional 11.5]
Metaheuristics The idea: search the solution space directly. No math models, only a set of algorithmic steps, iterative method. Find a feasible solution.
1 Exploiting Random Walk Strategies in Reasoning Wei.
Building “ Problem Solving Engines ” for Combinatorial Optimization Toshi Ibaraki Kwansei Gakuin University (+ M. Yagiura, K. Nonobe and students, Kyoto.
NP-Complete Problems and how to go-on with them Data Structures and Algorithms A.G. Malamos References: Algorithms, 2006, S. Dasgupta, C. H. Papadimitriou,
MBSat Satisfiability Program and Heuristics Brief Overview VLSI Testing B Marc Boulé April 2001 McGill University Electrical and Computer Engineering.
CHAPTERS 7, 8 Oliver Schulte Logical Inference: Through Proof to Truth.
3/11/2002copyright Brian Williams1 Propositional Logic and Satisfiability Brian C. Williams /6.834 October 7 th, 2002.
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module 3 Logic Representations (Part 2)
Zorica Stanimirović Faculty of Mathematics, University of Belgrade
Explorations in Artificial Intelligence Prof. Carla P. Gomes Module Logic Representations.
Advanced Algorithm Design and Analysis (Lecture 14) SW5 fall 2004 Simonas Šaltenis E1-215b
On the Relation between SAT and BDDs for Equivalence Checking Sherief Reda Rolf Drechsler Alex Orailoglu Computer Science & Engineering Dept. University.
On Finding All Minimally Unsatisfiable Subformulas Mark Liffiton and Karem Sakallah University of Michigan {liffiton, June 21, 2005.
Linear Program Set Cover. Given a universe U of n elements, a collection of subsets of U, S = {S 1,…, S k }, and a cost function c: S → Q +. Find a minimum.
Stochastic greedy local search Chapter 7 ICS-275 Spring 2009.
/425 Declarative Methods - J. Eisner 1 Random 3-SAT  sample uniformly from space of all possible 3- clauses  n variables, l clauses Which are.
Finding Models for Blocked 3-SAT Problems in Linear Time by Systematical Refinement of a Sub- Model Gábor Kusper Eszterházy Károly.
MaxSAT Evaluations SURVEY & RECENT RESULTS. Outline  Max-SAT overview  Sub problems of Max-SAT  Applications of Max-SAT  Annual Evaluations, 2015.
SAT Solving As implemented in - DPLL solvers: GRASP, Chaff and
Inference in Propositional Logic (and Intro to SAT) CSE 473.
PhD March The Evergreen Project: How To Learn From Mistakes Caused by Blurry Vision in MAX-CSP Solving Karl J. Lieberherr Northeastern University.
Proof Methods for Propositional Logic CIS 391 – Intro to Artificial Intelligence.
A Decision-Making Procedure for Resolution-Based SAT-solvers Eugene Goldberg Cadence Research Labs (USA) SAT-2008, Guangzhou, P.R. China.
Escaping Local Optima. Where are we? Optimization methods Complete solutions Partial solutions Exhaustive search Hill climbing Exhaustive search Hill.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Journal of Computational and Applied Mathematics Volume 253, 1 December 2013, Pages 14–25 Reporter : Zong-Dian Lee A hybrid quantum inspired harmony search.
Inference in Propositional Logic (and Intro to SAT)
Hybrid BDD and All-SAT Method for Model Checking
Inference and search for the propositional satisfiability problem
EA C461 – Artificial Intelligence Logical Agent
Local Search Strategies: From N-Queens to Walksat
CS 416 Artificial Intelligence
Metaheuristic methods and their applications. Optimization Problems Strategies for Solving NP-hard Optimization Problems What is a Metaheuristic Method?
Multi-Objective Optimization
Methods of Proof Chapter 7, second half.
Presentation transcript:

Combination of Exact and Approximate Methods for SAT and MAX-SAT Problems Frédéric Lardeux, Frédéric Saubion and Jin-Kao Hao Metaheuristics and Combinatorial Optimization Group LERIA, University of Angers (France)

SAT Problem : NP-complete problem, several applications (planning, diagnosis …) Goal : Find a truth assignment satisfying a propositional logic formula: Introduction Ex : (  a  b  c)  (  b  d  e)  (a   c  f) TTFTFF fedcba

Introduction MAX-SAT problem: Goal : For a given boolean formula, find an assignment which maximizes the number of true clauses (or minimizes the number of false clauses) Remark : MAXSAT is less studied than SAT

Two classes of methods : - complete/exact methods (1960) Introduction Search tree a bb c cc …………… F F F F F T T T T V T T … c … FT … SAT : Davis Putnam, Satz (97), Zchaff (00), … MAX-SAT : B&B

Two classes of methods : - heuristic methods (1992) GSAT(Walksat), UnitWalk(2002), … Search space Set of assignments Introduction

Outline Hybrid Solvers for SAT New hybridization scheme Tri-valued Tabu Search Hybridization TS + B&B Experimental results Conclusions

Hybrid Solvers for SAT Hybridization/ Combination = popular technique for designing powerful algorithms Our experience : GASAT : hybrid incomplete SAT solver evolutionnary process (population + recombination) + local search (tabu)

Local Search GASAT Algorithm Insertion Crossover Selection Result Conditions

GASAT Algorithm Interesting Results SAT 2004 : 4 th for Random Benchmarks Looking for new hybridizations complete + incomplete Focusing on MAXSAT

Existing hybridizations complete/incomplete 3 hybrid algorithms : Tabu Search process in a DP procedure used as a branching rule (Mazure et al. 98) [SAT] Walksat used in Satz to complete a partial assignment (Habet et al. 2002) [SAT] GSAT to obtain the initial bound, then B&B (Borchers et Furman 99) [MAXSAT]

Existing hybridizations DP with Tabu as branching rule (Mazure et al. 98) : a bb c cc …………… F F F F F F V V V V V V … c … FV … Given thanks to Tabu Davis Putnam+Tabu

Existing hybridizations Walksat completes a partial assignment (Habet et al. 2002) a bb c cc …………… F F F F F F V V V V V V … c … FV … Satz and Walksat Walksat

Existing hybridizations Initial bound given by GSAT, then B&B (Borchers et Furman 99) a bb c cc …………… F F F F F F V V V V V V … c … FV …

Outline Existing hybridizations New hybridization scheme Tri-valued Tabu Search Hybridization Tabu + B&B Experimental results Conclusions

Tri-valued Tabu Search Idea : use B&B in a Tabu Search process as an intensification mecanism: Tabu identifies « promising » areas B&B explores exhaustively these areas Tri-valued Tabu search to unify the two Proposition : a Tabou search with 3 truth values: true, false et undefined Difficulties : complete assignments (Tabu) v.s. partial assignments (B&B)

Main components of the tri-valued tabu Configuration with three values: true, false, undefined Fitness function: number of true clauses (or false) AND undefined (the aim is to maximize the number of true clauses) Neighborhood: change of one value in the current assignment Tri-valued Tabu Search

Rm : Each configuration corresponds to one or several complete assignments Ex: (T,F,U) = (T,F,F) and (T,F,T) The move from « undefined » to T or F corresponds to a (small) intensification The move from T or F to « undefined » corresponds to a diversification Tri-valued Tabu Search

S: standard move: T to F or F to T I: intensification move (small): Undefined to T or F D: diversification move: T or F to Undefined

Hybridization Tabu + B&B 1.(Intensification/Diversification) tri-valued tabu search until the obtention of an assignment with at the maximum k undefined variables 2.(Intensification) B&B on the sub-problem of k variables to value them. Obtention of a complete assignment s 3.(Update) Add the k variables to the tabu list 4.Return to 1 with the solution s

Hybridization Tabu + B&B

Outline  Existing hybridizations  New hybridization  Tri-valued Tabu Search  Hybridization Tabu + B&B  Experimental results  Conclusions

Experimental results Evaluate the hybrid algorithm w.r.t. a standard Tabu Search Benchmarks: SAT 2003 competition

Experimental results BenchmarksTabuHybridization (Tri-valued TS + B&B) Imp. instancesvarclsf.c.s.d.f.c.s.d.% par32-5-c par Mat25.shuffled Mat26.shuffled f f of flips (1 backtrack = 1 flip)

Conclusions Preliminary study of a hybridization between Tabu and B&B with a new resolution work Improvement of the standard tabu search Worst results than the best SAT solvers

Future Works General theoretical framework for hybrid CSP solvers Based on K.R. Apt’s chaotic iteration LS + CP [ICLP2004 with E. Monfroy and T. Lambert] Study of the parameters (balancing between the two stages of the algorithm), Hybridization of other methods with the same resolution framework (Walksat + B&B…)

Combination of Exact and Approximate Methods for SAT and MAX-SAT Problems Frédéric Lardeux, Frédéric Saubion and Jin-Kao Hao University of Angers (France)