Reformulating the Dual Graphs of CSPs

Slides:



Advertisements
Similar presentations
University of Toronto Mechanical & Industrial Engineering An Introduction to Constraint Programming J. Christopher Beck Dept. of Mechanical & Industrial.
Advertisements

Tree Clustering for Constraint Networks 1 Chris Reeson Advanced Constraint Processing Fall 2009 By Rina Dechter & Judea Pearl Artificial Intelligence,
Constraint Satisfaction Problems
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Nov Properties of Tree Convex Constraints Authors: Yuanlin Zhang & Eugene C. Freuder Presentation by Robert J. Woodward CSCE990 ACP, Fall 2009.
Then Adaptive Parameterized Consistency for Non-Binary CSPs by Counting Supports R.J.Woodward 1,2, A.Schneider 1, B.Y.Choueiry 1, and C.Bessiere 2 1 Constraint.
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
Introduction Combining two frameworks
Problem Solving with Constraints, Fall 2011 Odds and Ends: Modeling Examples & Graphical Representations 1Odds & Ends Problem Solving with Constraints.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables {A,B,C,…}, a set of domain values for these variables,
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
An Empirical Study of the Performance of Preprocessing and Look-ahead Techniques for Solving Finite Constraint Satisfaction Problems Zheying Jane Yang.
An Approximation of Generalized Arc-Consistency for Temporal CSPs Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
Improving Backtrack Search For Solving the TCSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Foundations of Constraint Processing, Fall 2005 November 16, 2005nFCi1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
 i may require adding new constraints, except for… o i =1  domain filtering o i =   constraint filtering Robert Woodward & Berthe Y. Choueiry Constraint.
Foundations of Constraint Processing Evaluation to BT Search 1 Foundations of Constraint Processing CSCE421/821, Spring
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
1.A finer version of PPC. 2.Cheaper than PPC and F-W. 3.Guarantees the minimal network. 4.Automatically decomposes the graph into its bi-connected components:
Constraint Systems Laboratory March 26, 2007Reeson–Undergraduate Thesis1 Using Constraint Processing to Model, Solve, and Support Interactive Solving of.
A game of logic where the player must assign the numbers 1..9 to cells on a 9x9 grid. The placement of the numbers must be such that every number must.
General search strategies: Look-ahead Chapter 5 Chapter 5.
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 2 Ryan Kinworthy CSCE Advanced Constraint Processing.
Constraint Satisfaction Problem:  Used to model constrained combinatorial problems  Important real-world applications: hardware & software verification,
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Directional Consistency Chapter 4.
Constraint Systems Laboratory R.J. Woodward 1, S. Karakashian 1, B.Y. Choueiry 1 & C. Bessiere 2 1 Constraint Systems Laboratory, University of Nebraska-Lincoln.
Foundations of Constraint Processing, Fall 2012 Odds and Ends: Modeling Examples & Graphical Representations 1Odds & Ends Foundations of Constraint Processing.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
Constraint Systems Laboratory Robert J. Woodward Joint work with Shant Karakashian, Daniel Geschwender, Christopher Reeson, and Berthe Y. UNL.
Constraint Systems Laboratory Robert J. Woodward Constraint Systems Laboratory Department of Computer Science & Engineering University of Nebraska-Lincoln.
Foundations of Constraint Processing Constraint Graphical Models 1Odds & Ends Foundations of Constraint Processing CSCE421/821, Fall
ERA on an over-constrained problem A Constraint-Based System for Hiring & Managing Graduate Teaching Assistants Ryan Lim, Praveen Venkata Guddeti, and.
853 instances from the 2008 CP Solver Competition. Real full lookahead cl+proj-wR(*,m)C, which enforces R(*, m)C on each cluster, adds projection of constraints.
Structure-Based Methods Foundations of Constraint Processing
Consistency Methods for Temporal Reasoning
A First Practical Algorithm for High Levels of Relational Consistency
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
An Empirical Study of the Performance
Robert Glaubius and Berthe Y. Choueiry
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Structure-Based Methods Foundations of Constraint Processing
More on Constraint Consistency
Structure-Based Methods Foundations of Constraint Processing
Structure-Based Methods Foundations of Constraint Processing
Foundations of Constraint Processing All questions to Piazza
Evaluation of (Deterministic) BT Search Algorithms
More on Constraint Consistency
Chapter 5: General search strategies: Look-ahead
Evaluation of (Deterministic) BT Search Algorithms
Constraint Satisfaction Problems & Its Application in Databases
Odds and Ends Modeling Examples & Graphical Representations
Foundations of Constraint Processing All questions to Piazza
Evaluation of (Deterministic) BT Search Algorithms
Solving Sudoku with Consistency: A Visual and Interactive Approach
Revisiting Neighborhood Inverse Consistency on Binary CSPs
A Qualitative Analysis of Search Behavior: A Visual Approach
Improving the Performance of Consistency Algorithms by Localizing and Bolstering Propagation in a Tree Decomposition Shant Karakashian, Robert J. Woodward.
A Reactive Strategy for High-Level Consistency During Search
PrePeak+ = PrePeak + ‘How Much’
Structure-Based Methods Foundations of Constraint Processing
Revisiting Neighborhood Inverse Consistency on Binary CSPs
An Introduction Structure-Based Methods
Structure-Based Methods Foundations of Constraint Processing
Presentation transcript:

