Revisiting Neighborhood Inverse Consistency on Binary CSPs

Slides:



Advertisements
Similar presentations
Non-Binary Constraint Satisfaction Toby Walsh Cork Constraint Computation Center.
Advertisements

Constraint Satisfaction Problems
Interchangeability in Constraint Programming Shant Karakashian, Robert J. Woodward, Berthe Y. Choueiry, Steven D. Prestwich and Eugene C. Freuder 1.
1 Finite Constraint Domains. 2 u Constraint satisfaction problems (CSP) u A backtracking solver u Node and arc consistency u Bounds consistency u Generalized.
Exploiting Symmetry in Planning Maria Fox Durham Planning Group University of Durham, UK.
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.
A Partial Taxonomy of Substitutability & Interchangeability Shant Karakashian Robert J. Woodward Berthe Y. Choueiry Steven D. Prestwich Eugene C. Freuder.
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, Fall 2005 October 21, 2005CSPs and Relational DBs1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
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.
Advanced Constraint Processing, Fall 2009 On the Relationship Between Partial Interchangeability and Subproblem Interchangeability Shant Karakashian &
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.
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
Foundations of Constraint Processing, Fall 2005 Sep 20, 2005BT: A Theoretical Evaluation1 Foundations of Constraint Processing CSCE421/821, Fall 2005:
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
Tractable Symmetry Breaking Using Restricted Search Trees Colva M. Roney-Dougal, Ian P. Gent, Tom Kelsey, Steve Linton Presented by: Shant Karakashian.
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.
On Algorithms for Decomposable Constraints Kostas Stergiou Ian Gent, Patrick Prosser, Toby Walsh A.P.E.S. Research Group.
Jinsong Guo Jilin University, China Background  Filtering techniques are used to remove some local inconsistencies in the search algorithms solving.
Problem Solving with Constraints Lookahead Schemas 1 Foundations of Constraint Processing CSCE496/896, Fall
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 Satisfaction Basics strongly influenced by Dr. Rina Dechter: “Constraint Processing”
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.
Eliminating non- binary constraints Toby Walsh Cork Constraint Computation Center.
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.
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.
Problem Solving with Constraints CSPs and Relational DBs1 Problem Solving with Constraints CSCE496/896, Fall
Consistency Methods for Temporal Reasoning
A First Practical Algorithm for High Levels of Relational Consistency
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.
Constraints and Search
CSPs and Relational DBs
Path Consistency & Global Consistency Properties
More on Constraint Consistency
Problem Solving with Constraints
Intelligent Backtracking Algorithms: A Theoretical Evaluation
More on Constraint Consistency
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Constraint Satisfaction Problems & Its Application in Databases
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Odds and Ends Modeling Examples & Graphical Representations
Problem Solving with Constraints
Problem Solving with Constraints
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Solving Sudoku with Consistency: A Visual and Interactive Approach
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’
Revisiting Neighborhood Inverse Consistency on Binary CSPs
An Introduction Structure-Based Methods
Reformulating the Dual Graphs of CSPs
Presentation transcript:

