A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln.

Slides:



Advertisements
Similar presentations
Constraint Satisfaction Problems
Advertisements

Heuristic Search techniques
Foundations of Constraint Processing Temporal Constraints Networks 1Topic Foundations of Constraint Processing CSCE421/821, Spring
Interactive Configuration
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.
Planning with Resources at Multiple Levels of Abstraction Brad Clement, Tony Barrett, Gregg Rabideau Artificial Intelligence Group Jet Propulsion Laboratory.
Foundations of Constraint Processing More on Constraint Consistency 1 Foundations of Constraint Processing CSCE421/821, Spring
Technology to Support Individuals with Cognitive Impairment Martha E. Pollack Computer Science & Engineering University of Michigan.
Chapter 5 Decrease and Conquer. Homework 7 hw7 (due 3/17) hw7 (due 3/17) –page 127 question 5 –page 132 questions 5 and 6 –page 137 questions 5 and 6.
Foundations of Constraint Processing, Spring 2008 April 16, 2008 Tree-Structured CSPs1 Foundations of Constraint Processing CSCE421/821, Spring 2008:
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.
Foundations of Constraint Processing, Spring 2008 Evaluation to BT SearchApril 16, Foundations of Constraint Processing CSCE421/821, Spring 2008:
Foundations of Constraint Processing, Fall 2005 Sep 22, 2005Consistency: Properties & Algorithms 1 Foundations of Constraint Processing CSCE421/821, Fall.
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.
10/27 Exam post-mortem Phased-relaxation approach Order generalization (Partialization) Temporal Networks.
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.
Foundations of Constraint Processing, Fall 2004 Oct 5, 2004Consistency: Properties & Algorithms 1 Foundations of Constraint Processing CSCE421/821, Fall.
The Theory of NP-Completeness
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.
Analysis of Algorithms CS 477/677
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.
Chao Chen Wednesday, February 26, Temporal Constraint Networks Chapter 12 Chao Chen CSCE Advanced Constraint Processing.
1 Bandwidth Allocation Planning in Communication Networks Christian Frei & Boi Faltings Globecom 1999 Ashok Janardhanan.
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,
Ryan Kinworthy 2/26/20031 Chapter 7- Local Search part 2 Ryan Kinworthy CSCE Advanced Constraint Processing.
Advanced Constraint Processing, Fall 2009 An Efficient Consistency Algorithm for the Temporal Constraint Satisfaction Problem Berthe Y. Choueiry & Lin.
Distributed Constraint Optimization Michal Jakob Agent Technology Center, Dept. of Computer Science and Engineering, FEE, Czech Technical University A4M33MAS.
MA/CSSE 473 Day 12 Insertion Sort quick review DFS, BFS Topological Sort.
Using Abstraction in Multi-Rover Scheduling Bradley J. Clement and Anthony C. Barrett Artificial Intelligence Group Jet Propulsion Laboratory {bclement,
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:
1 CS B551: Elements of Artificial Intelligence Instructor: Kris Hauser
Hande ÇAKIN IES 503 TERM PROJECT CONSTRAINT SATISFACTION PROBLEMS.
1 Chapter 5 Constraint Satisfaction Problems. 2 Outlines  Constraint Satisfaction Problems  Backtracking Search for CSPs  Local Search for CSP  The.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
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.
CPSC 422, Lecture 11Slide 1 Intelligent Systems (AI-2) Computer Science cpsc422, Lecture 11 Oct, 2, 2015.
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.
1. 2 Outline of Ch 4 Best-first search Greedy best-first search A * search Heuristics Functions Local search algorithms Hill-climbing search Simulated.
Foundations of Constraint Processing, Spring 2009 Structure-Based Methods: An Introduction 1 Foundations of Constraint Processing CSCE421/821, Spring 2009.
Knowledge Representation Fall 2013 COMP3710 Artificial Intelligence Computing Science Thompson Rivers University.
Eliminating non- binary constraints Toby Walsh Cork Constraint Computation Center.
David Stotts Computer Science Department UNC Chapel Hill.
Foundations of Constraint Processing, Spring 2009 February 20, 2009 Basic Consistency Methods 1 Foundations of Constraint Processing CSCE421/821, Spring.
Faster Symmetry Discovery using Sparsity of Symmetries Paul T. Darga Karem A. Sakallah Igor L. Markov The University of Michigan.
Consistency Methods for Temporal Reasoning
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
More on Constraint Consistency
Structure-Based Methods Foundations of Constraint Processing
Evaluation of (Deterministic) BT Search Algorithms
Evaluation of (Deterministic) BT Search Algorithms
Evaluation of (Deterministic) BT Search Algorithms
Directional consistency Chapter 4
Structure-Based Methods Foundations of Constraint Processing
Constraint Satisfaction Problems
Reformulating the Dual Graphs of CSPs
Presentation transcript:

A New Efficient Algorithm for Solving the Simple Temporal Problem Lin Xu & Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln

Outline Motivation for Simple Temporal Problem (STP) STP  TCSP  DTP Consistency properties & algorithms General CSPs STP Contributions Use (improved) PPC for STP Refine it into  STP Evaluation on random instances, 3 generators Summary & new results

Temporal Reasoning in AI An important task & exciting research topic, otherwise we would not be here Temporal Logic Temporal Networks Qualitative relations: Before, after, during, etc. interval algebra, point algebra Quantitative/metric relations: 10 min before, during 15 min, etc. Simple TP (STP), Temporal CSP (TCSP), Disjunctive TP (DTP)

Temporal Network: example Tom has class at 8:00 a.m. Today, he gets up between 7:30 and 7:40 a.m. He prepares his breakfast (10-15 min). After breakfast (5-10 min), he goes to school by car (20-30 min). Will he be on time for class?

Simple Temporal Network (STP) Variable: Time point for an event Domain: A set of real numbers (time instants) Constraint: An edge between time points ([5, 10]  5  P b -P a  10) Algorithm: Floyd-Warshall, polynomial time

Other Temporal Problems Temporal CSP: Each edge is a disjunction of intervals STP  TCSP Disjunctive Temporal Problem: Each constraint is a disjunction of edges STP  TCSP  DTP

Search to solve the TCSP/DTP TCSP [Dechter] and DTP [Stergiou & Koubarakis] are NP-hard They are solved with backtrack search Every node in the search tree is an STP to be solved An exponential number of STPs to be solved  Better STP-solver than Floyd-Warshall? … Yes

Properties of a (general) CSP Consistency properties Decomposable  Consistent Decomposable  Minimal  Path consistent (PC) Algorithms for PC PC-1 (complete graph) [Montanari 74] PPC (triangulated graph) [Bliek & Sam-Haroud 99] Approximation algorithm: DPC [Dechter et al. 91] Articulation points

Properties of an STP When  distributive over  in PC-1 : Decomposable  Minimal  PC [Montanari 74] PC-1 guarantees consistency Convexity of constraints PPC & PC-1 yield same results [B & S-H 99] PC-1 collapses with F-W [Montanari 74] Triangulation of the network Decomposition using AP is implicit No propagation between bi-connected components

New algorithms for STP Use PPC for solving the STP improved [B&S-H 99] Simultaneously update all edges in a triangle  STP is a refinement of PPC considers the network as composed by triangles instead of edges Temporal graph F-W  STP PPC

Evaluation Implemented 2 new random generators Tested: 100 samples, 50, 100, 256, 512 nodes GenSTP-1 (2 versions) Connected, solvable with 80% probability SPRAND Sub-class of SPLIB, public domain library Problems have a structural constraint (cycle) GenSTP-2 Courtesy of Ioannis Tsamardinos Structural constraint not guaranteed

Experiments 1. Managing queue in  STP  STP-front,  STP-random,  STP-back 2. Comparing F-W, PPC (new), DPC,  STP Effect of using AP in F-W & DPC Computing the minimal network (not DPC ) Counting  constraint check & CPU time

Managing the queue in  STP

Experiments 1. Managing queue in  STP  STP-front,  STP-random,  STP-back 2. Comparing F-W, PPC (new), DPC,  STP Effect of using AP in F-W & DPC Computing the minimal network (not DPC ) Counting  constraint checks & CPU time

Finding the minimal STP

Determining consistency of STP

Advantages of  STP A finer version of PPC Cheaper than PPC and F-W Guarantees the minimal network Automatically decomposes the graph into its bi-connected components binds effort in size of largest component allows parallellization Ø Best known algorithm for solving STP  use it search to solve TCSP or DTP where it is applied an exponential number of times

Results of this paper Is there a better algorithm for STP than F-W ? Constraint semantic: convexity PPC guarantees minimality and decomposability Exploiting topology: AP + triangles Articulation points improves any STP solver Propagation over triangles make  STP more efficient than F-W and PPC

Beyond the temporal problem Exploiting constraint convexity: A new some-pairs shortest path algorithm, determines consistency faster than F-W Exploiting triangulation: A new path- consistency algorithm (improved PPC) Simultaneously updating edges in a triangle Propagating via adjacent triangles

New results & future work Demonstrate the usefulness and effectiveness of  STP for solving: TCSP [CP 03, IJCAI-WS 03] Use  STP, currently the best STP solver  AC algorithm, NewCyc & EdgeOrd heuristics DTP [on-going] Incremental triangulation [Noubir 03, Berry 03]

The end

Algorithms for solving the STP GraphCostConsistencyMinimality F-W/PC Complete  (n 3 ) Yes DPC Not necessarily O (nW * (d) 2 ) very cheap YesNo PPC Triangulated O (n 3 ) usually cheaper than F-W/PC Yes  STP Triangulated Always cheaper than PPC Yes  Our approach requires triangulation of the constraint graph

SPRAND: Constraint checks

SPRAND: CPU Time

GenSTP2: Constraint checks

GenSTP2: CPU time