Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science.

Slides:



Advertisements
Similar presentations
Computer Science CPSC 322 Lecture 22 Finish Planning as CSP and Planning Wrap-up (Ch 8.4)
Advertisements

Constraint Satisfaction Problems Russell and Norvig: Chapter
Constraint Based Reasoning over Mutex Relations in Graphplan Algorithm Pavel Surynek Charles University, Prague Czech Republic.
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:
ICS-271:Notes 5: 1 Lecture 5: Constraint Satisfaction Problems ICS 271 Fall 2008.
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]
INTRODUCTION TO MODELING
Planning with Constraints Graphplan & SATplan Yongmei Shi.
Graph-based Planning Brian C. Williams Sept. 25 th & 30 th, J/6.834J.
PLANNING IN AI. Determine the set of steps that are necessary to achieve a goal Some steps might be conditional, i.e., they are only taken when a set.
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.
Fast Planning through Planning Graph Analysis By Jan Weber Jörg Mennicke.
CPSC 322, Lecture 18Slide 1 Planning: Heuristics and CSP Planning Computer Science cpsc322, Lecture 18 (Textbook Chpt 8) February, 12, 2010.
Constraint Processing Techniques for Improving Join Computation: A Proof of Concept Anagh Lal & Berthe Y. Choueiry Constraint Systems Laboratory Department.
Algorithms and Problem Solving-1 Algorithms and Problem Solving.
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.
Extending Graphplan to handle Resources Presenter: Pham Van Cuong Department of Computer Science New Mexico State University.
CSE 5731 Lecture 21 State-Space Search vs. Constraint- Based Planning CSE 573 Artificial Intelligence I Henry Kautz Fall 2001.
Solvable problem Deviation from best known solution [%] Percentage of test runs ERA RDGR RGR LS Over-constrained.
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.
CSCI 3 Introduction to Computer Science. CSCI 3 Course Description: –An overview of the fundamentals of computer science. Topics covered include number.
Efficient Techniques for Searching the Temporal CSP 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,
Planning II CSE 473. © Daniel S. Weld 2 Logistics Tournament! PS3 – later today Non programming exercises Programming component: (mini project) SPAM detection.
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.
Ken Bayer, Josh Snyder, and Berthe Y. Choueiry Constraint Systems Laboratory University of Nebraska-Lincoln A Constraint-Based Approach to Solving Minesweeper.
Distributed Scheduling. What is Distributed Scheduling? Scheduling: –A resource allocation problem –Often very complex set of constraints –Tied directly.
Planning II CSE 573. © Daniel S. Weld 2 Logistics Reading for Wed Ch 18 thru 18.3 Office Hours No Office Hour Today.
Applying Constraint Satisfaction Techniques to AI Planning Problems Daniel Buettner Constraint Systems Laboratory Department of Computer Science and Engineering.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
Tractable Symmetry Breaking Using Restricted Search Trees Colva M. Roney-Dougal, Ian P. Gent, Tom Kelsey, Steve Linton Presented by: Shant Karakashian.
Stochastic Algorithms Some of the fastest known algorithms for certain tasks rely on chance Stochastic/Randomized Algorithms Two common variations – Monte.
Jonathon Doran. The Planning Domain A domain describes the objects, facts, and actions in the universe. We may have a box and a table in our universe.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
Constraint Satisfaction Problems (CSPs) CPSC 322 – CSP 1 Poole & Mackworth textbook: Sections § Lecturer: Alan Mackworth September 28, 2012.
Problem Solving Techniques. Compiler n Is a computer program whose purpose is to take a description of a desired program coded in a programming language.
Week 10Complexity of Algorithms1 Hard Computational Problems Some computational problems are hard Despite a numerous attempts we do not know any efficient.
CP Summer School Modelling for Constraint Programming Barbara Smith 4. Combining Viewpoints, Modelling Advice.
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.
Constraint Systems Laboratory Presented by: Robert J. Woodward, Amanda Swearngin 1 Berthe Y. Choueiry 2 Eugene C. Freuder 3 1 ESQuaReD Laboratory, University.
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.
Introduction to Planning Dr. Shazzad Hosain Department of EECS North South Universtiy
Chapter 6 Questions Quick Quiz
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.
1 CSC 384 Lecture Slides (c) , C. Boutilier and P. Poupart CSC384: Lecture 16  Last time Searching a Graphplan for a plan, and relaxed plan heuristics.
Shortcomings of Traditional Backtrack Search on Large, Tight CSPs: A Real-world Example Venkata Praveen Guddeti and Berthe Y. Choueiry The combination.
Dana Nau: Lecture slides for Automated Planning Licensed under the Creative Commons Attribution-NonCommercial-ShareAlike License:
Automatic Test Generation
Planning as Satisfiability
Consistency Methods for Temporal Reasoning
Constraint Satisfaction Problem
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.
Planning: Heuristics and CSP Planning
Planning: Heuristics and CSP Planning
Class #17 – Thursday, October 27
Graph-based Planning Slides based on material from: Prof. Maria Fox
Graphplan/ SATPlan Chapter
Class #19 – Monday, November 3
Graphplan/ SATPlan Chapter
Graphplan/ SATPlan Chapter
GraphPlan Jim Blythe.
Graph-based Planning Slides based on material from: Prof. Maria Fox
[* based in part on slides by Jim Blythe and Dan Weld]
Presentation transcript:

