Commitment Least you haven't decided where to go shopping. Or...suppose You can get milk at the convenience store, at the dairy, or at the supermarket

Size: px
Start display at page:

Download "Commitment Least you haven't decided where to go shopping. Or...suppose You can get milk at the convenience store, at the dairy, or at the supermarket"

Transcription

1 Planning as Search-based Problem Solving? Imagine a supermarket shopping scenario using search-based problem solving: Goal: buy milk and bananas Operator: buy <obj> Heuristic function: does <obj> = milk or bananas? The operator would be instantiated with all possible objects that can be bought! Then the heuristic function would evaluate each instantation. This is essentially a guessing game!

2 Commitment Least you haven't decided where to go shopping. Or...suppose You can get milk at the convenience store, at the dairy, or at the supermarket. Goal: buy milk and bananas Operators: go to<store>, buy <obj, store> You can only get bananas at the supermarket. If you decide where to buy milk rst (say, at the convenience store), then you will either: (a) have to backtrack, or (b) have to go to more than one store! Planners have to be exible (add actions or instantiate variables in any order) and usually follow the principle of least commitment.

3 Planning vs. Search-based Problem Solving Problem solving: actions generate successor states. Planning: actions are represented as preconditions and eects. Problem solving: state representations are complete. Planning: complete state descriptions would be enormous. Problem solving: goal test and heuristic function used to evaluate states. Planning: goals are usually represented as a conjunct of state variables. Problem solving: incrementally generates solution as a sequence of actions. Planning: can add actions to any part of the plan at any time.

4 STRIPS Language The (Stanford Research Institute Problem Solver) was a pioneering STRIPS program developed in The STRIPS \language" is still widely planning today to represent states and operators. used conjunction of atoms that must be true before the precondtions: can be applied. operator States and Goals: Conjunctions of function-free literals. Operators: action description: name for action command to environment. eects: add list and delete list

5 Operators STRIPS 1: MOVE BLOCK TO BLOCK Operator 2: MOVE BLOCK TO TABLE Operator preconds: 3: MOVE BLOCK FROM TABLE Operator preconds: preconds: block(x) ^ block(y) ^ block(z) ^ on(x y) ^ clear(x) ^ clear(z) eects: Add: on(x,z), clear(y) Delete: on(x,y), clear(z) block(x) ^ block(y) ^ on(x y) ^ clear(x) eects: Add: on(x,table), clear(y) Delete: on(x,y) block(x) ^ block(y) ^ on(x T able) ^ clear(x) ^ clear(z) eects: Add: on(x,z) Delete: on(x,table), clear(z)

6 Space Planner Searches through space of possible situations Situation like search-based problem solving. much Planner Forward search from the initial situation to the goal Progression situation. doesn't work well branching factor too high yields Usually growth of tree. exponential Planner Backward search from the goal situation to the initial Regression situation. better because goal state typically has only a few Works so only a few operators apply. But complicated conjuncts by Searching for a Satisfactory Sequence of Plan Operators because the conjunction of goals needs to be satised.

7 A Planning Example A D B C B C D Initial situation Goal situation Initial Situation: on(a,c), on(c,table), on(d,b), on(b,table), clear(a), clear(d) Goal Situation: on(a,b), on(b,c)

8 is to search through the space of plans rather than the space of Alternative situations. add a step, impose an ordering on existing steps, instantiate a Operators: unbound variable. previously Searching Plan Space Start with simple, incomplete partial plan expand until complete. Solution: nal plan.

9 Representation Plan planners use the principle of least commitment. Most order planner: represents plans in which some steps are ordered Partial other steps are unordered. and totally ordered plan that is derived from a plan P by adding ordering A is called a linearization of P. constraints Total order planner: simple list of steps.

10 Start Start Start Total Order Plans: Partial Order Plan: Start Left Sock Left Shoe Sock Right Shoe Right Finish Start Finish Sock Right Shoe Right Sock Left Shoe Left Start Left Sock Shoe Right Finish Right Sock Left Shoe Finish Sock Left Right Sock Shoe Left Right Shoe Shoe Right Finish Sock Right Left Sock Left Shoe Finish Sock Right Shoe Left Left Sock Right Shoe LeftSockOn RightSockOn LeftShoeOn, RightShoeOn Start Sock Right Shoe Right Sock Left Shoe Left Finish

11 Components of a Plan 1. A set of plan steps. Each step is one of the operators for the problem. 2. A set of step ordering constraints, S i S j. A set of variable binding constraints, v = x where v is a variable and x 3. a constant or another variable. is c set of causal links, S i! S j (S i achieves precondition c for S j.) A 4.

12 might expect that only fully instantiated, totally ordered plans would be You solutions. But this is not a good idea for several reasons: considered It makes more sense to have a planner return a partial order plan than arbitrarily choose one linearization of it. to Sometimes actions can be performed in parallel, so it is best to generate that allow for actions to happen in parallel. solutions A plan may be integrated with another plan later. Keeping the plan can help with plan integration. exible What is a solution?

13 complete plan is one in which every precondition is achieved by another A A precondition is achieved if it is an eect of a step and no other step. there is no step S k such that (:c) EFFECTS(S k ) where (2) i S k S j in some linearization of the plan. S consistent plan is a plan with no contradictions in the ordering or A of constraints. binding We consider a plan to be a solution if it is complete and consistent. step can cancel it out. Formally: i achieves precondition c of S j if S S i S j and c EFFECTS(S i ), and (1) contradiction occurs when S i S j and S j S i or if v = A A v = B for dierent constants A and B. and Under this denition, the partial plan for putting on socks is a solution!

14 Regression Planner Example Partial-Order you want a plan to buy milk, bananas, and a drill. Suppose The initial plan might be: Start At(Home) Sells(SM,Banana) Sells(SM,Milk) Sells(HWS,Drill) Have(Drill) Have(Milk) Have(Banana) At(Home) Finish

15 Operator: = Go(there) ACTION = At(here) PRECONDITIONS = At(there) ^ : At(here) EFFECTS Operator: = Buy(obj) ACTION = At(store) ^ Sells(store,obj) PRECONDITIONS = have(obj) EFFECT Operators To keep the search focused, the planner only considers adding steps that achieve a precondition that has not yet been achieved.

16 Start At(s), Sells(s,Drill) At(s), Sells(s,Milk) At(s), Sells(s,Bananas) Buy(Drill) Buy(Milk) Buy(Bananas) Have(Drill), Have(Milk), Have(Bananas), At(Home) Finish Start At(HWS), Sells(HWS,Drill) At(SM), Sells(SM,Milk) At(SM), Sells(SM,Bananas) Buy(Drill) Buy(Milk) Buy(Bananas) Have(Drill), Have(Milk), Have(Bananas), At(Home) Finish

17 The plan is extended by choosing Go actions to achieve the At preconditions. Start At(x) Go(HWS) At(x) Go(SM) At(HWS), Sells(HWS,Drill) At(SM), Sells(SM,Milk) At(SM), Sells(SM,Bananas) Buy(Drill) Buy(Milk) Buy(Bananas) Have(Drill), Have(Milk), Have(Bananas), At(Home) Finish Note that the Go actions have unachieved preconditions that interact!

18 what happens if the planner tries to achieve the preconditions of Go Look the At(home) condition in the initial state! with Start At(Home) Go(HWS) At(Home) Go(SM) At(HWS), Sells(HWS,Drill) At(SM), Sells(SM,Milk) At(SM), Sells(SM,Bananas) Buy(Drill) Buy(Milk) Buy(Bananas) Have(Drill), Have(Milk), Have(Bananas), At(Home) Finish

19 This partial plan is a dead end because one step clobbers a protected for another step. condition The planner must pay attention to the clausal links which are protected. planner must ensure that threats (steps which can clobber protected The Threats can be added by adding ordering constraints to put the threat the protected link (demotion) or after the protected link before A planner can notice dead ends preconditions) are order to come before or after the protected link. (promotion).

20 Sussman Anomaly The on one conjunct at a time can make clobbering unavoidable. Focusing A C A B B C 1998 Morgan Kaufman Publishers

21 S 3 Lc S 1 S 1 S 1 S 3 c Lc c c S 2 S 2 S 2 S 3 Lc (a) (b) (c)

22 Unfortunately, there is no way to reorder the Go threat because any will delete the At(home) condition of the other step. order Suppose we trying adding a causal link from Go(HWS) to Go(SM). Now threatens the At(HWS) precondition of Buy(drill). Go(SM) Ordering constraints aren't always enough... When a planner can't resolve a threat, it has no choice but to backtrack. We can resolve this threat by ordering Go(SM) to come after Buy(drill).

23 Start At(Home) At(HWS) Go(HWS) Go(SM) At(HWS), Sells(HWS,Drill) At(SM), Sells(SM,Milk) At(SM), Sells(SM,Bananas) At(SM) Buy(Drill) Buy(Milk) Buy(Bananas) Go(Home) Have(Drill), Have(Milk), Have(Bananas), At(Home) Finish

24 Start At(Home) Go(HWS) At(HWS) Sells(HWS,Drill) Buy(Drill) At(HWS) Go(SM) At(SM) Sells(SM,Milk) Buy(Milk) At(SM) Sells(SM,Ban.) Buy(Ban.) At(SM) Go(Home) Have(Milk) At(Home) Have(Ban.) Have(Drill) Finish

25 function POP(initial, goal, operators) returns plan plan MAKE-MINIMAL-PLAN(initial, goal) loop do if SOLUTION?( plan) then return plan S need, c SELECT-SUBGOAL( plan) CHOOSE-OPERATOR( plan, operators, S need, c) RESOLVE-THREATS( plan) end function SELECT-SUBGOAL( plan) returns S need, c pick a plan step S need from STEPS( plan) with a precondition c that has not been achieved return S need, c procedure CHOOSE-OPERATOR(plan, operators, S need,c) choose a step S add from operators or STEPS( plan) that has c as an effect if there is no such step then fail c add the causal link S add ;! S need to LINKS( plan) add the ordering constraint S add S need to ORDERINGS( plan) if S add is a newly added step from operators then add S add to STEPS( plan) add Start S add Finish to ORDERINGS( plan) procedure RESOLVE-THREATS(plan) c for each S threat that threatens a link S i ;! S j in LINKS( plan) do choose either Promotion: Add S threat S i to ORDERINGS( plan) Demotion: Add S j S threat to ORDERINGS( plan) if not CONSISTENT( plan) then fail end

26 Threats Possible can be left unbound in plans. If an operator produces an eect that Variables cause a threat if the variable takes a certain binding, then it is a could threat. possible Resolve now by forcing a variable binding. The commitment may cause 1. later though. trouble Resolve now with an inequality constraint (x 6= home). Less 2. but more complicated for unication algorithms. commitment, Ignore possible threats and only deal with them when they become 3. threats. For example, if x = home is added then resolve the known Low commitment, but can't say for sure that the plan is a threat. solution. There are three general apporaches to dealing with possible threats:

27 missions: orchestrating observational equipment to maximize data Space while minimizing time and energy consumption. acquisition Practical Applications for Planners Job shop scheduling: assembling, manufacturing Construction: Building facilities, airplanes, spacecraft, etc. Event scheduling: Scheduling meetings, classes, and other events.

