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.

Slides:



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

Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Constraint Consistency Chapter 3.
Constraint Optimization Presentation by Nathan Stender Chapter 13 of Constraint Processing by Rina Dechter 3/25/20131Constraint Optimization.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Non-binary constraints Toby Walsh Dept of CS University of York England.
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
CPSC 322, Lecture 13Slide 1 CSPs: Arc Consistency & Domain Splitting Computer Science cpsc322, Lecture 13 (Textbook Chpt 4.5,4.6) February, 01, 2010.
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,
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
1 Refining the Basic Constraint Propagation Algorithm Christian Bessière and Jean-Charles Régin Presented by Sricharan Modali.
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,
 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
Minesweeper is a game of logic. It originated from “Relentless Logic,” which was written by Conway, Hong, and Smith around In Relentless Logic, the.
Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’051 Applying Structural Decomposition Methods to Crossword Puzzle Problems Student:
A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.
A Constraint Satisfaction Problem (CSP) is a combinatorial decision problem defined by a set of variables, a set of domain values for these variables,
Jean-Charles REGIN Michel RUEHER ILOG Sophia Antipolis Université de Nice – Sophia Antipolis A global constraint combining.
Support: UCARE grant awarded to Chris Reeson & CAREER Award # from the National Science Foundation. To the public: –Illustrate the power of CP For.
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.
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
26 April 2013Lecture 5: Constraint Propagation and Consistency Enforcement1 Constraint Propagation and Consistency Enforcement Jorge Cruz DI/FCT/UNL April.
Slide 1 CSPs: Arc Consistency & Domain Splitting Jim Little UBC CS 322 – Search 7 October 1, 2014 Textbook §
CP Summer School Modelling for Constraint Programming Barbara Smith 1.Definitions, Viewpoints, Constraints 2.Implied Constraints, Optimization,
Computer-aided modelling of constraint problems C. Bessiere, LIRMM-CNRS, Montpellier, France In collaboration with: E. Freuder, B. O’Sullivan, U. College.
Constraint Satisfaction Problem:  Used to model constrained combinatorial problems  Important real-world applications: hardware & software verification,
Implementation of an Advection Scheme based on Piecewise Parabolic Method (PPM) in the MesoNH The main goal of this study was to estimate if the RGSW model.
Exploiting Automatically Inferred Constraint-Models for Building Identification in Satellite Imagery Research funded by the AFSOR, grant numbers FA
Filtered Backprojection. Radon Transformation Radon transform in 2-D. Named after the Austrian mathematician Johann Radon RT is the integral transform.
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Motivation & Goal SAT and Constraint Processing (CP) are fundamental areas of Computer Science that address the same computational questions. Compare SAT.
Modelling for Constraint Programming Barbara Smith CP 2010 Doctoral Programme.
Constraint Systems Laboratory 10/24/2015Bayer–MS Thesis Defense1 Reformulating Constraint Satisfaction Problems with Application to Geospatial Reasoning.
Jinsong Guo Jilin University, China Background  Filtering techniques are used to remove some local inconsistencies in the search algorithms solving.
CP Summer School Modelling for Constraint Programming Barbara Smith 4. Combining Viewpoints, Modelling Advice.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
Performance Prediction and Automated Tuning of Randomized and Parametric Algorithms: An Initial Investigation Frank Hutter 1, Youssef Hamadi 2, Holger.
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.
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
Constraint Propagation influenced by Dr. Rina Dechter, “Constraint Processing”
Eliminating non- binary constraints Toby Walsh Cork Constraint Computation Center.
Making Path-Consistency Stronger for SAT Pavel Surynek Faculty of Mathematics and Physics Charles University in Prague Czech Republic.
Arc Consistency and Domain Splitting in CSPs CPSC 322 – CSP 3 Textbook Poole and Mackworth: § 4.5 and 4.6 Lecturer: Alan Mackworth October 3, 2012.
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.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Computer Science cpsc322, Lecture 13
Consistency Methods for Temporal Reasoning
A First Practical Algorithm for High Levels of Relational Consistency
An Empirical Study of the Performance
Empirical Comparison of Preprocessing and Lookahead Techniques for Binary Constraint Satisfaction Problems Zheying Jane Yang & Berthe Y. Choueiry Constraint.
Computer Science cpsc322, Lecture 13
Evaluation of (Deterministic) BT Search Algorithms
More on Constraint Consistency
Evaluation of (Deterministic) BT Search Algorithms
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’
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Reformulating the Dual Graphs of CSPs
Presentation transcript:

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 Systems Laboratory University of Nebraska-Lincoln USA 2 LIRMM-CNRS University of Montpellier France 1.Extend p-stability for AC to GAC (to operate on non-binary CSPs) 2.Provide a more precise mechanism for computing it 3.Algorithm for enforcing apc-LC 1. Contributions 3. Parameterized Adaptive Consistency 2. Local Consistency Experiments were conducted on the equipment of the Holland Computing Center at the University of Nebraska-Lincoln. R.J. Woodward was supported by a National Science Foundation (NSF) Graduate Research Fellowship Grant No and Chateaubriand Fellowship. This research is supported by NSF Grant No. RI and EU project ICON (FP ). 4. Algorithm & Empirical Evaluations p -stability for GAC Paper: CP September 2 nd, 2014 Experimental Results p -stability for AC [Balafrej+ CP2013] Relative position of v i in dom o (x i ) : x1x x2x (4-1)/4 = 0.75 (4-2)/4 = 0.50 (4-3)/4 = 0.25 (4-4)/4 = 0.00 Δ(x 2,v i ) p=0.25 x1x1 x2x gacSupports[R j ]( 〈 x 1,1 〉 )={0,1,2,3} gacSupports[R j ]( 〈 x 1,2 〉 )={4,5,6} gacSupports[R j ]( 〈 x 1,3 〉 )={7,8} gacSupports[R j ]( 〈 x 1,4 〉 )={9} Generalized Arc Consistency (GAC) ensures any value in the domain of any variable in the scope of every relation can be extended to a tuple satisfying the relation. E.g., filters value 2 from V 3. STR ensures GAC, filtering both domains and relations. E.g., filters value 2 from V 3,tuple 〈 2,1 〉 from R 2. m-wise Consistency, R(*, m )C ensures every tuple in every relation can be extended to every combination of m −1 other relations. R(*,3)C filters tuple 〈 2,2 〉 from R 1, 〈 2,1 〉 from R 2 and 〈 2,2,2 〉 from R 3. Projecting relations onto domains filters 2 from every variable V1V1 V2V2 V3V3 V4V4 R1R1 V 1 V 2 R2R2 V 1 V 3 R3R3 V2 V3 V4V2 V3 V4 Pairwise Consistency ≡ R(*,2)C. Completed Average CPU Time (sec) Median CPU Time (sec) benchmark # Instances STR R(*,2)C apc -R(*,2)C All STR R(*,2)C apc -R(*,2)C STR R(*,2)C apc -R(*,2)C a) apc-R(*,2)C is the best aim allIntervalSeries jnhSat modifiedRenault rand , , b) apc-R(*,2)C is competitive aim aim jnhUnsat lexVg pret rand fcd rand , , rand ssa TSP , ukVg varDimacs wordsVg c) apc-R(*,2)C is the worst dubois , , TSP d) Not solved by STR dag-rand benchmarkSTR CallsR(*,2)C CallsbenchmarkSTR CallsR(*,2)C Calls a) apc-R(*,2)C is the bestb) apc-R(*,2)C is competitive aim-50456,82339,491aim-1007,731,585894,353 allIntervalSeries38,281,6940aim-2001,160,334,482163,177,907 jnhSat22,119,135599,080jnhUnsat51,688,1661,918,781 modifiedRenault4,618,778601,641lexVg564,010,4572,180,503,026 rand ,441,1263,480,216,943pret422,987,94613,973,748 rand fcd455,664,1002,956,467,994 c) apc-R(*,2)C is the worstrand ,470,561184,764,543 dubois3,343,830,6044,668,288rand ,6083,972 TSP-20622,949,698991,590,957ssa156,631,37011,689,961 TSP-252,903,953,3153,947,391,769 ukVg341,565,8921,002,334,753 d) Not solved by STRvarDimacs720,843,95884,123,204 dag-rand359,24821,870wordsVg514,840,7372,052,367,934 Total number of instance: 623STR R(*,2) Capc-R(*,2)C Number of instances solved by # instances solved only by1050 # instances solved by STR, but missed by01811 # instances solved by R(*,2)C, but missed by6406 # instances solved by apc-R(*,2)C, but missed by5980 Average CPU time (sec.) over 458 instances Median CPU time (sec.) over 458 instances 〈 x 1,4 〉 not stable for AC 〈 x 1,3 〉 is stable for AC 〈 x 1,2 〉 is stable for AC 〈 x 1,1 〉 is stable for AC LC: A local consistency stronger than (G)AC pc -LC: ∀〈 x i,v i 〉 and c j on x i, 〈 x i,v i 〉 is  p-stable for (G)AC on c j or  LC on c j apc -LC: adaptive version of pc -LC that uses the weight of a constraint, w ( c j ), like dom/wdeg Where R j o is the original, unfiltered relation. For parameter p, 〈 x i,v i 〉 is p -stable for AC for c ij on x i,x j if it has AC- support 〈 x j,v j 〉 with Δ(x j,v j ) ≥ p. Parameterized Adaptive Consistency 〈 x i,v i 〉 is p-stable for GAC if for every constraint c j on x i gacSupports[R j ]( 〈 x i,v i 〉 ): data structure to store σ xi=vi (R j ). 〈 x 1,1 〉 is stable for GAC ( ≥ 0.25 ) 〈 x 1,2 〉 is stable for GAC ( ≥ 0.25 ) 〈 x 1,3 〉 not stable for GAC ( < 0.25 ) 〈 x 1,4 〉 not stable for GAC ( < 0.25 ) Generate the gacSupports at pre-processing ∀ c j, ∀ x i in c j, ∀ v i in dom(x i )  Enforce LC when 〈 x i,v i 〉 is not p-stable for GAC  Enforce STR when 〈 x i,v i 〉 has no support Issue: Position is not a precise measure of support. Average number of calls to STR and R(*,2)C in apc -R(*,2)C On allInternvalSeries, no R(*,2)C calls because solved at pre-processing ( no weight set ). Sometimes, there are more STR calls, others, more R(*,2)C calls. Thus, apc -R(*,2)C finds a good mix between STR and R(*,2)C for each instance. Success! apc -R(*,2)C can solve more instances and quicker than both STR and R(*,2)C. Benchmark results where apc -R(*,2)C performs the best, is competitive, and is the worst. Also included, a benchmark that could not be solved by STR.