Robust Planning using Constraint Satisfaction Techniques Daniel Buettner and Berthe Y. Choueiry Constraint Systems Laboratory Department of Computer Science and Engineering, University of Nebraska-Lincoln Abstract: We investigate the automatic conversion of a planning problem to a binary constraint satisfaction problem (CSP). This conversion allows us to use standard constraint processing (CP) techniques to find solutions to the planning problem. Of particular interest is the detection of dynamic symmetry during solution extraction on the CSP. This will allow bundles of solutions to be found, where each bundled solutions has interchangeable values for one or more variables in the CSP. Modern Planning Systems: The fastest of today’s planners are nonsystematic and rely on some type of stochastic search. There are other planners that can guarantee completeness and some form of optimality, and these planners descend from GraphPlan. This work is in the latter camp, as we wish are interested in optimal solutions. Methodology: We are developing new CSP techniques to solve planning problems that: 1.Exploit the structure of planning graphs 2.Exploit interchangeability in planning problems Goals: Our work has two main objectives: 1.Find robust plans which make use of interchangability 2.Improve the performance of solution extraction in planning problems Definitions: A Constraint Satisfaction Problem (CSP) is a triple P = ( V, D, C ), where V = {V 1, V 2,..., V n }, a set of variables. D = {D V 1, D V 2,..., D V n }, the set of variable domains. C = {C i, C j,k,..., C i,j,...,m,..., C n }, a set of constraints on variables in V. A Planning Problem is a problem in which an agent capable of performing certain actions finds itself in some known world, needing to achieve certain goals. More formally, a planning problem should specify: The initial state of the world (as a set of facts). A description of the agent’s goals (as a set of facts). A description of the actions that the agent can carry out. Actions are described by their preconditions and effects. The preconditions of an action are a set of facts that must be true before an action can be performed. The effects can be divided into an add list and a delete list, where the add list contains facts made true by the action and the delete list contains facts that are made false by the action. Variables: Each fact present in the planning graph for a particular planning problem is converted to a CSP variable. Domains: The set of actions supporting each fact becomes the domain, with the addition of a special value called NOTHING. Constraints: Activity Constraints: When a particular action is chosen to support some fact, the preconditions of that action must be true. The activity constraints force the variables representing each precondition to take some value other than NOTHING. Fact Mutex Constraints: These simple constraints are placed between facts that GraphPlan has marked as mutex. These constraints say that at least one of the variables must have the value NOTHING. These constraints prevent the planner from, for example, trying make (FACT) and (NOT FACT) true at the same time. Mutex Constraints: These constraints are used to model mutexes that exist between pairs of actions. As actions are the domain values in this formulation, the constraints must exist between facts which have mutex actions supporting them. The constraints explicitly forbid particular pairs of actions from being simultaneously assigned to the fact variables involved in the constraint. Problem Reformulation: The conversion of a planning problem to a CSP is completely automated. The planning graph generated by the GraphPlan algorithm is used as the basis for this conversion. Early attempts at using CP techniques with planning required that each planning problem be hand encoded, a complex and sometimes difficult task. Constraints: Mutexes between facts and actions must be enforced, as well as activity constraints that are used to model the preconditions of actions. In detail: References: 1.Minh  Binh  Do  and  Subbarao  Kambhampati  Planning  as  constraint  satisfaction  Solving  the  planning  graph  by  compiling  it  into  CSP  Artificial  Intelligence  - . 2.Avrim  Blum  and  Merrick  Furst  Fast  planning  through  planning  graph  analysis  In  Proceedings  of  the  th  International  Joint  Conference  on  Artificial  Intelligence   IJCAI  pages  -  This work is supported by the CAREER Award # from the National Science Foundation. This illustrates the planning graph as constructed by GraphPlan. A planning graph consists of alternating layers of facts and actions. The first entries in a planning graph are the facts found in the initial state of the planning problem. The next layer is the set of actions whose preconditions exist in the initial state (thus making the actions applicable). Of note is a pseudo-action called a noop that has one fact as its precondition and that same fact as an effect. These noop actions ensure that once a fact becomes true, it is present at all future levels in the planning graph. To extend the planning graph from a given fact layer, all applicable actions are generated and they form the next action layer. The effects of these actions form the next fact layer. GraphPlan starts with the initial conditions and extends the planning graph until all goal are found (and are non-mutex) at the highest fact layer. At this point, a search is launched to see if a valid plan exists in the planning graph. If a solution is found, it is output. Otherwise the planning graph is extended one more layer and a search is again launched. This continues until a valid plan is found or the problem is found to be unsolveable. Experience: Summer intern at Honeywell where I worked on an industrial scheduling system. Summer intern at NASA Ames where I worked on a GraphPlan based planning system.