Planning and Scheduling - PowerPoint PPT Presentation

About This Presentation
Title:

Planning and Scheduling

Description:

Many planning problems have a time-dependent component. actions happen over time ... TGP action model. STRIPS actions, plus start time, end time, duration ... – PowerPoint PPT presentation

Number of Views:138
Avg rating:3.0/5.0
Slides: 27
Provided by: jimbl
Learn more at: https://www.isi.edu
Category:

less

Transcript and Presenter's Notes

Title: Planning and Scheduling


1
Planning and Scheduling
2
Some background
  • Many planning problems have a time-dependent
    component
  • actions happen over time intervals,
  • goals have time windows when they should be
    achieved
  • Need to synchronize with other agents
  • Normal Situation calculus, STRIPS, etc. dont
    support this very well
  • Planners choose actions to achieve goals. Picking
    a time line is typically seen as scheduling

3
Handling time in planners
  • How should we model temporal problems
  • Do we need new planning algorithms or will
    modifications on others be enough?
  • Can we plan first, then schedule? Should the two
    be merged?

4
Different time-related issues in planning
  • If actions take different time intervals,
    partial-order planners must account for this
  • Actions with continuous effects e.g. drive
    truck from LA to San Francisco
  • Concurrent/simultaneous actions may have
    different effects or preconditions

5
Actions with continuous effects
  • Drive from LA to SF takes 5 hours. Location
    changes continuously
  • If the action gets interrupted e.g. need to
    recall the truck 1 hour later. Where is it?
  • Some approaches situation calculus with
    differential equations for the state, event
    calculus.

6
Concurrent actions
  • Synergy to open the door, hold handle down and
    pull simultaneously neither action achieves
    anything alone
  • Interference if two actions require the same
    resource (e.g. a spanner), cannot both take place
    simultaneously

7
Generalizing STRIPS
  • STRIPS action if preconds hold in current
    situation, can apply action now, and effects
    hold in next situation.
  • If action takes place over an interval should
    preconds hold just when the action starts?
    Throughout the interval? When do the effects take
    place?

8
Temporal Graph Plan
  • Consider the question can we use Graphplan ideas
    for temporal planning?
  • What are the problems, if actions have different
    durations?

9
TGP action model
  • STRIPS actions, plus start time, end time,
    duration
  • All preconds must hold at the start
  • Preconds not affected by the action must hold
    throughout execution
  • Effects are undefined during execution and only
    hold at the final time point

10
Temporal planning graph
  • Propositions and actions monotonically increasing
  • Mutexes monotonically decreasing
  • Nogoods are monotonically decreasing
  • So..

11
Cyclic planning graph
Earliest start time
12
Distinguishing mutex conditions
  • Some mutexes are always true eternal
  • Some can become false conditional
  • Action/Proposition mutex

13
(No Transcript)
14
Propagating mutexes
  • Can maintain which are conditional or eternal
    mutexes
  • Note these are temporal conditions, essentially
    on when instances of A and P can coexist

15
Solution extraction
16
Dealing with uncountable choices..
  • The algorithm makes every action take place as
    late as possible by using persistence ONLY when
    nothing else would work.

17
Approximating mutex conditions
  • Checking disjunctions can be expensive, so try to
    maintain a form like

18
Conclusions
  • Can extend mutex reasoning to temporal case
  • But its not easy!

19
ASPEN
  • Combine planning and scheduling steps as
    alternative conflict repair operations
  • Activities have start time, end time, duration
  • Maintain most-commitment approach easier to
    reason about temporal dependencies with full
    information
  • C.f. TLPlan

20
Temporal constraints
21
Activity decompositions
22
Conflict types
23
Contributors for a non-depletable resource
violation
24
Contributors for a depletable resource violation
25
Domain-independent heuristics
  • Prefer to solve conflicts that require new
    activities, then timeline conflicts
  • To repair a conflict, prefer moving activities,
    then adding a new activity
  • Try to solve conflicts while introducing as few
    others as possible

26
Conclusions
  • Successfully integrates planning and scheduling
  • Does it do so in the most profitable way?
  • What can we say about guarantees for the
    algorithm?
Write a Comment
User Comments (0)
About PowerShow.com