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:

Slides:



Advertisements
Similar presentations
Hybrid BDD and All-SAT Method for Model Checking Orna Grumberg Joint work with Assaf Schuster and Avi Yadgar Technion – Israel Institute of Technology.
Advertisements

Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
an incremental version of A*
Anagh Lal Tuesday, April 08, Chapter 9 – Tree Decomposition Methods- Part II Anagh Lal CSCE Advanced Constraint Processing.
Optimal Rectangle Packing: A Meta-CSP Approach Chris Reeson Advanced Constraint Processing Fall 2009 By Michael D. Moffitt and Martha E. Pollack, AAAI.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
Algorithm Strategies Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
Chapter 3 The Greedy Method 3.
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
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:
Anagh Lal Monday, April 14, Chapter 9 – Tree Decomposition Methods Anagh Lal CSCE Advanced Constraint Processing.
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
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
Efficient Techniques for Searching the Temporal CSP Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering.
Constraint Systems Laboratory October 2 nd, 2005Zheng – DocProg CP’051 Applying Structural Decomposition Methods to Crossword Puzzle Problems Student:
Hierarchical Constraint Satisfaction in Spatial Database Dimitris Papadias, Panos Kalnis And Nikos Mamoulis.
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.
Cut-and-Traverse: A new Structural Decomposition Method for CSPs Yaling Zheng and Berthe Y. Choueiry Constraint Systems Laboratory Computer Science & Engineering.
Developing a Deterministic Patrolling Strategy for Security Agents Nicola Basilico, Nicola Gatti, Francesco Amigoni.
Chao Chen Wednesday, February 26, Temporal Constraint Networks Chapter 12 Chao Chen CSCE Advanced Constraint Processing.
Advanced Constraint Processing, Fall 2009 Temporal Constraints Networks 4/23/20091Topic Advanced Constraint Processing CSCE , Fall 2009:
Consistency Methods for Temporal Reasoning Lin XU Constraint Systems Laboratory Advisor: Dr. B.Y. Choueiry April, 2003 Supported by a grant from NASA-Nebraska,
Advanced Constraint Processing, Fall 2009 An Efficient Consistency Algorithm for the Temporal Constraint Satisfaction Problem Berthe Y. Choueiry & Lin.
Distributed Constraint Optimization * some slides courtesy of P. Modi
A Randomized Approach to Robot Path Planning Based on Lazy Evaluation Robert Bohlin, Lydia E. Kavraki (2001) Presented by: Robbie Paolini.
Tractable Symmetry Breaking Using Restricted Search Trees Colva M. Roney-Dougal, Ian P. Gent, Tom Kelsey, Steve Linton Presented by: Shant Karakashian.
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 223 – Advanced Data Structures Graph Algorithms Shortest-Path.
Mining Frequent Itemsets with Constraints Takeaki Uno Takeaki Uno National Institute of Informatics, JAPAN Nov/2005 FJWCP.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
17 th International Teletraffic Congress Topological design of telecommunication networks Michał Pióro a,b, Alpar Jüttner c, Janos Harmatos c, Áron Szentesi.
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.
Advanced Constraint Processing, Spring 2013 Temporal Constraints Networks 1/9/20131Temporal Reasoning Advanced Constraint Processing CSCE 921, Spring 2013:
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Wednesday, January 29, 2003CSCE Spring 2003 B.Y. Choueiry Directional Consistency Chapter 4.
Path Consistency for 1- General CSPs 2- STPs Peter Schlette Wesley Botham CSCE990 Advanced CP, Fall 2009.
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.
Chapter 2) CSP solving-An overview Overview of CSP solving techniques: problem reduction, search and solution synthesis Analyses of the characteristics.
Foundations of Constraint Processing, Fall 2004 October 3, 2004Interchangeability in CSPs1 Foundations of Constraint Processing CSCE421/821, Fall 2004:
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
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.
The Minimum Label Spanning Tree Problem: Illustrating the Utility of Genetic Algorithms Yupei Xiong, Univ. of Maryland Bruce Golden, Univ. of Maryland.
Hybrid BDD and All-SAT Method for Model Checking
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.
Structure-Based Methods Foundations of Constraint Processing
Path Consistency & Global Consistency Properties
Structure-Based Methods Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
More on Constraint Consistency
Evaluation of (Deterministic) BT Search Algorithms
Evaluation of (Deterministic) BT Search Algorithms
Major Design Strategies
Structure-Based Methods Foundations of Constraint Processing
Reformulating the Dual Graphs of CSPs
Major Design Strategies
Presentation transcript:

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: binds effort in size of largest component. allows parallellization. 5.Best known algorithm for computing the minimal network of an STP Evaluating Consistency Algorithms for Temporal Metric Constraints Yang Shi, Anagh Lal, and Berthe Y. Choueiry Constraint Systems Laboratory Computer Science & Engineering University of Nebraska-Lincoln yshi, alal, Summary Focus: Networks of temporal metric constraints Task: Evaluating the performance of algorithms for  Determining the consistency of the Simple Temporal Problem (STP)  Finding the minimal network of the Temporal Constraint Satisfaction Problem (TCSP) Future: Enhance triangulation-based algorithms with incrementality Algorithms for the STP Determining consistency  Directional Path Consistency (DPC)  Bellman-Ford (BF), single-source shortest paths  Incremental version of Bellman-Ford (incBF) [Cesta & Oddi, TIME 96] Determining consistency & finding minimal network  Floyd-Warshall (F-W), all-pairs shortest paths  Partial Path Consistency (PPC) [Bliek & Haroud, IJCAI 99]   STP: an improvement of PPC [Xu & Choueiry, TIME 03] Properties & advantages of  STP  STP considers the temporal graph as composed of triangles instead of edges Solving the TCSP [Dechter et al. AIJ 91] Experiments Support: Layman award, NASA-Nebraska grant, NSF CAREER Award # For STP:  STP outperforms all others For TCSP:  incBF outperforms ∆STP  EdgeOrd & NewCyc always beneficial Results of Empirical Evaluations Conclusions Networks of Temporal Metric Constraints Temporal constraint network: a graph G=(V, E, I) where  V: set of vertices representing time points t i  E: set of directed edges representing constraints between two time points t i & t j  I: set of constraint labels for the edges. A label is a set of intervals and an interval [a, b] denotes a constraint of bounded differences (a  t j - t i  b) Minimal network: Make labels of binary constraints as tight as possible Solution: Find a value for each variable satisfying all temporal constraints Consistency: Determine whether a solution exists Constraint: One interval per edge Temporal CSP (TCSP) Disjunctive Temporal Problem (DTP) [5,10] [20,30] U [45, ∞] [120,120] [90,100] t0t0 [0,5] U [10,15] t1t1 t2t2 t3t3 t4t4 A disjunction of intervals per edge Simple Temporal Problem (STP) A disjunction of intervals from edges [45, ∞] [0,5] [20,30] [120,120] [90,100] t0t0 [10,15] t1t1 t2t2 t3t3 t4t4 [5,10] [20,30] [120,120] [90,100] t0t0 [10,15] t1t1 t2t2 t3t3 t4t4 Point 0 is the source added to the constraint graph. incBF updates only affected distances, and detects inconsistency when re-visiting a node. 1.Allows dynamic updates for both constraint posting & retraction. 2.Localizes effects of change. 3.Determines consistency of STP by does not yield the minimal network. 4.Can detect inconsistency much earlier than BF by detecting negative cycles (d 0i + d io < 0). 5.Is useful for TCSP: incrementality is useful for checking the consistency of STPs in the search tree of the meta-CSP. Comparing the above strategies: GraphComplexityConsistencyMinimality F-W Complete  (n 3 ) Yes DPCTriangulatedO (nW * (d) 2 ) very cheap YesNo PPCTriangulatedO (n 3 ) Usually cheaper than F-W/PC Yes  STP TriangulatedAlways cheaper than PPCYes BF/incBFSource point is addedO (en)YesNo STPTCSPDTP Minimal networkPNP-hard ConsistencyPNP-complete TCSP is formulated as a meta-CSP  Variables: edges of the constraint network  Domains of variables: edge labels in the constraint network  A unique global constraint: checking consistency of an STP When using backtrack search for finding all the solutions to the meta-CSP (BT-TCSP), every node in the search tree is an STP to be checked for consistency  An exponential number of STPs to be considered! Meta-CSP Improve the performance of BT-TCSP:   AC: a consistency filtering algorithm for reducing the size of TCSP.  Exploit the topology of the constraint graph:  AP: using articulation points  NewCyc: a heuristic for avoiding unnecessary checking of STPs at every node.  EdgeOrd: a variable ordering heuristic. The minimal network of the TCSP can be found by computing all the solutions to the meta-CSP Improving Search for the TCSP [Xu & Choueiry CP 03]  AC: A new algorithm for filtering TCSP [Choueiry & Xu, AICom 04]  AC removes inconsistent intervals from the domain of the variables of the meta-CSP to reduce the size of meta-CSP: Reduction of problem size of the TCSP Consistent STP e1e1 e5e5 {[90,100]} {[120,120]} {[5,10]} {[10,15], [0,5]} {[20,30], [45,∞]} e3e3 e4e4 e2e2 [5,10] [20,30] U [45, ∞] [120,120] [90,100] t0t0 [0,5] U [10,15] t1t1 t2t2 t3t3 t4t4 … … ………… STP e3e3 e2e2 e1e1 BT-TCSP TCSP [2,5] composed with [1, 3] intersects with [3, 6] [1,3] composed with [3, 6] intersects with [2, 5] M [3,6] composed with [2, 5] does not intersect with [1, 3]  AC removes [1, 3] from domain of e 3. Advantages of  AC:  It is effective, especially under high density.  It is sound, cheap O (n |E |k3), may be optimal.  It uncovers a phase transition in TCSP.  AC checks combinations of 3 intervals: Articulation Points (AP) exploits the topology of the graph  Decomposes the graph into bi-connected components.  Solves each of them independently.  Binds the total cost by the size of largest component.  In a pre-processing step (implemented)  In a look-ahead strategy (to be tested) AP Decomposition Using Articulation Point New cycle check (NewCyc) eliminates unnecessary STP-consistency checks  Checks presence of new cycles O (|E |).  Checks consistency only when a new cycle is added.  Does not affect number of nodes visited in BT-TCSP. Advantages of NewCyc:  Reduces effort of consistency checking.  Restricts effort to new bi-connected component. Edge Ordering (EdgeOrd): a variable ordering heuristic in BT-TCSP  Orders the edges using “triangle adjacency”.  Priority list is a by-product of triangulation. Advantages of EdgeOrd  Localizes backtracking.  Automatically decomposes the constraint graph  no need for AP. Choose first the edge that participates in the largest number of triangles, then consider in priority the edges of the triangles where it appears Checks the consistency of only the newly formed biconnected component Consistent STP Filtering is exponentialFiltering is polynomial One global, exponential size constraint Polynomial number of polynomial-size ternary constraints Ⅰ Ⅱ Ⅲ Ⅳ Search level STP Always Check NewCyc √ √ √ √ √ √ √ √ X X X X 6262 Number of STP checks with and without NewCyc Cesta & Oddi. Gaining Efficiency and Flexibility in the Simple Temporal Problem. TIME 96 Choueiry & Xu. An Efficient Consistency Algorithm for the Temporal Constraint Satisfaction Problem. AICom Dechter, Meiri, & Pearl. Temporal Constraint Networks. AIJ 91. Stergiou & Koubarakis. Backtracking Algorithms for Disjunctions of Temporal Constraints. AIJ Xu & Choueiry. A New Efficient Algorithm for Solving the Simple Temporal Problem. TIME Xu & Choueiry. Improving Backtrack Search for Solving the TCSP. CP References We tested the following combinations: Random generators of STP & TCSP:  Generators take as input: 1.Number of time points of the TCSP 2.Constraint density 3.(Number of intervals per edge) 4.Percentage of problems guaranteed consistent  Note that size of meta-CSP is exponential in the number of time points AlgorithmPerformance Ranking STPTCSP FW + AP DPC + AP BF + AP  STP worse better OK best worse OK - incBF + AP  STP + EdgeOrd + NewCyc incBF + AP + EdgeOrd + NewCyc good - good better best Measured: CPU time, NV number of nodes visited (for TCSP), & CC number of constraint checks Future: exploit incrementality Experiments on the STP:  ∆STP results in the minimal network & dominates all others  Cost of BF increases linearly with density (bounded by O(en), where n and e are respectively the number of nodes and the number of edges in the graph).  50-node STP, density in [2%, 90%], 100 samples per point Experiments on TCSP (all solutions) :  10-node TCSP, density in [2%, 90%], 600 samples per point  Search enhanced with  AC, AP, NewCyc, EdgeOrd Constraint checks for selected TCSP solvers (finding minimal network of the TCSP) d∆ STPincBF Gain LLAverageUL Average CC gain of the best strategy and its lower limit (LL) and upper limit (UL) with 95% confidence. For small values of d, the average of CC, average of CC is not stable when the sample size is less than 400. For small density values (<0.1), values of results were instable. We increased number of samples up to 600 samples per point: CCx10 3 d 0i d i0 0 i i Constraint checks for selected STP solvers Problem complexity With ∆AC Preprocessing STP Solver BF DPC ∆STP BF + AP DPC + AP AP incBF incBF+AP-TCSP Triangulation + EdgeOrd (automatic decomposition) + NewCyc ∆STP-TCSP EdgeOrd &NewCyc incBF+AP+EdgeOrd+NewCyc-TCSP A C B E D A C B E D Temporal GraphF-W A C B E D PPC  STP A C B E D ADE ADC ABC Constraint graphs of different solving strategies An incremental version of BF (incBF): When adding a constraint, incBF visits only nodes whose distance to origin is modified: