1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain.

Slides:



Advertisements
Similar presentations
Heuristic Search techniques
Advertisements

Practical Planning: Scheduling and Hierarchical Task Networks Chapter CS 63 Adapted from slides by Tim Finin and Marie desJardins.
REVIEW : Planning To make your thinking more concrete, use a real problem to ground your discussion. –Develop a plan for a person who is getting out of.
CSE391 – 2005 NLP 1 Planning The Planning problem Planning with State-space search.
Planning
1 Planning Chapter CMSC 471 Adapted from slides by Tim Finin and Marie desJardins. Some material adopted from notes by Andreas Geyer-Schulz,
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Planning II: Partial Order Planning
Hierarchical Task Network (HTN) Planning Hai Hoang 4/17/2007.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
Planning Module THREE: Planning, Production Systems,Expert Systems, Uncertainty Dr M M Awais.
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.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Classical Planning via Plan-space search COMP3431 Malcolm Ryan.
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 ICWS 2006, Chicago ICWS 2006 A Framework for Intelligent Web Services: Combined HTN and CSP Approach Incheon Paik, University of Aizu Daisuke Maruyama,
CPSC 322, Lecture 19Slide 1 Propositional Logic Intro, Syntax Computer Science cpsc322, Lecture 19 (Textbook Chpt ) February, 23, 2009.
Artificial Intelligence 2005/06
CPSC 322, Lecture 18Slide 1 Planning: Heuristics and CSP Planning Computer Science cpsc322, Lecture 18 (Textbook Chpt 8) February, 12, 2010.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
Reference: Message Passing Fundamentals.
Planning II GraphPlan and Russell and Norvig: ch.12 CMSC421 – Fall 2006 based on material from Jim Blythe, JC Latombe, Marie desJardins and Daphne Koller.
Constraint Logic Programming Ryan Kinworthy. Overview Introduction Logic Programming LP as a constraint programming language Constraint Logic Programming.
Planning Copyright, 1996 © Dale Carnegie & Associates, Inc. Chapter 11.
1 BLACKBOX: A New Approach to the Application of Theorem Proving to Problem Solving Bart Selman Cornell University Joint work with Henry Kautz AT&T Labs.
Automated Planning and HTNs Planning – A brief intro Planning – A brief intro Classical Planning – The STRIPS Language Classical Planning – The STRIPS.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Classical Planning Chapter 10.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
CS62S: Expert Systems Based on: The Engineering of Knowledge-based Systems: Theory and Practice A. J. Gonzalez and D. D. Dankel.
(Classical) AI Planning. Some Examples Route search: Find a route between Lehigh University and the Naval Research Laboratory Project management: Construct.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Homework 1 ( Written Portion )  Max : 75  Min : 38  Avg : 57.6  Median : 58 (77%)
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Planning, page 1 CSI 4106, Winter 2005 Planning Points Elements of a planning problem Planning as resolution Conditional plans Actions as preconditions.
Planning (Chapter 10)
0 What logic is or should be Propositions Boolean operations The language of classical propositional logic Interpretation and truth Validity (tautologicity)
Planning (Chapter 10)
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
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.
Automated Planning Dr. Héctor Muñoz-Avila. What is Planning? Classical Definition Domain Independent: symbolic descriptions of the problems and the domain.
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
CSE473 Winter /04/98 State-Space Search Administrative –Next topic: Planning. Reading, Chapter 7, skip 7.3 through 7.5 –Office hours/review after.
AI Lecture 17 Planning Noémie Elhadad (substituting for Prof. McKeown)
Problem Reduction So far we have considered search strategies for OR graph. In OR graph, several arcs indicate a variety of ways in which the original.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
(Classical) AI Planning. General-Purpose Planning: State & Goals Initial state: (on A Table) (on C A) (on B Table) (clear B) (clear C) Goals: (on C Table)
Finite State Machines (FSM) OR Finite State Automation (FSA) - are models of the behaviors of a system or a complex object, with a limited number of defined.
Hierarchical Task Network Planning Automated Planning: Theory and Practice, Chapter 11 소프트컴퓨팅 연구실
Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.
1 CMSC 471 Fall 2004 Class #21 – Thursday, November 11.
1 CMSC 471 Fall 2002 Class #24 – Wednesday, November 20.
Planning I: Total Order Planners Sections
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
ADVANCED PLANNING TECHNIQUES Dr. Adam Anthony Lecture 22.
Helpful hints for planning your Wednesday investigation.
Assumption-based Truth Maintenance Systems: Motivation n Problem solvers need to explore multiple contexts at the same time, instead of a single one (the.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
SNS College of Engineering Department of Computer Science and Engineering AI Planning Presented By S.Yamuna AP/CSE 5/23/2018 AI.
Planning as Satisfiability
Review for the Midterm Exam
CIS 488/588 Bruce R. Maxim UM-Dearborn
Class #20 – Wednesday, November 5
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
Class #17 – Tuesday, October 30
Presentation transcript:

1 Planning. R. Dearden 2007/8 Exam Format  4 questions You must do all questions There is choice within some of the questions  Learning Outcomes: 1.Explain the main approaches in classical planning as well as recent methods of planning 2.Understand and discuss the advantages and limitations of these approaches 3.Apply the presented planning algorithms to unseen examples

2 Planning. R. Dearden 2007/8 Questions  Question 1 Short essay discussing different planning technologies and their advantages and disadvantages LO2: Comparing different planners and discussing their strengths and weaknesses  Questions 2 and 3 Apply the planning algorithms we studied to a particular problem LO3: apply an algorithm to an unseen example You will have some choice about which algorithms to apply Do read the question carefully!

3 Planning. R. Dearden 2007/8 Questions, ctd.  Question 4 Short answers discussing particular planning algorithms and how they work You’ll need to know about things like the Sussman anomaly, mutexes, partial order planning, etc Not details of the algorithms, but the ideas that are behind them LO1: explain a planning algorithm

4 Planning. R. Dearden 2007/8 Algorithms You Should Know  The situation calculus Frame problem  STRIPS Sussmann anomaly  Non-Linear planning / Plan-space planning  Graphplan  SATPlan The Davis-Putnam procedure How to translate a planning problem into a SAT problem  Hierarchical Planning Situation abstraction Operator abstraction HTNs

5 Planning. R. Dearden 2007/ Exam 1.Describe the difference between a state-space and plan-space planner. What are their strengths and weaknesses? What kinds of problems (if any) can one solve but not the other? State-space planners build plans by searching in the graph of the state-transition system. Plan-space planners build plans by incrementally adding actions or constraints to a partial plan Because of this, a solution is a partial order for which all consistent total orders are executable plans Plan-space planners separate the actions in a plan from the order they are done in, so the control strategy of the planner has less influence on the kinds of plans that can be generated The plan space makes the reasons for plan structure explicit, so explanation is easier The state space is typically assumed to be finite, while the plan space is not The search space is simpler, so state-space planners are often faster, and scale better Both problems can in theory solve the same set of problems - the differences come from the specific search algorithms of planners, not from the state-space/plan-space approach. (2)

6 Planning. R. Dearden 2007/ Exam 2.Hierarchical Task Networks (HTNs) are another planning approach that has been quite successful in some problems. Describe HTN planning, how it differs from classical planning approaches such as STRIPS, and suggest (with reasons) some domains in which it might be particularly appropriate. In classical planning the objective is to find a set of actions from a start state to a goal state. In HTN planning it is rather to provide a way of achieving a task or set of tasks. Tasks are divided into primitive tasks that can be executed directly, and non-primitive tasks which must be decomposed. Task decomposition is performed using a library of methods, each of which is a way to turn a more abstract task into a sequence of simpler tasks. Thus HTN planning differs from classical planners in that they are hierarchical rather than working in a flat space, and in the fact that the methods encode very specific information about solving problems, so the planning problem contains far more domain knowledge. HTN planners have been successful in areas where domain experts can fairly easily encode what needs to be done in terms of ``recipes'' to follow. A good example is in computer games.

7 Planning. R. Dearden 2007/ Exam: Domain

8 Planning. R. Dearden 2007/ Exam  Above is a planning domain involving driving vehicles and travelling between locations. Show in detail how STRIPS solves this problem. Assume optimal choices.  Discuss the reasons why STRIPS is incomplete. Use examples to illustrate problems STRIPS cannot solve, and explain why not STRIPS only searches for actions to achieve the preconditions of the last operator added to the plan. This means that interleaving actions from different parts of the plan is impossible. For example, the switching variable values problem is unsolvable by STRIPS because it will make the first assignment, commit to the plan to solve that subgoal, and then be unable to make the second assignment as the value it needs to move has already been overwritten

9 Planning. R. Dearden 2007/ Exam  Explain the approach used in planning as satisfiability algorithms such as SATPLAN. Contrast it with the approach in the situation calculus. The idea in SATplan is to define the initial and goal state, as well as all the operators in propositional logic, and use efficient SAT solvers to find a model of all formulae which then corresponds to a plan. SitCalc uses first order logic rather than propositional logic, and solves the problem by deductive reasoning, rather than simply finding an assignment of values to variables that satisfies the formula  Show how the initial state and goal in the driving domain above could be represented as a satisfiability problem. How are the planning operators represented? At(Jack, here,0)  At(Bulldozer, here,0)  Vehicle(Bulldozer,0)  Mobile(Jack, 0)  Person(Jack,0) ...  At(Bulldozer, there,1)  At(Jack, here, 1) In rules, all variables are instantiated by all possible values up to a particular evaluation depth, so all actions can be applied at any point in the plan. Each rule is an implication (if this is true at time t, then this is true at t+1)

10 Planning. R. Dearden 2007/ Exam  Draw a plan graph for this problem, showing all the mutexes, and the final plan found. Note that you do not need to show all the smaller plan graphs created before the final one.  This version of the problem is unsolvable. Show the plan graph for this problem and explain how GraphPlan knows that there is no solution.  What would STRIPS do on the problem in Part (b)?