Reformulating the Dual Graphs of CSPs to Improve the Performance of RNIC R.J. Woodward, S. Karakashian, B.Y. Choueiry & C. Bessiere Constraint Systems Laboratory, University of Nebraska-Lincoln LIRMM-CNRS, University of Montpellier Acknowledgements Elizabeth Claassen and David B. Marx of the Department of Statistics @ UNL Experiments conducted at UNL’s Holland Computing Center Robert Woodward supported by a B.M. Goldwater Scholarship and NSF Graduate Research Fellowship NSF Grant No. RI-111795 8/1/2019 SARA 2011

Outline Introduction Relational Neighborhood Inverse Consistency Property & algorithm Reformulating the Dual Graph by Removing redundant edges, yields property wRNIC Triangulation, yields property triRNIC Selection strategy: four alternative dual graphs Experimental Results Conclusion 8/1/2019 SARA 2011

Constraint Satisfaction Problem CSP Variables, Domains Constraints: binary / non-binary Representation Hypergraph Dual graph Solved with Search Enforcing consistency B A Hypergraph E R4 R1 R2 R5 R3 C F D R4 BCD ABDE CF EF AB R3 R1 R2 C F E BD D AD A B R5 R6 Dual graph Search and lookahead. Lookahead consists in enforcing consistency and propagating constraints Warning Consistency properties vs. algorithms 8/1/2019 SARA 2011

Neighborhood Inverse Consistency [Freuder+ 96] Property Defined for binary CSPs Every value can be extended to a solution in its variable’s neighborhood Algorithm No space overhead Adapts to the connectivity Not effective on sparse problems To costly on dense problems R4 A 0,1,2 0,1,2 C R0 R1 R3 B 0,1,2 0,1,2 D R2 R6 B A E R4 Non-binary CSPs? Neighborhoods likely too large R1 R2 R5 C F D R3 8/1/2019 SARA 2011

Relational NIC [Woodward+ AAAI11] Property Defined for dual graph Every tuple can be extended to a solution in its relation’s neighborhood Algorithm Operates on dual graph … filter relations (not domains!) B A E R4 R1 R2 R5 R3 C F D Hypergraph R5 R3 R1 D C AD BCD CF Domain filtering Property: RNIC+DF Algorithm: Projection A AD B BD F Insist: no looping for GAC AB ABDE EF AB E R6 R4 R2 Dual graph 8/1/2019 SARA 2011

Reformulation: Removing Redundant Edges High density Large neighborhoods Higher cost of RNIC Minimal dual graph Equivalent CSP Computed efficiently [Janssen+ 89] Run algorithm on a minimal dual graph Smaller neighborhoods, solution set not affected wRNIC: a strictly weaker property R5 R3 R1 D C AD BCD CF A AD B BD F AB ABDE EF AB E R6 R4 R2 dGo = 60% dGw = 40% wRNIC RNIC 8/1/2019 SARA 2011

Reformulation: Triangulation Cycles of length ≥ 4 Hampers propagation Triangulating dual graph Equivalent CSP Min-fill heuristic Run algorithm on a triangulated dual graph Created loops enhance propagation triRNIC: a strictly stronger property R4 BCD ABDE CF EF AB R3 R1 R2 C F E BD D AD A B R5 R6 dGo = 60% dGtri = 67% RNIC considers only 3 relations wRNIC RNIC triRNIC 8/1/2019 SARA 2011

Reformulation: RR & Triangulation Fixing the dual graph RR copes with high density Triangulation boosts propagation RR+Tri Both operate locally Are complementary, do not ‘clash’ Run algorithm on a RR+tri dual graph CSP solution set is not affected wtriRNIC is not comparable with RNIC R5 R3 R1 D C AD BCD CF A AD B BD F AB ABDE EF AB E R6 R4 R2 dGo = 60% R5 R3 R1 D C AD BCD CF A AD B BD F AB ABDE EF AB E R6 R4 R2 dGwtri = 47% RNIC wRNIC triRNIC wtriRNIC 8/1/2019 SARA 2011

Selection Strategy: Which? When? Density ≥ 15% is too dense Remove redundant edges Triangulation increases density no more than two fold Reformulate by triangulation Each reformulation executed at most once Start No Yes dGo ≥ 15% No Yes No Yes dGtri ≤ 2 dGo dGwtri ≤ 2 dGw Go Gtri Gw Gwtri 8/1/2019 SARA 2011

169 instances: aim-100,aim-200,lexVg,modifiedRenault,ssa Experimental Results Statistical analysis on CP benchmarks Time: Censored data calculated mean R: Censored data rank based on probability of survival data analysis S: Equivalence classes based on CPU SB: Equivalence classes based on completion #C: Number of instances completed #F: Number of instancesfastest #BF: # instances solved backtrack free Algorithm Time #F R S #C SB #BF 169 instances: aim-100,aim-200,lexVg,modifiedRenault,ssa wR(*,2)C 944924 52 3 A 138 B 79 wR(*,3)C 925004 8 4 134 92 wR(*,4)C 1161261 2 5 132 108 GAC 1711511 83 7 C 119 33 RNIC 6161391 19 100 66 triRNIC 3017169 9 84 80 wRNIC 1184844 6 131 wtriRNIC 937904 144 129 selRNIC 751586 17 1 159 142 8/1/2019 SARA 2011

Conclusions Contributions Future work Algorithm Polynomial in degree of dual graph BT-free search: hints to problem tractability Various reformulations of the dual graph Adaptive, unifying, self-regulatory, automatic strategy Empirical evidence, supported by statistics Future work Extend to constraints given as conflicts, in intension Extend to singleton type consistencies 8/1/2019 SARA 2011