28 planning: Generating complex plans often requires abstract Hierarchical over increasingly detailed search spaces. planning state conditions: STRIPS variables have limited in their Complex For example, there is no quantication and no conditional complexity. time: The STRIPS framework assumes that everything Representing instantly. There is no way to represent duration, deadlines, happens limitations: In the real world, resources are limited. You need Resource represent the fact that the number of available workers, equipment, to Limitations of the STRIPS language statements. time windows, etc. money, etc. is constrained.

3. Knowledge Representation, Reasoning, and Planning

3. Knowledge Representation, Reasoning, and Planning 3. Knowledge Representation, Reasoning, and Planning 3.1 Common Sense Knowledge 3.2 Knowledge Representation Networks 3.3 Reasoning Propositional Logic Predicate Logic: PROLOG 3.4 Planning Planning vs.

More information

Planning (Chapter 10)

Planning (Chapter 10) Planning (Chapter 10) http://en.wikipedia.org/wiki/rube_goldberg_machine Planning Example problem: I m at home and I need milk, bananas, and a drill. What do I do? How is planning different from regular

More information

3. Knowledge Representation, Reasoning, and Planning

3. Knowledge Representation, Reasoning, and Planning 3. Knowledge Representation, Reasoning, and Planning 3.1 Common Sense Knowledge 3.2 Knowledge Representation Networks 3.3 Reasoning Propositional Logic Predicate Logic: PROLOG 3.4 Planning Introduction

More information

Automated Planning. Plan-Space Planning / Partial Order Causal Link Planning

Automated Planning. Plan-Space Planning / Partial Order Causal Link Planning Automated Planning Plan-Space Planning / Partial Order Causal Link Planning Jonas Kvarnström Automated Planning Group Department of Computer and Information Science Linköping University Partly adapted

More information

Planning. Chapter 11. Chapter Outline. Search vs. planning STRIPS operators Partial-order planning. Chapter 11 2

Planning. Chapter 11. Chapter Outline. Search vs. planning STRIPS operators Partial-order planning. Chapter 11 2 Planning hapter 11 hapter 11 1 Outline Search vs. planning STRIPS operators Partial-order planning hapter 11 2 Search vs. planning onsider the task get milk, bananas, and a cordless drill Standard search

More information

Planning II. Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007

Planning II. Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007 Planning II Introduction to Artificial Intelligence CSE 150 Lecture 12 May 15, 2007 Administration Your second to last Programming Assignment is up - start NOW, you don t have a lot of time The PRIZE:

More information

Artificial Intelligence. Planning

Artificial Intelligence. Planning Artificial Intelligence Planning Planning Planning agent Similar to previous problem solving agents Constructs plans that achieve its goals, then executes them Differs in way it represents and searches

More information

Planning. Chapter 11. Chapter 11 1

Planning. Chapter 11. Chapter 11 1 Planning hapter 11 hapter 11 1 Outline Search vs. planning STRIPS operators Partial-order planning hapter 11 2 Search vs. planning onsider the task get milk, bananas, and a cordless drill Standard search

More information

KI-Programmierung. Planning

KI-Programmierung. Planning KI-Programmierung Planning Bernhard Beckert UNIVERSITÄT KOBLENZ-LANDAU Winter Term 2007/2008 B. Beckert: KI-Programmierung p.1 Outline Search vs. planning STRIPS operators Partial-order planning The real

More information

Planning. Some material taken from D. Lin, J-C Latombe

Planning. Some material taken from D. Lin, J-C Latombe RN, Chapter 11 Planning Some material taken from D. Lin, J-C Latombe 1 Logical Agents Reasoning [Ch 6] Propositional Logic [Ch 7] Predicate Calculus Representation [Ch 8] Inference [Ch 9] Implemented Systems

More information

Planning Chapter

Planning Chapter Planning Chapter 11.1-11.3 Some material adopted from notes by Andreas Geyer-Schulz and Chuck Dyer Typical BW planning problem A C B A B C Blocks world The blocks world is a micro-world consisting of a

More information

Search vs. planning. Planning. Search vs. planning contd. Outline

Search vs. planning. Planning. Search vs. planning contd. Outline Search vs. planning Planning onsider the task get milk, bananas, and a cordless drill Standard search algorithms seem to fail miserably: Go To Pet Store Talk to Parrot uy a Dog Go To School Go To lass

More information

Planning. Introduction to Planning. Failing to plan is planning to fail! Major Agent Types Agents with Goals. From Problem Solving to Planning

Planning. Introduction to Planning. Failing to plan is planning to fail! Major Agent Types Agents with Goals. From Problem Solving to Planning Introduction to Planning Planning Failing to plan is planning to fail! Plan: a sequence of steps to achieve a goal. Problem solving agent knows: actions, states, goals and plans. Planning is a special

More information

Introduction to Planning COURSE: CS40002

Introduction to Planning COURSE: CS40002 1 Introduction to Planning COURSE: CS40002 Pallab Dasgupta Professor, Dept. of Computer Sc & Engg 2 Outline Planning versus Search Representation of planning problems Situation calculus STRIPS ADL Planning

More information

cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning Partially ordered plans Representation

cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning Partially ordered plans Representation cis32-ai lecture # 22 wed-26-apr-2006 Partial Order Planning today s topics: partial-order planning decision-theoretic planning The answer to the problem we ended the last lecture with is to use partial

More information

Planning (What to do next?) (What to do next?)

Planning (What to do next?) (What to do next?) Planning (What to do next?) (What to do next?) (What to do next?) (What to do next?) (What to do next?) (What to do next?) CSC3203 - AI in Games 2 Level 12: Planning YOUR MISSION learn about how to create

More information

1 What is Planning? automatic programming. cis716-spring2004-parsons-lect17 2