Revisiting Neighborhood Inverse Consistency on Binary CSPs Robert J. Woodward1, Shant Karakashian1, Berthe Y. Choueiry1, and Christian Bessiere2 1Constraint Systems Laboratory • University of Nebraska-Lincoln • USA • 2LIRMM-CNRS • University of Montpellier • France 1. Contributions 4. Structure of Dual Graph of Binary CSPs 5. Impact on Local Consistency Understand the structure of the dual graph of a binary CSP Determine the impact of this structure on consistency properties, e.g., NIC, sCDC, & RNIC are incomparable Experimentally demonstrate the benefits of higher-level consistency Case1: A Complete Constraint Graph wRNIC is never strictly stronger than R(*,3)C Vn Cn-1,n C1,n V1 Vn-1 C3,n C2,n V2 V3 V5 C1,2 C2,3 C1,3 C3,4 C1,4 C2,4 C4,5 C1,5 C3,5 C2,5 V4 V1 V2 V3 Vn-1 Vn wRNIC can never consider more than 3 relations simultaneously In either case, it is not possible to have an edge between C3 & C4 (a common variable to C3 & C4) while keeping C3 as a binary constraint C1 C3 C2 C4 V1 V2 V3 C1 C3 C2 C4 V1 V2 V3 2. Graphical Representation Either or Constraint Graph Dual Graph A Minimal Dual Graph Ci-2,i C1,i Vi C3,i C2,i Ci,i+1 Ci,n-1 Ci,n (i-2) vertices (n-i) vertices R3 CD AC AB R2 C A D AD R1 R4 R3 CD AC AB R2 C A D AD R1 R4 R3 B A C R1 R4 R2 D NIC, sCDC, and RNIC are incomparable Shown using counter-examples in the paper Experimental Results Variables ⟿ Vertices Constraints ⟿ Edges Constraints ⟿ Vertices Scope overlap ⟿ Edges After removing redundant edges [Janssen+, 1989] Benchmark # inst. AC3.1 sCDC1 NIC selRNIC CPU Time (msec) NIC Quickest bqwh-16-106 100/100 3,505 3,860 1,470 3,608 bqwh-18-141 68,629 82,772 38,877 77,981 coloring-sgb-queen 12/50 680,140 (+3) - (+9) 57,545 634,029 coloring-sgb-games 3/4 41,317 33,307 (+1) 860 41,747 rand-2-23 10/10 1,467,246 1,460,089 987,312 1,171,444 rand-2-24 3/10 567,620 677,253 (+7) 3,456,437 677,883 sCDC1 Quickest driver 2/7 (+5) 70,990 (+5) 17,070 358,790 (+4) 185,220 ehi-85 87/100 (+13) 27,304 (+13) 573 513,459 (+13) 75,847 ehi-90 89/100 (+11) 34,687 (+11) 605 713,045 (+11) 90,891 frb35-17 41,249 38,927 179,763 73,119 RNIC Quickest composed-25-1-25 226 335 1,457 114 composed-25-1-2 223 283 1,450 88 composed-25-1-40 9/10 (+1) 288 (+1) 357 120,544 (+1) 137 composed-25-1-80 417 (+1) - 190 composed-75-1-25 2,701 1,444 363,785 305 composed-75-1-2 2,349 1,733 48,249 292 composed-75-1-40 7/10 (+1) 1,924 (+3) 1,647 631,040 (+3) 286 composed-75-1-80 1,484 1,473 397 3. Local Consistency Properties A B C D Neighborhood Inverse Consistency (NIC) ensures that every value in the domain of a variable can be extended to a solution in the subproblem induced by the variable and its neighborhood [Freuder & Elfe, AAAI 1996] Case1: A Minimal Dual Graph of a Complete Constraint Graph … can be a triangle-shaped planar grid … but does not have to be V1 V2 V3 V4 C1,4 V5 C2,5 C3,5 C1,2 C1,5 C2,3 C3,4 C4,5 C1,3 C2,4 V5 C1,2 C2,3 C1,3 C3,4 C1,4 C2,4 C4,5 C1,5 V1 C3,5 C2,5 V2 V3 V4 C1,5 C1,3 C3,5 C2,4 C4,5 C3,4 V1 V2 V3 V4 V5 C1,2 C1,4 C2,3 C2,5 Strong Conservative Dual Consistency (sCDC) An instantiation {(x,a),(y,b)} is sCDC iff (y,b) holds in SAC when x=a and (x,a) holds in SAC when y=b and (x,y) in scope of some constraint, and the problem is AC [Lecoutre+, JAIR 2011] Relational Neighborhood Inverse Consistency (RNIC) ensures that every tuple in every relation Ri can be extended to a solution in the subproblem induced on the dual CSP by {Rj}∪Neigh(Ri) [Woodward+,AAAI 2011] Benchmark # inst. AC3.1 sCDC1 NIC selRNIC BT-Free #NV NIC Quickest bqwh-16-106 100/100 3 8 5 1,807 1,881 739 1,310 bqwh-18-141 1 25,283 25,998 12,490 22,518 coloring-sgb-queen 12/50 16 91,853 - 15,798 coloring-sgb-games 3/4 4 14,368 40 rand-2-23 10/10 10 471,111 12 rand-2-24 3/10 222,085 24 sCDC1 Quickest driver 2/7 2 3,893 409 3,763 ehi-85 87/100 100 87 1,425 ehi-90 89/100 89 1,298 frb35-17 24,491 24,346 RNIC Quickest composed-25-1-25 153 composed-25-1-2 162 composed-25-1-40 9/10 9 172 composed-25-1-80 112 composed-75-1-25 345 composed-75-1-2 346 composed-75-1-40 7/10 7 335 composed-75-1-80 199 R3 R2 R1 R4 wRNIC, triRNIC, wtriRNIC enforce RNIC on a minimal, triangulated, and minimal triangulated dual graph, respectively selRNIC automatically selects the RNIC variant based on the density of the dual graph Case 2: Non-Complete Constraint Graph … can be a less regular grid C1,2 C2,3 C3,4 C1,4 C1,5 V1 C3,5 C2,5 V2 V3 V4 V5 V1 V2 V3 V4 C1,4 V5 C2,5 C3,5 C1,2 C1,5 C2,3 C3,4 R3 R2 R1 R4 R(*,m) ensures that subproblem induced in the dual CSP by every connected combination of m relations is minimal [Karakashian+, AAAI 2010] Experiments were conducted on the equipment of the Holland Computing Center at the University of Nebraska-Lincoln. Robert Woodward was partially supported by a National Science Foundation (NSF) Graduate Research Fellowship grant number 1041000. This research is supported by NSF Grant No. RI-111795. October 3rd, 2012