June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 1/12 Stratified Heuristic POCL Temporal Planning based on Planning.

Slides:



Advertisements
Similar presentations
Forward-Chaining Partial-Order Planning Amanda Coles, Andrew Coles, Maria Fox and Derek Long (to appear, ICAPS 2010)
Advertisements

Chapter 5 Plan-Space Planning.
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
This lecture topic (two lectures) Chapter 6.1 – 6.4, except
CLASSICAL PLANNING What is planning ?  Planning is an AI approach to control  It is deliberation about actions  Key ideas  We have a model of the.
1 Constraint Satisfaction Problems A Quick Overview (based on AIMA book slides)
This lecture topic (two lectures) Chapter 6.1 – 6.4, except 6.3.3
Leena Suhl University of Paderborn, Germany
COMPILERS Register Allocation hussein suleman uct csc305w 2004.
Artificial Intelligence Constraint satisfaction problems Fall 2008 professor: Luigi Ceccaroni.
1 Graphplan José Luis Ambite * [* based in part on slides by Jim Blythe and Dan Weld]
Graph-based Planning Brian C. Williams Sept. 25 th & 30 th, J/6.834J.
Planning Graphs * Based on slides by Alan Fern, Berthe Choueiry and Sungwook Yoon.
Planning and Scheduling. 2 USC INFORMATION SCIENCES INSTITUTE Some background Many planning problems have a time-dependent component –  actions happen.
Best-First Search: Agendas
Planning CSE 473 Chapters 10.3 and 11. © D. Weld, D. Fox 2 Planning Given a logical description of the initial situation, a logical description of the.
1 Chapter 16 Planning Methods. 2 Chapter 16 Contents (1) l STRIPS l STRIPS Implementation l Partial Order Planning l The Principle of Least Commitment.
1 Maximal Independent Set. 2 Independent Set (IS): In a graph, any set of nodes that are not adjacent.
Fast Planning through Planning Graph Analysis By Jan Weber Jörg Mennicke.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Planning: Part 3 Planning Graphs COMP151 April 4, 2007.
Artificial Intelligence Constraint satisfaction Chapter 5, AIMA.
CSE 5731 Lecture 21 State-Space Search vs. Constraint- Based Planning CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.
Constraint Satisfaction Problems
Planning II CSE 473. © Daniel S. Weld 2 Logistics Tournament! PS3 – later today Non programming exercises Programming component: (mini project) SPAM detection.
Chapter 5 Outline Formal definition of CSP CSP Examples
1 Planning Chapters 11 and 12 Thanks: Professor Dan Weld, University of Washington.
Planning II CSE 573. © Daniel S. Weld 2 Logistics Reading for Wed Ch 18 thru 18.3 Office Hours No Office Hour Today.
Constraint Satisfaction Problems
Slide 1 CSPs: Arc Consistency & Domain Splitting Jim Little UBC CS 322 – Search 7 October 1, 2014 Textbook §
1 Plan-Space Planning Dr. Héctor Muñoz-Avila Sources: Ch. 5 Appendix A Slides from Dana Nau’s lecture.
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
Computing & Information Sciences Kansas State University Wednesday, 15 Oct 2008CIS 530 / 730: Artificial Intelligence Lecture 20 of 42 Wednesday, 15 October.
Carnegie Mellon Interactive Resource Management in the COMIREM Planner Stephen F. Smith, David Hildum, David Crimm Intelligent Coordination and Logistics.
Constraint Satisfaction CPSC 386 Artificial Intelligence Ellen Walker Hiram College.
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Partial Order Planning Based on slides by: Carmel.
Chapter 5 Constraint Satisfaction Problems
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Review Test1. Robotics & Future Technology Future of Intelligent Systems / Ray Kurzweil futurist Ray Kurzweil / A Long Bet A Long Bet / Robot Soccer.
Maximum Density Still Life Symmetries and Lazy Clause Generation Geoffrey Chu, Maria Garcia de la Banda, Chris Mears, Peter J. Stuckey.
Arc Consistency CPSC 322 – CSP 3 Textbook § 4.5 February 2, 2011.
Graphplan.
Automated Planning and Decision Making Prof. Ronen Brafman Automated Planning and Decision Making Graphplan Based on slides by: Ambite, Blyth and.
Graphplan CSE 574 April 4, 2003 Dan Weld. Schedule BASICS Intro Graphplan SATplan State-space Refinement SPEEDUP EBL & DDB Heuristic Gen TEMPORAL Partial-O.
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.
Temporal Planning with Continuous Change J.Scott Penbrethy Daniel S. Weld Presented by - Parag.
Computing & Information Sciences Kansas State University Wednesday, 04 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 17 of 42 Wednesday, 04 October.
Computing & Information Sciences Kansas State University Friday, 13 Oct 2006CIS 490 / 730: Artificial Intelligence Lecture 21 of 42 Friday, 13 October.
ARTIFICIAL INTELLIGENCE (CS 461D) Dr. Abeer Mahmoud Computer science Department Princess Nora University Faculty of Computer & Information Systems.
Inference and search for the propositional satisfiability problem
Planning as Search State Space Plan Space Algorihtm Progression
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Constraint Satisfaction Problems vs. Finite State Problems
Planning: Heuristics and CSP Planning
CSPs: Search and Arc Consistency Computer Science cpsc322, Lecture 12
Problem Reduction -AND-OR Graph -AO* Search CSE 402 K3R23/K3R20.
Class #17 – Thursday, October 27
Graph-based Planning Slides based on material from: Prof. Maria Fox
Graphplan/ SATPlan Chapter
Planning Problems On(C, A)‏ On(A, Table)‏ On(B, Table)‏ Clear(C)‏
Class #19 – Monday, November 3
Constraints and Search
Graphplan/ SATPlan Chapter
Russell and Norvig: Chapter 11 CS121 – Winter 2003
Graphplan/ SATPlan Chapter
Brad Clement and Ed Durfee University of Michigan
CS 8520: Artificial Intelligence
GraphPlan Jim Blythe.
[* based in part on slides by Jim Blythe and Dan Weld]
Constraint Graph Binary CSPs
Presentation transcript:

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 1/12 Stratified Heuristic POCL Temporal Planning based on Planning Graphs and Constraint Programming Ioannis Refanidis University of Macedonia, Thessaloniki, Greece

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 2/12 Introduction Our context: –Deadline goals –Durative actions with the effects at the end of the duration Innovations: –Simplified way to create the temporal planning graph –POCL heuristic temporal planning with disjunctive constraints No quantization of time, no-op actions Threats by emutex and cmutex relations –Heuristic guidance based on temporal planning graph –Completeness preserving pruning rules

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 3/12 Temporal planning graphs Citation: –Smith, D., and Weld., D Temporal planning with mutual exclusion reasoning. Proc. of the 16th Intern. Joint Conf. on Artificial Intelligence, 326,333. Planning graph nodes: Actions and Propositions –action(A,T) –prop(P,T) Relations: –emutex(N1,N2) –cmutex(N1,N2,T) Events: –new_prop(P,T) –end_cmutex(P,Q,T)

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 4/12 Algorithm outline Main loop add_effects new_emutex_relations cmutex_action_prop1 cmutex_actions cmutex_props stop_cmutex_props cmutex_action_prop2 update_cmutex_props update_cmutex_action_prop update_cmutex_actions

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 5/12 Efficient planning graph construction Computing cmutex between actions: The most costly part of the temporal planning graph construction. Idea: Do not compute cmutex between actions during planning graph construction. –Omit calls to cmutex_actions and update_cmutex_actions. Choices: –Compute them once only, after the temporal planning graph construction. –Compute them on demand, during the POCL planning phase. Depending on the problem, significant savings in overall planning time.

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 6/12 Plan extraction as a CS problem Temporal constraint variables for: –Open goals,  G,T  –Actions in the plan,  A,T A  –Persistence conditions,  G,T 1,T 2  Algorithm outline: –Call the CSP solver when Agenda is empty. –Three ways to support open goals Initial state, current plan, new actions –Potential conflicts between persistence conditions (existing and new) and actions (existing and new).

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 7/12 Conflict resolution Threats are detected based on emutex and cmutex relations. Suppose two conflicting persistence conditions: –  G 1,T 11,T 12  –  G 2,T 21,T 22  Let T be the time where the mutex relations ends. Two cases for T: T=inf –T 11 ≥T 22 or T 21 ≥T 12 T<inf –T 11 ≥T 22 or T 21 ≥T 12 or T 11 ≥T or T 21 ≥T

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 8/12 Heuristic POCL Temporal Planning Adapted by: –Younes, L.S.H., and Simmons, R.G VHPOP: Versatile Heuristic Partial Order Planner. Journal of Artificial Intelligence Research, 20, For each set of open goals: –We do not consider duplicate goals. –We do not consider goals that can potentially be supported by actions already inserted in the plan. –From the remaining goals, we sum the maximum of the heuristic values for each "cluster" of goals that are emutexed or cmutexed until the infinite to each other. –In the above sum, we add the number of the goals (tie breaking mechanism). Subgoal selection: Most costly first. Tie breaking: Select the newest plans.

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 9/12 Repeated subgoal pruning Def. 1: A primitive subgoal chain PCHAIN(G n ) is an ordered list of subgoals  G n, G n-1, …G 0 , where each subgoal G i has been inserted in Agenda as a precondition of action A i, where action A i was initially inserted in the plan to support subgoal G i-1. Subgoal G 0 is an original goal of the problem instance. Repeated subgoal pruning rule: A new action A with G  Eff(A), cannot be inserted in a plan to support a specific subgoal G, if there is any proposition P  Precs(A) such that P  PCHAIN(G). switch on off on switch off on off clean on dirty clean dirty initial off clean goal off

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 10/12 Deleted supports Suppose two actions in a plan, A and B, such that: –P  Prec(A), P  Prec(B) –A and B are supported by the same proposition instance P. Then: –If neither A nor B deletes P, no constraint is posted. –If A deletes P but B preserves it, A is demoted after B. –If B deletes P but A preserves it, B is demoted after A. –If both A and B delete P, the plan is discarded. The use of disjunctive constraints renders this inconsistency undetectable, so it must be checked explicitly.

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 11/12 Preliminary results Preliminary implementation in ECLiPSe 5.8. Time limit 300 secs. Occasionally solve problems by the Airport and Pipesworld domains. #FullOlder-Pruning 1-Pruning 1, Older STP timemakesp an timemakesp an timemakesp an timemakesp an timemakesp an satellite satellite satellite satellite satellite

June 6 th, 2005 ICAPS-2005 Workshop on Constraint Programming for Planning and Scheduling 12/12 Future work Partially instantiated actions. Stronger propagation rules for disjunctive constraints. –e.g. A#>B, A# C ⊨ A#>C Expreriments/results in other domains.