1 What is Planning? automatic programming. cis716-spring2004-parsons-lect17 2 PLANNING 1 What is Planning? Key problem facing agent is deciding what to do. We want agents to be taskable: give them goals to achieve, have them decide for themselves how to achieve them. Basic idea

More information

Lecture Overview. CSE3309 Artificial Intelligence. The lottery paradox. The Bayesian claim. The lottery paradox. A Bayesian model of rationality

Lecture Overview. CSE3309 Artificial Intelligence. The lottery paradox. The Bayesian claim. The lottery paradox. A Bayesian model of rationality CSE3309 Lecture Overview The lottery paradox A Bayesian model of rationality Lecture 15 Planning Dr. Kevin Korb School of Computer Science and Software Eng. Building 75 (STRIP), Rm 117 korb@csse.monash.edu.au

More information

Planning. Philipp Koehn. 30 March 2017

Planning. Philipp Koehn. 30 March 2017 Planning Philipp Koehn 30 March 2017 Outline 1 Search vs. planning STRIPS operators Partial-order planning The real world Conditional planning Monitoring and replanning 2 search vs. planning Search vs.

More information

AUTOMATED PLANNING Automated Planning sequence of actions goal

AUTOMATED PLANNING Automated Planning sequence of actions goal AUTOMATED PLANNING Automated Planning is an important problem solving activity which consists in synthesizing a sequence of actions performed by an agent that leads from an initial state of the world to

More information

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2013 Set 9: Planning Classical Planning Systems ICS 271 Fall 2013 Outline: Planning Classical Planning: Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning graphs Readings:

More information

Planning and Acting. CITS3001 Algorithms, Agents and Artificial Intelligence. 2018, Semester 2

Planning and Acting. CITS3001 Algorithms, Agents and Artificial Intelligence. 2018, Semester 2 Planning and Acting CITS3001 Algorithms, Agents and Artificial Intelligence Tim French School of Computer Science and Software Engineering The University of Western Australia 2018, Semester 2 Summary We

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence Lecturer 7 - Planning Lecturer: Truong Tuan Anh HCMUT - CSE 1 Outline Planning problem State-space search Partial-order planning Planning graphs Planning with propositional logic

More information

Planning. Introduction

Planning. Introduction Planning Introduction Planning vs. Problem-Solving Representation in Planning Systems Situation Calculus The Frame Problem STRIPS representation language Blocks World Planning with State-Space Search Progression

More information

Planning. Introduction

Planning. Introduction Introduction vs. Problem-Solving Representation in Systems Situation Calculus The Frame Problem STRIPS representation language Blocks World with State-Space Search Progression Algorithms Regression Algorithms

More information

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2014

Set 9: Planning Classical Planning Systems. ICS 271 Fall 2014 Set 9: Planning Classical Planning Systems ICS 271 Fall 2014 Planning environments Classical Planning: Outline: Planning Situation calculus PDDL: Planning domain definition language STRIPS Planning Planning

More information

Planning. Search vs. planning STRIPS operators Partial-order planning. CS 561, Session 20 1

Planning. Search vs. planning STRIPS operators Partial-order planning. CS 561, Session 20 1 Planning Search vs. planning STRIPS operators Partial-order planning CS 561, Session 20 1 What we have so far Can TELL KB about new percepts about the world KB maintains model of the current world state

More information

CPS 270: Artificial Intelligence Planning

CPS 270: Artificial Intelligence   Planning CPS 270: Artificial Intelligence http://www.cs.duke.edu/courses/fall08/cps270/ Planning Instructor: Vincent Conitzer Planning We studied how to take actions in the world (search) We studied how to represent

More information

Where are we? Informatics 2D Reasoning and Agents Semester 2, Planning with state-space search. Planning with state-space search

Where are we? Informatics 2D Reasoning and Agents Semester 2, Planning with state-space search. Planning with state-space search Informatics 2D Reasoning and Agents Semester 2, 2018 2019 Alex Lascarides alex@inf.ed.ac.uk Where are we? Last time... we defined the planning problem discussed problem with using search and logic in planning

More information

Intelligent Systems. Planning. Copyright 2010 Dieter Fensel and Ioan Toma

Intelligent Systems. Planning. Copyright 2010 Dieter Fensel and Ioan Toma Intelligent Systems Planning Copyright 2010 Dieter Fensel and Ioan Toma 1 Where are we? # Title 1 Introduction 2 Propositional Logic 3 Predicate Logic 4 Reasoning 5 Search Methods 6 CommonKADS 7 Problem-Solving

More information

Intelligent Agents. State-Space Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 14.

Intelligent Agents. State-Space Planning. Ute Schmid. Cognitive Systems, Applied Computer Science, Bamberg University. last change: 14. Intelligent Agents State-Space Planning Ute Schmid Cognitive Systems, Applied Computer Science, Bamberg University last change: 14. April 2016 U. Schmid (CogSys) Intelligent Agents last change: 14. April

More information

Artificial Intelligence II

Artificial Intelligence II Artificial Intelligence II 2013/2014 - Prof: Daniele Nardi, Joachim Hertzberg Exercitation 3 - Roberto Capobianco Planning: STRIPS, Partial Order Plans, Planning Graphs 1 STRIPS (Recap-1) Start situation;

More information

Primitive goal based ideas

Primitive goal based ideas Primitive goal based ideas Once you have the gold, your goal is to get back home s Holding( Gold, s) GoalLocation([1,1], s) How to work out actions to achieve the goal? Inference: Lots more axioms. Explodes.

More information

Planning. Why not standard search? What is Planning. Planning language. Planning 1. Difficulty of real world problems

Planning. Why not standard search? What is Planning. Planning language. Planning 1. Difficulty of real world problems Planning Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

Artificial Intelligence Planning

Artificial Intelligence Planning Artificial Intelligence Planning Instructor: Vincent Conitzer Planning We studied how to take actions in the world (search) We studied how to represent objects, relations, etc. (logic) Now we will combine

More information

INF Kunstig intelligens. Agents That Plan. Roar Fjellheim. INF5390-AI-06 Agents That Plan 1

INF Kunstig intelligens. Agents That Plan. Roar Fjellheim. INF5390-AI-06 Agents That Plan 1 INF5390 - Kunstig intelligens Agents That Plan Roar Fjellheim INF5390-AI-06 Agents That Plan 1 Outline Planning agents Plan representation State-space search Planning graphs GRAPHPLAN algorithm Partial-order

More information

Artificial Intelligence

Artificial Intelligence Artificial Intelligence CSC348 Unit 4: Reasoning, change and planning Syedur Rahman Lecturer, CSE Department North South University syedur.rahman@wolfson.oxon.org Artificial Intelligence: Lecture Notes

More information

Planning. Outside Materials (see Materials page)

Planning. Outside Materials (see Materials page) Planning Outside Materials (see Materials page) What is Planning? Given: A way to describe the world An ini

More information

Planning Algorithms Properties Soundness

Planning Algorithms Properties Soundness Chapter MK:VI III. Planning Agent Systems Deductive Reasoning Agents Planning Language Planning Algorithms State-Space Planning Plan-Space Planning HTN Planning Complexity of Planning Problems Extensions

More information

Planning. Planning. What is Planning. Why not standard search?

Planning. Planning. What is Planning. Why not standard search? Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation

Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation Creating Admissible Heuristic Functions: The General Relaxation Principle and Delete Relaxation Relaxed Planning Problems 74 A classical planning problem P has a set of solutions Solutions(P) = { π : π

More information

Lecture 10: Planning and Acting in the Real World

Lecture 10: Planning and Acting in the Real World Lecture 10: Planning and Acting in the Real World CS 580 (001) - Spring 2018 Amarda Shehu Department of Computer Science George Mason University, Fairfax, VA, USA Apr 11, 2018 Amarda Shehu (580) 1 1 Outline

More information

Artificial Intelligence 2004 Planning: Situation Calculus

Artificial Intelligence 2004 Planning: Situation Calculus 74.419 Artificial Intelligence 2004 Planning: Situation Calculus Review STRIPS POP Hierarchical Planning Situation Calculus (John McCarthy) situations actions axioms Review Planning 1 STRIPS (Nils J. Nilsson)

More information

Planning. What is Planning. Why not standard search? Planning 1

Planning. What is Planning. Why not standard search? Planning 1 Planning Based on slides prepared by Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie Modifications by Jacek.Malec@cs.lth.se Original slides can be found at http://aima.cs.berkeley.edu

More information

Planning. Outline. Planning. Planning

Planning. Outline. Planning. Planning Planning Outline Jacky Baltes University of Manitoba jacky@cs.umanitoba.ca http://www4.cs.umanitoba.ca/~jacky/teaching/co urses/comp_4190-artificial-intelligence Reasoning about actions STRIPS representation

More information

Distributed Systems. Silvia Rossi 081. Intelligent

Distributed Systems. Silvia Rossi 081. Intelligent Distributed Systems Silvia Rossi srossi@na.infn.it 081 Intelligent 30% for attending classes Grading 30% for presenting a research paper 40% for writing and discussing paper (design of a multi-robot system),

More information

15-381: Artificial Intelligence Assignment 4: Planning

15-381: Artificial Intelligence Assignment 4: Planning 15-381: Artificial Intelligence Assignment 4: Planning Sample Solution November 5, 2001 1. Consider a robot domain as shown in Figure 1. The domain consists a house that belongs to Pat, who has a robot-butler.

More information

Silvia Rossi! Planning. Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente! ! A.A !

Silvia Rossi! Planning. Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente!  ! A.A ! Silvia Rossi! Planning 4 Lezione n.! Corso di Laurea:! Informatica! Insegnamento:! Sistemi! multi-agente! Email:! silrossi@unina.it! A.A. 2014-2015! Agent Planning! (R&N:11.1,11.2) Additional reading:

More information

Vorlesung Grundlagen der Künstlichen Intelligenz

Vorlesung Grundlagen der Künstlichen Intelligenz Vorlesung Grundlagen der Künstlichen Intelligenz Reinhard Lafrenz / Prof. A. Knoll Robotics and Embedded Systems Department of Informatics I6 Technische Universität München www6.in.tum.de lafrenz@in.tum.de

More information

Classical Planning. CS 486/686: Introduction to Artificial Intelligence Winter 2016

Classical Planning. CS 486/686: Introduction to Artificial Intelligence Winter 2016 Classical Planning CS 486/686: Introduction to Artificial Intelligence Winter 2016 1 Classical Planning A plan is a collection of actions for performing some task (reaching some goal) If we have a robot

More information

Artificial Intelligence 1: planning

Artificial Intelligence 1: planning Artificial Intelligence 1: planning Lecturer: Tom Lenaerts Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle (IRIDIA) Université Libre de Bruxelles Planning The

More information

Planning. Artificial Intelligence 1: Planning. What is Planning. General language features. Planning language. Difficulty of real world problems

Planning. Artificial Intelligence 1: Planning. What is Planning. General language features. Planning language. Difficulty of real world problems Planning Artificial Intelligence 1: Planning Lecturer: Tom Lenaerts SWITCH, Vlaams Interuniversitair Instituut voor Biotechnologie The Planning problem Planning with State-space search Partial-order planning

More information

Planning: STRIPS and POP planners

Planning: STRIPS and POP planners S 57 Introduction to I Lecture 8 Planning: STRIPS and POP planners Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Representation of actions, situations, events Propositional and first order logic

More information

Outline. Planning and Execution in a Changing World. Readings and Assignments. Autonomous Agents

Outline. Planning and Execution in a Changing World. Readings and Assignments. Autonomous Agents Planning and in a Changing World Total Order Plan Contains Irrelevant Committments cleanh carry nogarb Slides draw upon materials from: Dan Weld Stuart Russell & Peter Norvig Brian C. Williams

More information

Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach

Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach Failure Driven Dynamic Search Control for Partial Order Planners: An Explanation based approach Subbarao Kambhampati 1 and Suresh Katukam and Yong Qu Department of Computer Science and Engineering, Arizona

More information

CS 2750 Foundations of AI Lecture 17. Planning. Planning

CS 2750 Foundations of AI Lecture 17. Planning. Planning S 2750 Foundations of I Lecture 17 Planning Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square Planning Planning problem: find a sequence of actions that achieves some goal an instance of a search

More information

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state

A deterministic action is a partial function from states to states. It is partial because not every action can be carried out in every state CmSc310 Artificial Intelligence Classical Planning 1. Introduction Planning is about how an agent achieves its goals. To achieve anything but the simplest goals, an agent must reason about its future.

More information

CS 1571 Introduction to AI Lecture 17. Planning. CS 1571 Intro to AI. Planning

CS 1571 Introduction to AI Lecture 17. Planning. CS 1571 Intro to AI. Planning S 1571 Introduction to I Lecture 17 Planning Milos Hauskrecht milos@cs.pitt.edu 5329 Sennott Square S 1571 Intro to I Planning Planning problem: find a sequence of actions that achieves some goal an instance

More information

CS 621 Artificial Intelligence. Lecture 31-25/10/05. Prof. Pushpak Bhattacharyya. Planning

CS 621 Artificial Intelligence. Lecture 31-25/10/05. Prof. Pushpak Bhattacharyya. Planning CS 621 Artificial Intelligence Lecture 31-25/10/05 Prof. Pushpak Bhattacharyya Planning 1 Planning Definition : Planning is arranging a sequence of actions to achieve a goal. Uses core areas of AI like

More information

1: planning. Lecturer: Tom Lenaerts

1: planning. Lecturer: Tom Lenaerts Artificial Intelligence 1: planning Lecturer: Tom Lenaerts Institut de Recherches Interdisciplinaires et de Développements en Intelligence Artificielle (IRIDIA) Université Libre de Bruxelles Planning The

More information

Planning. CPS 570 Ron Parr. Some Actual Planning Applications. Used to fulfill mission objectives in Nasa s Deep Space One (Remote Agent)

Planning. CPS 570 Ron Parr. Some Actual Planning Applications. Used to fulfill mission objectives in Nasa s Deep Space One (Remote Agent) Planning CPS 570 Ron Parr Some Actual Planning Applications Used to fulfill mission objectives in Nasa s Deep Space One (Remote Agent) Particularly important for space operations due to latency Also used

More information

Planning in a Single Agent

Planning in a Single Agent What is Planning Planning in a Single gent Sattiraju Prabhakar Sources: Multi-agent Systems Michael Wooldridge I a modern approach, 2 nd Edition Stuart Russell and Peter Norvig Generate sequences of actions

More information

AI Planning. Introduction to Artificial Intelligence! CSCE476/876, Spring 2012:! Send questions to Piazza!

AI Planning. Introduction to Artificial Intelligence! CSCE476/876, Spring 2012:!  Send questions to Piazza! AI! CSCE476/876, Spring 2012:! www.cse.unl.edu/~choueiry/s12-476-876/! Send questions to Piazza! Berthe Y. Choueiry (Shu-we-ri)! Avery Hall, Room 360! Tel: +1(402)472-5444! 1 Reading! Required reading!

More information

Formalizing the PRODIGY Planning Algorithm

Formalizing the PRODIGY Planning Algorithm Formalizing the PRODIGY Planning Algorithm Eugene Fink eugene@cs.cmu.edu http://www.cs.cmu.edu/~eugene Manuela Veloso veloso@cs.cmu.edu http://www.cs.cmu.edu/~mmv Computer Science Department, Carnegie

More information

Plan Generation Classical Planning

Plan Generation Classical Planning Plan Generation Classical Planning Manuela Veloso Carnegie Mellon University School of Computer Science 15-887 Planning, Execution, and Learning Fall 2016 Outline What is a State and Goal What is an Action

More information

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action.

Planning as Search. Progression. Partial-Order causal link: UCPOP. Node. World State. Partial Plans World States. Regress Action. Planning as Search State Space Plan Space Algorihtm Progression Regression Partial-Order causal link: UCPOP Node World State Set of Partial Plans World States Edge Apply Action If prec satisfied, Add adds,

More information

Classical Planning Problems: Representation Languages

Classical Planning Problems: Representation Languages jonas.kvarnstrom@liu.se 2017 Classical Planning Problems: Representation Languages History: 1959 3 The language of Artificial Intelligence was/is logic First-order, second-order, modal, 1959: General

More information

EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY *

EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY * Iranian Journal of Science & Technology, Transaction B, Engineering, Vol. 29, No. B1 Printed in The Islamic Republic of Iran, 2005 Shiraz University EMPLOYING DOMAIN KNOWLEDGE TO IMPROVE AI PLANNING EFFICIENCY

More information

GPS: The general problem solver. developed in 1957 by Alan Newel and Herbert Simon. (H. Simon, 1957)

GPS: The general problem solver. developed in 1957 by Alan Newel and Herbert Simon. (H. Simon, 1957) GPS: The general problem solver developed in 1957 by Alan Newel and Herbert Simon (H. Simon, 1957) GPS: The general problem solver developed in 1957 by Alan Newel and Herbert Simon - Was the first program

More information

Artificial Intelligence 2005/06

Artificial Intelligence 2005/06 Planning: STRIPS 74.419 rtificial Intelligence 2005/06 Planning: STRIPS STRIPS (Nils J. Nilsson) actions are specified by preconditions and effects stated as restricted FOPL formulae planning is search

More information

Issues in Interleaved Planning and Execution

Issues in Interleaved Planning and Execution From: AAAI Technical Report WS-98-02. Compilation copyright 1998, AAAI (www.aaai.org). All rights reserved. Issues in Interleaved Planning and Execution Scott D. Anderson Spelman College, Atlanta, GA andorson

More information

cis32-ai lecture # 21 mon-24-apr-2006

cis32-ai lecture # 21 mon-24-apr-2006 cis32-ai lecture # 21 mon-24-apr-2006 today s topics: logic-based agents (see notes from last time) planning cis32-spring2006-sklar-lec21 1 What is Planning? Key problem facing agent is deciding what to

More information

avid E, Smith 1 Introduction 2 Operator graphs

avid E, Smith 1 Introduction 2 Operator graphs From: AAAI-93 Proceedings. Copyright 1993, AAAI (www.aaai.org). All rights reserved. avid E, Smith Rockwell International 444 High St. Palo Alto, California 94301 de2smith@rpal.rockwell.com Department

More information

A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans

A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans A Unified Framework for Explanation-Based Generalization of Partially Ordered and Partially Instantiated Plans Subbarao Kambhampati y Department of Computer Science and Engineering Arizona State University

More information

Graph Search. and. Consider the eight puzzle show in gure 1. This puzzle is played on a three

Graph Search. and. Consider the eight puzzle show in gure 1. This puzzle is played on a three Lecture Notes for 6.824, Articial Intelligence c1992 David McAllester, all rights reserved Rev. November, 1994 Graph Search and STRIPS Planning 1 Introduction to Graph Search Consider the eight puzzle

More information

What is On / Off Policy?

What is On / Off Policy? What is On / Off Policy? Q learns how to perform optimally even when we are following a non-optimal policy In greedy, leaves no trace in Q SARSA is on-policy Learns the best policy given our systematic

More information

Domain-Configurable Planning: Hierarchical Task Networks

Domain-Configurable Planning: Hierarchical Task Networks Automated Planning Domain-Configurable Planning: Hierarchical Task Networks Jonas Kvarnström Automated Planning Group Department of Computer and Information Science Linköping University jonas.kvarnstrom@liu.se

More information

! A* is best first search with f(n) = g(n) + h(n) ! Three changes make it an anytime algorithm:

! A* is best first search with f(n) = g(n) + h(n) ! Three changes make it an anytime algorithm: Anytime A* Today s s lecture Lecture 5: Search - 4 Hierarchical A* Jiaying Shen CMPSCI 683 Fall 2004 Other Examples of Hierarchical Problem Solving Reviews of A* and its varations 2 Anytime algorithms

More information

CSE 3402: Intro to Artificial Intelligence Planning

CSE 3402: Intro to Artificial Intelligence Planning CSE 3402: Intro to Artificial Intelligence Planning Readings: Russell & Norvig 3 rd edition Chapter 10 (in 2 nd edition, Sections 11.1, 11.2, and 11.4) 1 CWA Classical Planning. No incomplete or uncertain

More information

To achieve their goals, agents often need

To achieve their goals, agents often need An Introduction to Least Commitment Planning Daniel S. Weld Recent developments have clarified the process of generating partially ordered, partially specified sequences of actions whose execution will

More information

Partial-Order Planning with Concurrent Interacting Actions. Abstract

Partial-Order Planning with Concurrent Interacting Actions. Abstract Journal of Articial Intelligence Research 14 (2001) 105{136 Submitted 3/00; published 4/01 Partial-Order Planning with Concurrent Interacting Actions Craig Boutilier Department of Computer Science University

More information

PLANNING and scheduling have always been two very

PLANNING and scheduling have always been two very IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, VOL. 18, NO. 12, DECEMBER 2006 1681 IPSS: A Hybrid Approach to Planning and Scheduling Integration María Dolores Rodriguez-Moreno, Angelo Oddi, Member,

More information

Probabilistic Belief. Adversarial Search. Heuristic Search. Planning. Probabilistic Reasoning. CSPs. Learning CS121

Probabilistic Belief. Adversarial Search. Heuristic Search. Planning. Probabilistic Reasoning. CSPs. Learning CS121 CS121 Heuristic Search Planning CSPs Adversarial Search Probabilistic Reasoning Probabilistic Belief Learning Heuristic Search First, you need to formulate your situation as a Search Problem What is a

More information

Planning with Execution and Incomplete Information Keith Golden Oren Etzioni Daniel Weld 3 Department of Computer Science and Engineering University o

Planning with Execution and Incomplete Information Keith Golden Oren Etzioni Daniel Weld 3 Department of Computer Science and Engineering University o Planning with Execution and Incomplete Information Keith Golden, Oren Etzioni and Daniel Weld Technical Report UW-CSE-96-01-09 Department of Computer Science and Engineering University of Washington Department

More information

A Critical Look at Critics in HTN Planning

A Critical Look at Critics in HTN Planning To appear, IJCAI-95, August 1995 A Critical Look at Critics in HTN Planning Kutluhan Erol James Hendler Dana S. Nau Reiko Tsuneto kutluhan@cs.umd.edu hendler@cs.umd.edu nau@cs.umd.edu reiko@cs.umd.edu

More information

Section 9: Planning CPSC Artificial Intelligence Michael M. Richter

Section 9: Planning CPSC Artificial Intelligence Michael M. Richter Section 9: Planning Actions (1) An action changes a situation and their description has to describe this change. A situation description (or a state) sit is a set of ground atomic formulas (sometimes literals

More information

ICS 606. Intelligent Autonomous Agents 1

ICS 606. Intelligent Autonomous Agents 1 Intelligent utonomous gents ICS 606 / EE 606 Fall 2011 Nancy E. Reed nreed@hawaii.edu Lecture #4 Practical Reasoning gents Intentions Planning Means-ends reasoning The blocks world References Wooldridge

More information

B2.1 Regression. Planning and Optimization. Planning and Optimization. B2.1 Regression. B2.2 Regression Example. B2.3 Regression for STRIPS Tasks

B2.1 Regression. Planning and Optimization. Planning and Optimization. B2.1 Regression. B2.2 Regression Example. B2.3 Regression for STRIPS Tasks Planning and Optimization October 13, 2016 B2. Regression: ntroduction & STRPS Case Planning and Optimization B2. Regression: ntroduction & STRPS Case Malte Helmert and Gabriele Röger Universität Basel

More information

Nonlinear State-Space Planning: Prodigy4.0

Nonlinear State-Space Planning: Prodigy4.0 Nonlinear State-Space Planning: Prodigy4.0 Manuela Veloso Carnegie Mellon University Computer Science Department Planning - Fall 2001 Planning - Problem Solving Newell and Simon 1956 Given the actions

More information

STRIPS HW 1: Blocks World

STRIPS HW 1: Blocks World STRIPS HW 1: Blocks World Operator Precondition Delete List Add List Stack(x, y) CLEAR(y) CLEAR(y) HOLDING(x) HOLDING(x) ON(x, y) Unstack(x, y) ON(x, y) ON(x, y) HOLDING(x) CLEAR(x) CLEAR(y) PickUp(x)

More information

CS 4649/7649 Robot Intelligence: Planning

CS 4649/7649 Robot Intelligence: Planning CS 4649/7649 Robot Intelligence: Planning Hierarchical Network Planning Sungmoon Joo School of Interactive Computing College of Computing Georgia Institute of Technology S. Joo (sungmoon.joo@cc.gatech.edu)

More information

More Planning and Prolog Operators

More Planning and Prolog Operators More Planning and Prolog Operators Artificial Intelligence Programming in Prolog Lecturer: Tim Smith Lecture 16 22/11/04 22/11/04 AIPP Lecture 16: More Planning and Operators 1 Planning continued Contents

More information

Sterling Federal Systems and Dept. of Computer Science

Sterling Federal Systems and Dept. of Computer Science Subbarao Karnbhampati* Center for Design Research Sterling Federal Systems and Dept. of Computer Science AI Research Branch Stanford University NASA AMES Research Center Bldg 530, Duena Street, Stanford

More information

1 Introduction. 2 Proposed Planning System. 2.1 Goal Test. 2.2 Heuristic Function

1 Introduction. 2 Proposed Planning System. 2.1 Goal Test. 2.2 Heuristic Function CS 2710 Fall 2015 (Foundations of Artificial Intelligence) Assignment 4: A Planning System Mohammad Hasanzadeh Mofrad (hasanzadeh@cs.pitt.edu) 1 Introduction A Partial Order Planning (POP) algorithms tries

More information

Can AI Planners Solve Practical Problems? David E. Wilkins. Articial Intelligence Center. SRI International. 333 Ravenswood Ave.

Can AI Planners Solve Practical Problems? David E. Wilkins. Articial Intelligence Center. SRI International. 333 Ravenswood Ave. Can AI Planners Solve Practical Problems? by David E. Wilkins Articial Intelligence Center SRI International 333 Ravenswood Ave. Menlo Park, California 94025 415-859-2057 May 21,1990 for publication in

More information

Copyright 1998 by Katsuhiro Moizumi. Available at <http://agent.cs.dartmouth.edu/papers/moizumi:thesis.ps.z>

Copyright 1998 by Katsuhiro Moizumi. Available at <http://agent.cs.dartmouth.edu/papers/moizumi:thesis.ps.z> Mobile Agent Planning Problems A Thesis Submitted to the Faculty in partial fulllment of the requirements for the degree of Doctor of Philosophy by KATSUHIRO MOIZUMI Thayer School of Engineering Dartmouth

More information

Components of a Planning System

Components of a Planning System Planning Components of a Planning System In any general problem solving systems, elementary techniques to perform following functions are required Choose the best rule (based on heuristics) to be applied

More information

June 1992 CMU-CS School of Computer Science Carnegie Mellon University Pittsburgh, PA Abstract

June 1992 CMU-CS School of Computer Science Carnegie Mellon University Pittsburgh, PA Abstract PRODIGY4.0: The Manual and Tutorial 1 The PRODIGY Research Group, under the supervision of Jaime G. Carbonell: Jim Blythe, Oren Etzioni, Yolanda Gil, Robert Joseph, Dan Kahn, Craig Knoblock, Steven Minton,

More information

Hierarchical Task Network (HTN) Planning

Hierarchical Task Network (HTN) Planning Sec. 12.2 p.1/25 Hierarchical Task Network (HTN) Planning Section 12.2 Sec. 12.2 p.2/25 Outline Example Primitive vs. non-primitive operators HTN planning algorithm Practical planners Additional references

More information

Structure and Complexity in Planning with Unary Operators

Structure and Complexity in Planning with Unary Operators Structure and Complexity in Planning with Unary Operators Carmel Domshlak and Ronen I Brafman ½ Abstract In this paper we study the complexity of STRIPS planning when operators have a single effect In

More information