Consistency Methods for Temporal Reasoning

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

Heuristic Search techniques
Tree Clustering for Constraint Networks 1 Chris Reeson Advanced Constraint Processing Fall 2009 By Rina Dechter & Judea Pearl Artificial Intelligence,
Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
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
A First Practical Algorithm for High Levels of Relational Consistency Shant Karakashian, Robert Woodward, Christopher Reeson, Berthe Y. Choueiry & Christian.
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.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
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.
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,
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:
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.
Constraint Systems Laboratory March 26, 2007Reeson–Undergraduate Thesis1 Using Constraint Processing to Model, Solve, and Support Interactive Solving of.
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.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Because the localized R(*,m)C does not consider combinations of relations across clusters, propagation between clusters is hindered. Synthesizing a global.
Advanced Constraint Processing, Spring 2013 Temporal Constraints Networks 1/9/20131Temporal Reasoning Advanced Constraint Processing CSCE 921, Spring 2013:
Constraint Satisfaction Read Chapter 5. Model Finite set of variables: X1,…Xn Variable Xi has values in domain Di. Constraints C1…Cm. A constraint specifies.
CP Summer School Modelling for Constraint Programming Barbara Smith 2. Implied Constraints, Optimization, Dominance Rules.
1 CS B551: Elements of Artificial Intelligence Instructor: Kris Hauser
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
Solving Problems by searching Well defined problems A probem is well defined if it is easy to automatically asses the validity (utility) of any proposed.
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.
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
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.
Hybrid BDD and All-SAT Method for Model Checking
Structure-Based Methods Foundations of Constraint Processing
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
Path Consistency & Global Consistency Properties
More on Constraint Consistency
Structure-Based Methods Foundations of Constraint Processing
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Structure-Based Methods Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
More on Constraint Consistency
Evaluation of (Deterministic) BT Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Intelligent Backtracking Algorithms: A Theoretical Evaluation
Evaluation of (Deterministic) BT Search Algorithms
Intelligent Backtracking Algorithms: A Theoretical Evaluation
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.
Structure-Based Methods Foundations of Constraint Processing
Revisiting Neighborhood Inverse Consistency on Binary CSPs
Reformulating the Dual Graphs of CSPs
Presentation transcript:

Consistency Methods for Temporal Reasoning Lin Xu and Berthe Y. Choueiry Constraint Systems Laboratory • Department of Computer Science and Engineering, University of Nebraska-Lincoln • {lxu|choueiry}@cse.unl.edu We propose new efficient algorithms for solving Simple Temporal Problems (STPs) and Temporal Constraint Satisfaction Problems (TCSPs). Our contributions are: Answers to three research questions: Is there a better algorithm than Floyd-Warshall (F-W) to ensure consistency and minimality of the STP? Is there an efficient consistency algorithm to reduce the size of the TCSP? How can we improve the performance of BT-TCSP, an exponential time procedure for solving the TCSP? Design of new generators for random STPs and TCSPs that guarantee the existence of at least one solution. Evaluation & empirical evidence on benchmarks on random problems Solving TCSPs is an NP-hard problem. It requires search (BT-TCSP) Formulate TCSP as a meta-CSP Find all solutions to the meta-CSP For STPs, there are efficient procedures for determining: Consistency: F-W, DPC [2], PPC [1]. Minimality: F-W & PPC [1]. 1. Is there a better algorithm for solving STP than the Floyd-Warshall algorithm (F-W)? We propose STP a new closure algorithm for solving STPs, an adaptation of PPC [1] to temporal networks. Two parameters for improvements: Exploiting the topology the graph: decompose the graph according into its bi-connected component using the articulation points (AP), and solve each component independently (cost bounded by size of the largest component). Known technique, but never tested empirically Exploiting the semantics of the temporal constraints: which are convex. Partial path consistency (PPC): PPC is a closure algorithm, applicable to general CSPs. It requires triangulation of constraint graph. In general, PPC does not result in the minimal network. But for convex constraints, it guarantees minimality (just like F-W, but much cheaper in practice). STP improves on PPC: Operates on the constraint graph as if composed of triangles, not edges Automatically decomposes the constraint graph into bi-connected components Always cheaper than PPC and F-W Best known algorithm for solving STP. Edge Ordering (EdgeOrd): We order the edges using ‘triangle adjacency’ property. The priority list is a by-product of triangulation. EdgeOrd has two advantages: (1) localized backtracking (2) automatic decomposition of the constraint graph. 2. Is there an efficient algorithm for filtering the TCSP? We propose AC, a polynomial-time algorithm that approximates generalized arc-consistency for the TCSP, which is NP-hard. AC: The goal of the AC algorithm is to remove inconsistent intervals from the domain of the variables of the meta-CSP, as a preprocessing step to search. The meta-CSP has a unique, global constraint of exponential size. Defining this constraint requires solving the meta-CSP, which is NP-hard. We use polynomial number of polynomial-size ternary constraints instead of this global constraint. An in a given interval that does not satisfy any ternary constraints cannot possibly satisfy the global constraint. Hence, AC safely can removed from the domain of edge. Validation by empirical evaluations One global, exponential size constraint Polynomial number of polynomial-size ternary constraints We test the following combinations of TCSP-solvers. Experimental results confirm the significance of our approach. The best TCSP-solver is STP-TCSP (based on STP and using AC, EdgeOrd & NewCyc). It outperforms the old TCSP-solver (DPC-TCSP) by a factor 500 (median) in the number of constraint checks. 3. How can we improve performance of BT-TCSP? We propose: to exploit the existence of articulation points (again!) to eliminate unnecessary STP-consistency checks (NewCyc) a good variable ordering heuristic in BT-TCSP (EdgeOrd) New cycle check: checks presence of new cycles, O (|E |). We check consistency of STP only if a new cycle is added. NewCyc restricts update to the newly formed bi-connected component, reducing #CC. Directions for future research Ensure optimality of AC Use AC in a lookahead strategy Use dynamic bundling to allow BT-TCSP to work on large problems. References [1] Ch. Bliek and D. Sam-Haroud. Path Consistency for Triangulated Constraint Graphs. In Proc. of the 16th IJCAI , pages 456-461, Stockholm, Sweden, 1999  [2] R. Dechter, I. Meiri, and J. Pearl. Temporal Constraint Networks. Artificial Intelligence,. 49:61-95, 1991 [3] L. Xu & B.Y. Choueiry, A New Efficient Algorithm for Solving the Simple Temporal Problem, to appear, TIME 03. [4] L. Xu, Consistency Methods for Temporal Reasoning, MS thesis, ConSystLab, UNL, 2003. This work is supported by a grant from NASA-Nebraska, NSF CAREER Award #0133568, and a gift from Honeywell Laboratories.