185
ESA UNCLASSIFIED – For Official Use From Scheduling to Planning with Timelines: A history of successful applications in Space (Part 2) Simone Fratini European Space Agency European Space Operations Center ICAPS Summer School 04/06/2013

From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

ESA UNCLASSIFIED – For Official Use

From Scheduling to Planning with Timelines: A history of successful applications in Space (Part 2)

Simone Fratini European Space Agency European Space Operations Center ICAPS Summer School 04/06/2013

Page 2: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 2

ESA UNCLASSIFIED – For Official Use

Outline

1. Background

a. Realistic Planning Problems

b. Solving Problems with Planning and Scheduling

2. Theoretical Foundations:

a. Basic Modelling Principles

b. Search Space Representation

c. Problem Solving with Timelines

3. Architectures

a. Generic Architecture

b. Real Examples of Architectures in use at ESA/NASA

Page 3: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 3

ESA UNCLASSIFIED – For Official Use

BACKGROUND

Page 4: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 4

ESA UNCLASSIFIED – For Official Use

Applications of AI Planning

Aerospace

Space

- Satellite, Launcher manufacturing

- Launch site operations

- Spacecraft operations

- Space users

- Autonomous space exploration

Aviation

- Manufacturers and suppliers

- Airlines, Airports

- Maintenance and repair organizations

- Air Traffic Control

P. Laborie– Planet School – Sept. 2002

Page 5: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 5

ESA UNCLASSIFIED – For Official Use

Applications of AI Planning

Defense

Military logistic applications

Rescue and Military operations planning

Non-combatant Evacuation Operations

Emergency Assistance

Air Campaign Planning

Army Unit Operations

Coalition Operations

P. Laborie– Planet School – Sept. 2002

Page 6: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 6

ESA UNCLASSIFIED – For Official Use

Applications of AI Planning

New information technology

Planning & Scheduling for the Web

Workflow, Business Process Management

Systems Management Aids

Help Desks and Assistants

Personal Assistants

Data analysis tasks, Database query

Virtual reality or other simulated environments

Computer games (bridge)

P. Laborie– Planet School – Sept. 2002

Page 7: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 7

ESA UNCLASSIFIED – For Official Use

Applications of AI Planning

Industry

Process planning

Factory automation

- Production line scheduling

- Assembly planning

- Maintenance planning

Electronic design and manufacturing

Logistics

Project planning

Construction planning

Engineering Tasks

Management Tasks

P. Laborie– Planet School – Sept. 2002

Page 8: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 8

ESA UNCLASSIFIED – For Official Use

Applications of AI Planning

Civil Security and Environment

Crisis Management

Evacuation Planning

Search & Rescue Coordination

Oil Spill Response

Medical Applications

Bioinformatics

Personal Active Medical Assistant

P. Laborie– Planet School – Sept. 2002

Page 9: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 9

ESA UNCLASSIFIED – For Official Use

“Realistic” Planning Problems

1. Time

2. Numerical Reasoning

3. Concurrent actions

4. Context–Dependent Effects

5. Interaction with Users, “man in the loop”

6. Oversubscribed Problems

7. Focus on Optimization rather than on Achievement

8. Robustness, Flexibility

9. Execution Monitoring

10.Re-Planning & Re-Scheduling

11.Scalability

12.Integration of external solving processes

13.Need for Formal Verification and Validation of Plans and Schedules

Page 10: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 10

ESA UNCLASSIFIED – For Official Use

“Realistic” Planning Problems

1. knowledge about the domain

Timing, causal relationships, resources

2. knowledge about “good plans”

Oversubscription, Optimization, Robustness, Flexibility

3. explicit search-control knowledge

Domain specific know-how, Optimization

4. knowledge about interacting with the user and about user’s preferences

“man in the loop”

5. knowledge about plan repair during execution

Execution monitoring, re-planning and re-scheduling

Page 11: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 11

ESA UNCLASSIFIED – For Official Use

Six Challenges (D. Smith, Planet „03)

1. Exogenous conditions & events

a. Communication windows

b. Observation windows

c. Lighting conditions

d. Orbit insertion

e. Celestial events

2. Over-subscription problems

a. Many observations/experiments

b. Prioritized

c. Limited time, energy, data storage, cryogen…

3. Uncertainty

Page 12: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 12

ESA UNCLASSIFIED – For Official Use

Six Challenges (D. Smith, Planet „03)

4. Ramifications

a. Physical model

b. Switches/valves

5. Plan Revision

a. Rolling time horizon

b. New goals

c. Unexpected state

6. External Reasoning

a. Flight Dynamics

b. Thermal Model

Page 13: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 13

ESA UNCLASSIFIED – For Official Use

What is the opponent?

[Courtesy of D. Evans, ESA. “The ladybird guide to spacecraft operations”. Introductory course at ESA for Spacecraft Engineers]

Page 14: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 14

ESA UNCLASSIFIED – For Official Use

Ideal Scenario...

Planner Compiler Domain Theory

Model

Problem (Initial Conditions + Goals)

SOLVE

Plan

Page 15: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15

ESA UNCLASSIFIED – For Official Use

A Real Scenario…

Mission Planning Overview

FDYNFDYN FCTFCT EMSEMS JPLJPLVSOCVSOC

RSI Requests

Station SchedulingSYNOPTIC

(Excel)

DDOR RequestsRequest

(Email)

Missions pass

allocation

(Medium Term)

OSS UPDATES

Long Term

Planning

-3/4 months

Missions pass

allocation

Request

(Email)

LTP

Link Budget +

DSN passes +

S/C Maint forecast

EVTU+SAF

PLAN VIEW

MTP

FECS+BRF

Medium Term

Planning

- 2 months

Pointing ValidationPTR

MTP

EVTP+

FTLV+

SAAV

POR Lite

Reference Orbit

Definition &

Maintenance

EVTF+

TMSV+

OWLT

Missions pass

allocation

(Short Term)

PLAN VIEW

Update

SAF

STP

Report (Email)

Short Term

Planning

-1 week

STP

SAF

Missions pass

allocation

(Last Minute)

PLAN VIEW

Update

POR

ORBIT Determ.+

Command Gener.

EVTV+

FTLV+

SAAV+

FDR

Station Scheduling

-6/7 months

Pass Conduction

+ TC Upload

MDAF

Pass Sheets

Station Operations

PLAN VIEW

Update

Station Operations

Operations

Execution

DSN

Key File

Mission

Agreements

Standing Orders

Mission

Requirements

Page 16: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 16

ESA UNCLASSIFIED – For Official Use

Goal Plan

Planning Scheduling

Schedule

Planning and Scheduling (in theory)

Page 17: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 17

ESA UNCLASSIFIED – For Official Use

Goal Plan

Planning Scheduling

Schedule

Planning and Scheduling (in theory)

Page 18: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 18

ESA UNCLASSIFIED – For Official Use

assembly left wing

assembly fuselage

Goal Plan

Planning Scheduling

Schedule

assembly right wing

Planning and Scheduling (in theory)

Page 19: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 19

ESA UNCLASSIFIED – For Official Use

t1

t2

t3

assembly left w assembly fuselage assembly right

Goal Plan

Planning Scheduling

Schedule

Planning and Scheduling (in theory)

Page 20: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 20

ESA UNCLASSIFIED – For Official Use

What to do

Goal Plan

Planning Scheduling

Schedule

t1 t2 t3

assembly left w assembly fuselage assembly right

Planning and Scheduling (in theory)

Page 21: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 21

ESA UNCLASSIFIED – For Official Use

What to do When to do

Goal Plan

Planning Scheduling

Schedule

t1 t2 t3

assembly left w assembly fuselage assembly right

Planning and Scheduling (in theory)

Page 22: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 22

ESA UNCLASSIFIED – For Official Use

Mixed-Initiative Model

Waterfall Model

Plan Schedule

Planner

Scheduler

Planner

Scheduler

Schedule

Plan

“Planning & scheduling are rarely separable”

Integrating Planning and Scheduling

Page 23: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 23

ESA UNCLASSIFIED – For Official Use

Planning and Scheduling in space

1. Integrated Planning and Scheduling:

a. Activities logically depend on when are scheduled and on which

resources are available

b. Activity schedule depends on logical constraints

2. Functional Scope:

a. Ground Segment P&S

b. On-Board P&S

c. Lander/Robotics P&S

3. Temporal Scope:

a. Long Term Planning (LTP) – Up to 6 month

b. Medium Term Planning (MTP) – ~4 Weeks

c. Short Term Planning (STP) – Weekly slices

Page 24: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 24

ESA UNCLASSIFIED – For Official Use

Functional Scope

Ground Station Management

FCT (Flight Control Team)

SPT

Science Planning Team (ESA-ESAC, Spain) MPT

Mission Planning Team (ESA-ESOC, Germany)

S/C

Lander

U/L (UpLink)

D/L (DownLink)

TC

(Tele

Com

man

ds)

TM

(Tele

Metr

y)

Pla

nn

ing

Req

uests

S/

C A

ttit

ud

e,

Mod

es

PI (Principal Investigators)

S/C Autonomy

Robotics

Mission Planning

GS Planning

Science Planning

Payload Experts

Page 25: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 25

ESA UNCLASSIFIED – For Official Use

On-Board versus Ground Segment

1. Planning & Scheduling for on-board operations:

a. Autonomy, “Closed-Loop” Control,

b. on-board Plan & Execution, On-line assessment and revision

c. Enable the opportunity to specify high-level science requests

d. Plans are generated

e. Verification and validation against on-board status

2. Planning & Scheduling for the ground segment:

a. Role as decision support systems

b. Interactive decision making

c. User in control

d. Subdivision of work between automated solvers (difficult and

repetitive tasks) and human operator (strategic decisions, soft

constraints)

Page 26: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 26

ESA UNCLASSIFIED – For Official Use

Temporal Scope

Mission Planning Overview

FDYNFDYN FCTFCT EMSEMS JPLJPLVSOCVSOC

RSI Requests

Station SchedulingSYNOPTIC

(Excel)

DDOR RequestsRequest

(Email)

Missions pass

allocation

(Medium Term)

OSS UPDATES

Long Term

Planning

-3/4 months

Missions pass

allocation

Request

(Email)

LTP

Link Budget +

DSN passes +

S/C Maint forecast

EVTU+SAF

PLAN VIEW

MTP

FECS+BRF

Medium Term

Planning

- 2 months

Pointing ValidationPTR

MTP

EVTP+

FTLV+

SAAV

POR Lite

Reference Orbit

Definition &

Maintenance

EVTF+

TMSV+

OWLT

Missions pass

allocation

(Short Term)

PLAN VIEW

Update

SAF

STP

Report (Email)

Short Term

Planning

-1 week

STP

SAF

Missions pass

allocation

(Last Minute)

PLAN VIEW

Update

POR

ORBIT Determ.+

Command Gener.

EVTV+

FTLV+

SAAV+

FDR

Station Scheduling

-6/7 months

Pass Conduction

+ TC Upload

MDAF

Pass Sheets

Station Operations

PLAN VIEW

Update

Station Operations

Operations

Execution

DSN

Key File

Mission

Agreements

Standing Orders

Mission

Requirements

Page 27: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 27

ESA UNCLASSIFIED – For Official Use

A bit of history…

1. On Ground Segment

a. HSTS (since 1990) – NASA

b. MAPGEN (2003) – NASA/JPL

c. Mexar 2(2005), Raxem (2006) - ESA

d. APSI Framework (2007), MrSpock, AIMS, XMAS - ESA

2. On Board Segment

a. Remote Agent (1999) - NASA

b. ASE, EO-1 (2003) – NASA/JPL

c. GOAC – Goal Oriented Autonomous Controller (2011) - ESA

Page 28: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 28

ESA UNCLASSIFIED – For Official Use

THEORETICAL FOUNDATIONS

Page 29: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 29

ESA UNCLASSIFIED – For Official Use

Outline

1. Basic Modelling Principles:

a. Timelines, State Variables, Resources

b. Domain Theory

c. Problems and Solutions

2. Search Space Representation:

a. Envelopes

b. Types of timelines

3. Problem Solving with Timelines:

a. Timeline Extraction Procedures

b. Flaws Collection

c. Flaws Resolution

Page 30: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 30

ESA UNCLASSIFIED – For Official Use

Basic Modelling Principles:

Timelines, State Variables, Resources

Domain Theory

Problems and Solutions

Page 31: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 31

ESA UNCLASSIFIED – For Official Use

Planning as…

Multiple Definitions:

Timeline-Based Planning

Planning with State Variables

Constraint-based Attribute

and Interval Planning

(CAIP or C-BIP)

Component-Based Planning

Page 32: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 32

ESA UNCLASSIFIED – For Official Use

Pillars

1. Control Theory [Passino, K. M. and Antsaklis, P. J. (1989). A system and

control theoretic perspective on artificial intelligence planning

systems. Journal of Applied Artificial Intelligence, 3:1–32.]

2. Constraint Satisfaction Problem [Montanari, U. (1974). Networks of constraints: Fundamental

properties and applications to picture processing. Information

Sciences, (7):95–132.]

3. PCP Scheduling [Muscettola, N. (1994a). HSTS: Integrating Planning and

Scheduling. In Zweben, M. and Fox, M.S., editor, Intelligent

Scheduling. Morgan Kauffmann]

Page 33: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 33

ESA UNCLASSIFIED – For Official Use

Analogy with Control Theory

Planner

System Input

System Output

Executor

Goals Set of Plans Plan

Execution Plan

Execution Monitoring

Plan Executed

(Re)-Planning Plan Repair

Engine

Plan Database

Domain Model

Page 34: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 34

ESA UNCLASSIFIED – For Official Use

Timeline Based Approach

• Modelling – Focus on key features

– Describe their possible consistent

temporal behaviours

– Represent the relevant constraints

(domain theory)

• Solving – Synthesize timelines according to

current goals satisfying modelled

constraints

Modeling

Solving

Problem Solving = Timeline synthesis

Page 35: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 35

ESA UNCLASSIFIED – For Official Use

Timeline-Based Planning

Pulses

t

On() Off() On()

O

1 - Represent Features

Symbolic

Numeric

On

Off Burned

max

t

On() Off() On()

O

Transitions

Value Constraints

Temporal Constraints

[lb,ub]

2 – Describe

Features

3 – Synchronize

Features

Page 36: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 36

ESA UNCLASSIFIED – For Official Use

Modelling Assumptions

1. The world is modeled as a set of entities (physical subsystems)…

2. whose properties can vary in time…

3. according with an internal logic…

4. or as a consequence of external inputs.

Page 37: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 37

ESA UNCLASSIFIED – For Official Use

Components Profiles

1. The world is modeled as a set of entities (physical subsystems)…

2. whose properties can vary in time…

3. according with an internal logic…

4. or as a consequence of external inputs.

2 classes of sub-systems:

1. Symbolic

(to represent operational modes)

2. Numeric

(to represent numerical variables)

Page 38: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 38

ESA UNCLASSIFIED – For Official Use

Profile Constraints

1. The world is modeled as a set of entities (physical subsystems)…

2. whose properties can vary in time…

3. according with an internal logic…

4. or as a consequence of external inputs.

Transition and Duration Constraints

For symbolic entities

Numerical Bounds or

other Constraints

On

Off Burned

Page 39: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 39

ESA UNCLASSIFIED – For Official Use

Profile Update

1. The world is modeled as a set of entities (physical subsystems)…

2. whose properties can vary in time…

3. according with an internal logic…

4. or as a consequence of external inputs.

5. Multiple Definitions:

a. Tokens

b. Decisions

c. Interval Constraints

d. Activities (for numeric components)

e. Temporal Assertions

Page 40: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 40

ESA UNCLASSIFIED – For Official Use

State Variables

Page 41: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 41

ESA UNCLASSIFIED – For Official Use

Resources

1. A resource models a domain feature with a “limited” capacity or availability.

2. Modeled as components whose behaviors are numerical functions of time.

Each behavior represents a different profile of resource allocation in time

3. The concept of limited availability is defined by means of minimum and

maximum value for the behaviors

4. An event capture the concept of resource usage

a. for a reusable resource an event represents an amount of resource

booked on a temporal interval

b. for a consumable resource an event is an amount produced or

consumed in a time instant

Page 42: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 42

ESA UNCLASSIFIED – For Official Use

Resources

Reusable Resource

Consumable Resource

Page 43: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 43

ESA UNCLASSIFIED – For Official Use

Timeline-Based Planning

Pulses

t

On() Off() On()

O

1 - Represent Features

Symbolic

Numeric

On

Off Burned

max

t

On() Off() On()

O

Transitions

Value Constraints

Temporal Constraints

[lb,ub]

2 – Describe

Features

3 – Synchronize

Features

Page 44: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 44

ESA UNCLASSIFIED – For Official Use

Domain Theory

1. Components in a domain cannot be considered as reciprocally

decoupled, rather you need to model the fact that they influence each

other’s behavior:

a. defining tuples of valid component behaviors

b. defining how events have to be synchronized

2. A domain theory defines valid patterns of applicable events and/or

valid combination of behaviors

3. A synchronization is a statement

a. is a temporal property called “reference”

b. is a set of temporal properties called “supports”

c. is a set of n-ary relations on time frames

d. is a set of n-ary relations on values

Page 45: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 45

ESA UNCLASSIFIED – For Official Use

Synchronizations

1. A synchronization can be applicable to a timeline or to a set of events

2. A synchronization applicable to a timeline or to a set of events can be

satisfied by the timelines and events

3. A Domain theory DT is a set of synchronizations

4. A domain theory DT is satisfied by a set of timelines and events if any

applicable synchronization in is satisfied

Page 46: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 46

ESA UNCLASSIFIED – For Official Use

Example: A Robotic Domain…

1. A robotic Platform equipped with:

a. A mobility system

b. A pan-tilt unit (PTU)

c. Two stereo cameras (mounted on top of PTU)

d. A communication facility

e. An onboard memory

2. Robot has to:

a. Autonomously navigate the environment

b. Move the PTU

c. Take pictures

d. Store and dump taken pictures when possible

Page 47: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 47

ESA UNCLASSIFIED – For Official Use

Example – Robotic Domain

Page 48: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 48

ESA UNCLASSIFIED – For Official Use

Example - Synchronization

Page 49: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 49

ESA UNCLASSIFIED – For Official Use

Example of Temporal Relations

Page 50: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 50

ESA UNCLASSIFIED – For Official Use

Example – DDL.3 Specification

Page 51: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 51

ESA UNCLASSIFIED – For Official Use

Problem Definition

A problem can be defined in general by means of:

1. a set of timelines stating the initial system status

2. a pair stating the goal conditions

3. a domain theory specifying the properties required for valid

timelines and events applicable to the system

Page 52: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 52

ESA UNCLASSIFIED – For Official Use

Example – Problem Definition

NotVisible() Visible() NotVisible()

MT

CAM

MS

PTU

COMM

VW

MEM

Idle()

PointingAt(0,0)

At(0,0)

Idle()

Idle()

min

max

TakingPicture(2,3,-35,-45,”pic1”)

GoTo(0,0)

BEFORE

Page 53: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 53

ESA UNCLASSIFIED – For Official Use

Example – Problem Definition

Page 54: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 54

ESA UNCLASSIFIED – For Official Use

Solution Definition

The goal of the solver is to identify an set of events subset of

such that:

1. allows an extraction of a timeline from

2. the timeline extracted describes a subset of

3. satisfies the domain theory

Page 55: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 55

ESA UNCLASSIFIED – For Official Use

Example - Solution

NotVisible() Visible() NotVisible()

MT

CAM

MS

PTU

COMM

VW

MEM

Idle()

PointingAt(0,0)

At(0,0)

Idle()

Idle()

min

max

TakingPicture(2,3,-35,-45,”pic1”) GoTo(0,0)

BEFORE

Idle() Idle()

TakePic (“pic1”) Idle()

GoTo(2,3) At(2,3) GoTo(0,0) At(0,0)

MovingTo (-35,-45)

PointingAt (-35,-45)

MovingTo (0,0)

PointingAt(0,0)

Dump(“pic1”) Idle()

Page 56: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 56

ESA UNCLASSIFIED – For Official Use

Search Space Representation:

Envelopes

Types of timelines

Page 57: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 57

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

Page 58: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 58

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

Page 59: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 59

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

3. Define a domain theory

Page 60: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 60

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

3. Define a domain theory

4. Define a problem as a sub-

set of behaviors

Page 61: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 61

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

3. Define a domain theory

4. Define a problem as a sub-

set of behaviours Set of Solutions

Page 62: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 62

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

3. Define a domain theory

4. Define a problem as a sub-

set of behaviours

5. Identify the Kernel…

Page 63: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 63

ESA UNCLASSIFIED – For Official Use

The Envelope

1. Search in the space of

components’ behaviours

2. Define a sub-set of these

behaviours as valid

behaviours

3. Define a domain theory

4. Define a problem as a sub-

set of behaviours

5. Identify the Kernel… or the

Envelope

Page 64: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 64

ESA UNCLASSIFIED – For Official Use

The Envelope

The Envelope:

1. Easy to describe

Page 65: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 65

ESA UNCLASSIFIED – For Official Use

The Envelope

The Envelope:

1. Easy to describe

2. Easy to identify valid

solutions

Page 66: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 66

ESA UNCLASSIFIED – For Official Use

The Envelope

The Envelope:

1. Easy to describe

2. Easy to identify valid

solutions

3. Easy to narrow during

search

Page 67: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 67

ESA UNCLASSIFIED – For Official Use

Timelines

Timeline (n): a graphical representation of a period of time, on which important events are marked. - Oxford English Dictionary

A timeline is a way of displaying a list of events in chronological order, sometimes described as a project artifact. It is typically a graphic design showing a long bar labeled with dates alongside itself and (usually) events labeled on points where they would have happened. - Wikipedia

Page 68: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 68

ESA UNCLASSIFIED – For Official Use

Timeline?

Less simple that it may look like:

[Muscettola, N. (1994a). HSTS: Integrating Planning and Scheduling. In Zweben, M. and Fox, M.S., editor, Intelligent Scheduling.

Morgan Kauffmann]

[Muscettola, N., Nayak, P. P., Pell, B., and Williams, B. C. (1998). Remote agent: to go boldly where no AI system has gone before.

Artificial Intelligence, 103(1–2):5–48.]

[Frank, J., and Joonsson, A. 2003. Constraint-based attribute and interval planning. Constraints 8(4):339–364.]

[A. Cesta, S. Fratini and A. Oddi. Planning with Concurrency, Time and Resources: A CSP-Based Approach. In I. Vlahavas, D. Vrakas

(Eds.), "Intelligent Techniques for Planning", Idea Group Publishing, pp. 259-295, 2005]

[Cédric Pralet, Gérard Verfaillie: Using Constraint Networks on Timelines to Model and Solve Planning and Scheduling Problems.

ICAPS 2008: 272-279]

[Fratini, S.; Pecora, F.; and Cesta, A. 2008. Unifying Planning and Scheduling as Timelines in a Component-Based Perspective. Archives

of Control Sciences 18(2):231–271]

[Verfaillie, G.; Pralet, C.; and Lematre, M. 2010. How to model planning and scheduling problems using constraint networks on

timelines. Knowledge Eng. Review 25(3):319–336]

[Chien, S.; Johnston, M.; Frank, J.; Giuliano, M.; Kavelaars, A.; Lenzen, C.; and Policella, N. 2012. A Generalized Timeline

Representation, Services, and Interface for Automating Space Mission Operations. In Proceedings of Conference on Space Operations]

[Fratini, S., and Cesta, A. 2012. The APSI Framework: A Platform for Timeline Synthesis. In Proceedings of the 1st Workshops on

Planning and Scheduling with Timelines at ICAPS-12, Atibaia, Brazil.]

[Frank, J. What is a Timeline? In Proceedings of the 4th Workshops on Knowledge Engineering for Planning and Scheduling at ICAPS-

13, Rome, Italy]

Page 69: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 69

ESA UNCLASSIFIED – For Official Use

Definitions

Modelling Primitive: A timeline provides a mean to describe the

evolution of a system as a set of parallel histories (or concurrent

threads) over linear and continuous time

Service Provider: A timeline provides a set of services to allow a solver

to interact with the computed history of the evolution of a system:

a. Detect violations over time intervals

b. Insert/remove data in time

c. Check whether an insertion violates a constraint

d. Return a list of valid times to place data

e. Invoke custom code to calculate complex data

f. …

Page 70: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 70

ESA UNCLASSIFIED – For Official Use

Definitions (2)

Functional Definition: A timeline is a data structure to entail powerful

reasoning on data over time (like Graphplan for PDDL for instance)

CSP Definition: A timeline is a constraint network on time and data

Mathematical definitions:

A timeline T L for over a temporal interval H is a tuple <T,V,fT,fN> where:

T is a finite, ordered set of time variables ranging in H=[0,H);

V is a set of variables ranging in D such that |V| = |T|;

fT ⊆ H|T| is a set of possible temporal occurrence assignment to

variables in T such that for each assignment <t0,…, ti,…, tH> ∈ T, t0

= 0, tH = H and ti < tj , ∀i < j.

fN ⊆ V|T| is a set of possible assignment of values in V to variables

in T

Page 71: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 71

ESA UNCLASSIFIED – For Official Use

Classification

1. Temporal Model:

a. Fix

b. Bounded

c. Flexible, STN with Total Order

d. Flexible, STN generic

e. Flexible, DTN

2. Data Model:

a. Ground

b. Parameterized

c. Multi-Valued

d. Generic

3. Transition Model:

a. Markovian

b. Global

Page 72: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 72

ESA UNCLASSIFIED – For Official Use

Temporal Model Classification

1. Fix

2. Bounded

t=0 t=3 t=6 t=10

t=0 t[4,5] t[7,8]

t=10

Page 73: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 73

ESA UNCLASSIFIED – For Official Use

Temporal Model Classification

3. Flexible, STN with Total Order

t=0 t[4,5] t[7,8]

t=10

[3,5] [1,3] [2,3]

The Envelope:

1. Easy to describe

2. Easy to identify valid

solutions

3. Easy to narrow during

search

1. t0,t1,t2,tH + [t0,t1][3,5]

[t1,t2][1,3] [t2,tH][2,3]

2. ESTA and LSTA are

solutions of the STP

3. Constraint Propagation

t=0 t[5,5] t[7,7]

t=10

[3,5] [1,3] [2,3]

[1,2]

Page 74: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 74

ESA UNCLASSIFIED – For Official Use

Temporal Model Classification

4. Flexible, STN generic

v1 v2 v3

t=0 t1[3,7] t2[5,8]

t=10

[3,7] [2,5] v1 v2 v3

t=0 t1=3 t2=5

t=10

[3,7] [2,5]

t2=5 t1=6

t=10

v1 v3 v2

t=0

[3,7] [2,5]

Page 75: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 75

ESA UNCLASSIFIED – For Official Use

Temporal Model Classification

5. Flexible, DTN

[10,20]

[50,70]

[30,40]v[60,+INF]

[0,20]

[20,30]v[40,50]

Page 76: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 76

ESA UNCLASSIFIED – For Official Use

Data Model Classification

1. Ground Timeline

2. Parameterized

At(0,0) GoTo(3,5) At(3,5)

At(?x,?y) GoTo(?x1,?y1) At(?x2,?y2)

<0,0>

?x2=?x1 ?y2=?y1 ?x2=3

?y2=5 ?x1=3 ?y1=5

?x=0 ?y=0

<3,5>

?x2=?x12 ?y2=?y12 ?x2 [1,5]

?y2 [3,7]

<0,0> <3,5>

Page 77: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 77

ESA UNCLASSIFIED – For Official Use

Data Model Classification

3. Multi-Valued

{A(),B()} {A(),B()} {A(),B()}

A() B()

At(?x,?y) GoTo(?x1,?y1) {At(?x2,?y2) v StuckAt(?x2,?y2)}

At {?x2=?x1 ?y2=?y1} StuckAt {?x2?x1 v ?y2?y1}

GoTo (?x1,?y1)

At (?x,?y) StuckAt

(?x2,?y2)

<0,0> <3,5> ?!?

Page 78: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 78

ESA UNCLASSIFIED – For Official Use

4. Generic

f1(x1,..xn) f2(x1,..xn) f3(x1,..xn)

f1(t,x1,..xn) f2(t,x1,..xn) f3(t,x1,..xn)

t

t

Page 79: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 79

ESA UNCLASSIFIED – For Official Use

Transition Model

1. Markovian

2. Global

v(?x1) v(?x2) v(?x3)

?x1?x2 ?x2?x3

v(?x1) v(?x2) v(?x3)

allDifferent(?x1, ?x2, ?x3)

Page 80: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 80

ESA UNCLASSIFIED – For Official Use

Working with Timelines

1. Assert (value or time)

a. V = b in [2,3]

b. tx = 3

2. Simple Constraint (on value or time)

a. V = {b1 v b2} in [2,3]

b. Activity

c. Prod/cons

3. Complex Constraint

a. Ub in [l,u]

b. not a in [l,u]

c. …

Page 81: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 81

ESA UNCLASSIFIED – For Official Use

The “Token Principle”

No distinction needs to be made between representational primitives for

actions and states. A single representational primitive, the “token” is

sufficient to describe the evolution of system state variables over time.

Muscettola, N., Nayak, P. P., Pell, B., and Williams, B. C. (1998). Remote agent: to go boldly where no AI system has gone before. Artificial Intelligence, 103(1–2):5–48.

Oh my god… … where are the actions?!?

Page 82: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 82

ESA UNCLASSIFIED – For Official Use

The “Token Principle”

No distinction needs to be made between representational primitives for

actions and states. A single representational primitive, the “token” is

sufficient to describe the evolution of system state variables over time.

Muscettola, N., Nayak, P. P., Pell, B., and Williams, B. C. (1998). Remote agent: to go boldly where no AI system has gone before. Artificial Intelligence, 103(1–2):5–48.

At(?x,?y) At(?x2,?y2)

GoTo(?x1,?y1)

Page 83: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 83

ESA UNCLASSIFIED – For Official Use

The “Token Principle”

No distinction needs to be made between representational primitives for

actions and states. A single representational primitive, the “token” is

sufficient to describe the evolution of system state variables over time.

Muscettola, N., Nayak, P. P., Pell, B., and Williams, B. C. (1998). Remote agent: to go boldly where no AI system has gone before. Artificial Intelligence, 103(1–2):5–48.

Hoovering(?d) Hoovering(?d2)

AscendDescend(?d2)

Page 84: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 84

ESA UNCLASSIFIED – For Official Use

Problem Solving with Timelines:

Timeline Extraction Procedures

Flaws Collection

Flaws Resolution

Page 85: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 85

ESA UNCLASSIFIED – For Official Use

Problem Solving Main Steps

Envelope of Events

Timeline

Extraction

Flaws

Collection

Flaw Resolution

Envelope of Events Update

Page 86: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 86

ESA UNCLASSIFIED – For Official Use

Layered Structure

[0,H]

[0,87]

[15,25]

[0,75]

[10,50]

[20,42] [30,40] [15,35]

[45,75]

[20,30]

[65,87]

[65,H] [0,0]

[30,40] [15,35]

75 0

[20,42]

[20,30] [10,50]

[15,25] 87 0

Problem

Representation

Page 87: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 87

ESA UNCLASSIFIED – For Official Use

Timeline Extraction Procedure

Page 88: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 88

ESA UNCLASSIFIED – For Official Use

Temporal Fragmentation

0 H

Tl v1 v2

ε2

vε1 ε1

vε1

vε2

Tl’ v1

v1

vε1

v1

vε1

vε2

v1

vε2

v2

vε2

ν2

v2

vε1

v2

Fragmentation of ε1

Page 89: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 89

ESA UNCLASSIFIED – For Official Use

Timeline Extraction Procedure

Temporal and Data Problems

Flexible Ordered Timeline Fix Timeline

ESTA LSTA

Flexible Timeline

++Flexible Timeline

Ground Timeline Ground Timeline

Parameterized Timeline

Multi Valued Timeline

Parameterized Timeline

Multi Valued Timeline

-- search space

size

++ search space size

-- complexity

to expand

++ complexity

to expand

1 solution per search

node many solutions

per search node

Page 90: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 90

ESA UNCLASSIFIED – For Official Use

Timeline Extraction Procedure

Page 91: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 91

ESA UNCLASSIFIED – For Official Use

Flaws

1. Open Condition Flaws

Expand (add tokens)

Unify (add constraints)

2. Ordering Flaws (Conflicts on Timelines)

PCP (add temporal precedence constraints)

3. Unbound Variable Flaws

Add Value Constraint

Page 92: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 92

ESA UNCLASSIFIED – For Official Use

Precedence Constraint Posting

1. Variables: a. start and end times of each activity

2. Domains a. A schedule horizon [0, H]

3. Constraints a. Temporal constraints (e.g., duration of activities, min-max

separation between activities, simple precedences) b. Resource constraints (e.g., bounds on capacities)

time

resource

Temporal constraint propagation

Resource profile analysis

Temporally flexible solution

Precedence constraint

Page 93: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 93

ESA UNCLASSIFIED – For Official Use

State Variable Scheduling

Surely not overlapping - No action

Surely overlapping - Evaluate intersection

Could overlap start or end - Propagation

Both feasible orderings - Scheduling (Search)

{a,b}

{c,d}

!

{a,b}

{c,d}

{a,b}

{c,d}

{a,b}

{c,d}

{a,b}

{c,d}

{a,b}

{c,d}

OR

Page 94: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 94

ESA UNCLASSIFIED – For Official Use

Example

1. The Problem:

2. The Timelines:

a. ESTA

b. LSTA

5

?q_c = 4

?q in [0,10]

0 500

0 500

1

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[10, 15]

[10, 15]

[10, 15]

9 ?q + 9

2 1

?q + 4

10

?q

11 12

0

0 500

1 9 ?q + 9

490 489

?q + 4

498

?q

499 488

0

Page 95: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 95

ESA UNCLASSIFIED – For Official Use

Example

c. The Flexible Timeline:

5 0 ?q_10 ?q_9 ?q_8 9 0

Time-Flexible Timeline: ReusableResource.Timeline #7 – FLEXIBLE

TPId Start [lb,ub] Duration [lb,ub] Value Decisions

-------------------------------------------------------------------------------------------------------------------------------

[0] [00:00:00,00:00:00] [00:00:00,00:08:08] (O) 0

[3] [00:00:00,00:08:08] [00:00:01,00:00:13] 5 <[0,3]>

[6] [00:00:01,00:08:09] [00:00:01,00:00:13] 9 <[0,3],[1,3]>

[9] [00:00:02,00:08:10] [00:00:01,00:00:13] ?q_8 <[0,3],[1,3],[2,3]>

[4] [00:00:10,00:08:18] [00:00:01,00:00:13] ?q_9 <[1,3],[2,3]>

[7] [00:00:11,00:08:19] [00:00:01,00:00:13] ?q_10 <[2,3]>

[10] [00:00:12,00:08:20] [00:00:00,00:08:08] (O) 0

[1] [00:08:20,00:08:20]

Optional Optional

?q_8=?q + ?q_c+5

?q_9 = ?q + ?q_c

?q_10 = ?q

[0,3] = 5;

[1,3] = ?q_c = 4;

[2,3] = ?q in [1,10]

[00:00:02,00:08:10]

[00:00:01,00:00:13]

Page 96: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 96

ESA UNCLASSIFIED – For Official Use

Example

3. The Envelopes of Profiles:

a. LSTA:

0 500

5 9 ?q + 9

489

?q + 4

498

?q

499 488

0

0 500 489 498 499 488

5 9

10

14

19

490

4

Page 97: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 97

ESA UNCLASSIFIED – For Official Use

Example

4. Reasoning on Timelines (Problem Solving):

0 500

1 9 ?q + 9

2 1

?q + 4

10

?q

11 12

0

0 500

1 9 ?q + 9

489

?q + 4

498

?q

499

0

Max_Cap = 10 ?q+9 ≤ 10

?q+4 ≤ 10

?q ≤ 10

?q in [0,1]

Page 98: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 98

ESA UNCLASSIFIED – For Official Use

Example

5

?q_c = 4

?q in [0,10]

0 500

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[10, 15]

[10, 15]

[10, 15]

5

?q_c = 4

?q in [0,10]

0 500

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[1, ∞]

[10, 15]

[10, 15]

[10, 15]

?q ≤ 1

Problem

Solution

Page 99: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 99

ESA UNCLASSIFIED – For Official Use

One more example

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

Drive(rk1,rk2) At(rk1) At(rk2)

Place(rk2) Unstow Stow Stowed TakeImage(rk2)

t

0

CoolDown Tracking TakePicture(rk1) Heat TakePict(rk2)

Transmit Off Transmit

Courtesy of S. Bernardini

Page 100: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 100

ESA UNCLASSIFIED – For Official Use

MicroscopicImager::TakeImage{

}

class MicroscopicImager{ predicate TakeImage{ Rock rock; eq(duration, [1,10]);}; predicate Stow{ eq(duration, [2,6]);}; predicate Unstow{ eq(duration, [2,6]);}; predicate Place{ Rock rock; eq(duration, [3,12]);}; predicate Stowed;}

Microscopic Imager

Place(rk2) Stow TakeImage(rk2)

Mobility System

At(rk2)

contained_by(MobilitySystem.At _at) eq(_at.rock, rock);

bool another_image; if (another_image == true) meets(Place _pl); if (another_image == false) meets(Stow _st);

met_by(Place _pl); eq(_pl.rock, rock);

The NDDL Language

Courtesy of S. Bernardini

Page 101: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 101

ESA UNCLASSIFIED – For Official Use

Planning Problem

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rk2)

TakeImage(rk2)

TakePicture(rk2) Off Off

Stowed

At(rk1)

Stowed

Off

Courtesy of S. Bernardini

Page 102: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 102

ESA UNCLASSIFIED – For Official Use

Solution Plan

t

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

0 H

At(rk2)

TakeImage(rk2)

TakePicture(rk2) Off

Stowed

Off

At(rk1)

Stowed

Off

Courtesy of S. Bernardini

Page 103: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 103

ESA UNCLASSIFIED – For Official Use

Solution Plan

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rk1)

TakeImage(rk2)

TakePicture(rk2)

Stowed Stowed

Off

Place(rk2) Stow Unstow

Transmit Off

Heat CoolDown

Drive(rk1,rk2) At(rk2)

Off

Off

Courtesy of S. Bernardini

Page 104: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 104

ESA UNCLASSIFIED – For Official Use

Open Condition Flaws

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rock1) At(rock2)

Stowed

TakePicture(rk2)

Off

Off Off

Stow TakeImage(rk2) ?

MicroscopicImager::TakeImage{ met_by(Place _pl); meets(Stow _st);… }

?

Courtesy of S. Bernardini

Page 105: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 105

ESA UNCLASSIFIED – For Official Use

Open Condition Resolvers

Place(rk2)

MicroscopicImager::TakeImage{ met_by(Place _pl); meets(Stow _st);… }

Activation:

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0

At(rock1) At(rock2)

Stowed TakeImage(rk2)

TakePicture(rk2)

Off

Off Off

Stow

tend(TakeImage) = tstart(Stow)

Stow

Merging:

Courtesy of S. Bernardini

Page 106: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 106

ESA UNCLASSIFIED – For Official Use

Ordering Flaws

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rock1) At(rock2)

Stowed TakeImage(rk2)

TakePicture(rk2)

Off

Off Off

MicroscopicImager::TakeImage{ after(PanCam.TakePict _tp); eq(_tp.rock, rock); … }

?

Heat

Courtesy of S. Bernardini

Page 107: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 107

ESA UNCLASSIFIED – For Official Use

Ordering Flaw Resolvers

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rock1) At(rock2)

Stowed TakeImage(rk2)

TakePicture(rk2)

Off

Off Off

MicroscopicImager::TakeImage{ after(PanCam.TakePict _tp); eq(_tp.rock, rock); … }

Heat TakePicture(rk2)

TakePicture(rk2)

tstart(TakePicture) ≥ tend(Heat)

Courtesy of S. Bernardini

Page 108: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 108

ESA UNCLASSIFIED – For Official Use

Unbound Variable Flaws

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rock1) At(rock2)

Stowed TakeImage(rk2)

TakePicture(rk2)

Off

Off Off

MicroscopicImager::TakeImage{ bool another_image; if (another_image == true) meets(Place _pl); if (another_image == false) meets(Stow _st);}

another_image == {true, false} ?

Courtesy of S. Bernardini

Page 109: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 109

ESA UNCLASSIFIED – For Official Use

Unbound Variable Resolvers

Panoramic Camera

Microscopic Imager

Mobility System

Communication System

t

0 H

At(rock1) At(rock2)

Stowed TakeImage(rk2)

TakePicture(rk2)

Off

Off Off

another_image = true

MicroscopicImager::TakeImage{ bool another_image; if (another_image == true) meets(Place _pl); if (another_image == false) meets(Stow _st);}

meets(Place _pl);

Courtesy of S. Bernardini

Page 110: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 110

ESA UNCLASSIFIED – For Official Use

Search algorithm

Select a flaw Flaws?

Select resolver

Apply resolver

Undo resolver

Backtrack

Resolvers?

Network

Consistent

?

Backtrack?

f

yes

r

yes

no

Search

exhausted

yes

no

no

Plan

found

no

yes

Depth-first search with chronological backtracking

Flaw Selection

Flaw Resolution

Page 111: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 111

ESA UNCLASSIFIED – For Official Use

ARCHITECTURES

Page 112: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 112

ESA UNCLASSIFIED – For Official Use

Section Summary

1. A generic architecture for timeline PSE (Planning, Scheduling and

Execution)

2. Examples of real architectures (On Ground Segment)

a. HSTS (since 1990) – NASA

b. MAPGEN – NASA/JPL (2004)

c. Mexar 2(2005), Raxem (2006) - ESA

d. APSI Framework (2007), MrSpock, AIMS, XMAS - ESA

3. Examples of real architectures (On Board Segment)

a. Remote Agent (1999) - NASA

b. ASE, EO-1 (2003) – NASA/JPL

c. GOAC – Goal Oriented Autonomous Controller (2011) - ESA

Page 113: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 113

ESA UNCLASSIFIED – For Official Use

Planner

A Generic Architecture

Goals IC

Domain Model

Plan Database

(Re)-Planning, Plan Repair Engine

Tokens, Constraints

Flaws

Temporal Network

Data Variables

[40, 110]

1

[20, 60]

[10, 60][10, 50]

t1

2

t2

3

t3

4

t4

[0, 0]

[15, 55]

[10, 70]75

t5

[10, 50]

*reference-point*

6

t6

t7

[15, 45]

[45, 175][35, 105][15, 45]

[60, 100]

[95, 165]

[56, 110]

[71, 109][72, 108]

[126, 164][127, 163]

[11, 49][12, 48]

[66, 104][67, 103]

Timeline Mngt

Engine

Timeline Analysis Engine

KB (model)

Search Engine

Flaw Resolver Engine

Heuristics

Page 114: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 114

ESA UNCLASSIFIED – For Official Use

HSTS

Hubble Space Telescope Scheduler

NASA - 1990

Page 115: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 115

ESA UNCLASSIFIED – For Official Use

HSTS: Hubble Space Telescope Scheduler

1. Large set of targets and images

a. Hundreds of proposals

b. Thousands of targets

c. Tens of thousands of images

2. Constraints on imaging activities:

a. Visibility of targets

b. Keep out areas (sun, moon, ground, etc.)

c. Timing, setup constraints, etc.

3. Long term planning and plan updates

a. Must permit analysis, changes, re-planning

4. Impractical and suboptimal to use humans

Thanks to Ari K. Jónsson, Reykjavík University

Page 116: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 116

ESA UNCLASSIFIED – For Official Use

Technology - Spike (STSCI)

1. Hierarchical Request Scheduling

a. Automated optimization search

– Constraint-based scheduling + variety of heuristics

b. Suitability Functions - constraints and preferences

c. Plan windows – long-range and short-range

2. Capabilities provided

a. Automated observation plan generation

b. Toolkit for integration and visualization

3. Impact

a. In use for HST scheduling since 1990

b. Multiple missions have used Spike

Thanks to Ari K. Jónsson, Reykjavík University

Page 117: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 117

ESA UNCLASSIFIED – For Official Use

MAPGEN

Mixed Initiative Activity Planning Generator

NASA - 2003

Page 118: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 118

ESA UNCLASSIFIED – For Official Use

Mars Exploration Rover (MER)

Page 119: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 119

ESA UNCLASSIFIED – For Official Use

MER Operations

Daily mission control cycle

Receive rover status and science data

Science and engineering analysis

Science team generates requests

Build plan from science and engineering requests

Approve activity plan

Turn plan into command sequences

Validate and approve sequence

Uplink to rover

Time allowed

18 hours for whole cycle

1-2 hours for building and approving new plan

Thanks to Ari K. Jónsson, Reykjavík University

Page 120: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 120

ESA UNCLASSIFIED – For Official Use

Technology – MAPGEN (NASA)

Mixed-initiative Activity Plan Generator

MAPGEN: Existing JPL activity plan editor

EUROPA planning engine from Ames Res. Ctr.

Capabilities provided

Active constraint rule enforcement

Levels of automated planning

Safe plan editing (moves, swaps, changes)

Automated activity generation

Impact

Nominal mission: 15-40% increase in science data

Still in use today (but less critical)

Thanks to Ari K. Jónsson, Reykjavík University

Page 121: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 121

ESA UNCLASSIFIED – For Official Use

Underlying AI Technology

EUROPA

General framework for planning and scheduling

Timelines-based plan representation

Complex constraints and resources

Dynamic constraint reasoning (incl. temporal)

EUROPA in MAPGEN

Representation of plan and constraints

Active enforcement of plan constraints

Passive flagging of resource violations

Levels of automated planning and plan completion

Temporal reasoning used in Constraint Editor

Thanks to Ari K. Jónsson, Reykjavík University

Page 122: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 122

ESA UNCLASSIFIED – For Official Use

Role of User Interface in MAPGEN

Page 123: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 123

ESA UNCLASSIFIED – For Official Use

Mexar 2 - Raxem

Mars Express Memory Dumping and Command Uplink

ESA – 2005, 2007

Page 124: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 124

ESA UNCLASSIFIED – For Official Use

The Mars Express (MEX) mission

1. Launched on June 2003

2. The space probe is currently

orbiting around Mars

3. Seven scientific payloads which

collect data to study the

Martian atmosphere and the

planet's structure and geology

4. 2-3 Gb of data generated on

daily basis

Page 125: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 125

ESA UNCLASSIFIED – For Official Use

Relevant MEX sub systems

Page 126: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 126

ESA UNCLASSIFIED – For Official Use

Payloads

Spacecraft

TM (Science + Housekeeping)

TM Router

Packet Stores

SSMM

Science C Science B Science A Housekeeping

Communication Channel

Limited capacity

Limited bandwidth

Non visibility windows

Earth

The MEX-Memory Dumping Problem

Page 127: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 127

ESA UNCLASSIFIED – For Official Use

Payloads

Spacecraft

TM (Science + Housekeeping)

TM Router

Packet Stores

SSMM

Science C Science B Science A Housekeeping

Communication Channel Earth

Goal: avoid overwriting

The MEX-Memory Dumping Problem

Page 128: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 128

ESA UNCLASSIFIED – For Official Use

A Timeline-Based Model

1. For each packet store (and the communication channel) we define a different timeline

2. The temporal horizon is subdivided in contiguous time intervals such that instantaneous memory operations can happen only at the edges

3. Decision variables (flow values) represent the volume of data dumped within each interval

4. Two types of constraints:

a. the ones imposed by the channel bandwidth and

b. the ones by the packet stores capacity

pks1

pks2

pks3

pks4

pks5

pks6

channel

p

acket s

tore

capacity

channel bandwidth

time

Page 129: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 129

ESA UNCLASSIFIED – For Official Use

Core Algorithm

1. Based on max-flow a. Complete algorithm: the dumping problem has a solution iff the

maximal flow over the problem horizon is equal to total data stored b. Low polynomial cost: best known O(n2.5)

2. Housekeeping needs daily download

a. Backtracking search to accommodate it before planning for science data

3. Additional Features: a. Guaranteeing continuity among adjacent planning intervals

(management of residual memory store) b. Always generate a solution (relaxation) c. Improve configurability d. Allowing mission planners to specify single input events e. Control solution length f. Serve priority policy

4. For most of these features the “AI Model-Based” approach has helped

tremendously

Page 130: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 130

ESA UNCLASSIFIED – For Official Use

Parsing

Out Generation

Domain model Solver

Interaction module

Evaluation: “The days before MEXAR2 are long gone and sometimes is hard to remember all the little details that made life miserable”

E. Rabenau (Mars-Express Planning Group)

Final architecture: end-to-end cycle

Page 131: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 131

ESA UNCLASSIFIED – For Official Use

APSI, MrSpock

Advanced Planning and Scheduling Initiative

MarsExpress Science Planning Opportunities Coordination Kit

ESA – 2009

Page 132: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 132

ESA UNCLASSIFIED – For Official Use

APSI & APSI-Related Activities

1. Long Term Goal: to introduce in ESA the timeline-based approach going from applications designed and deployed on purpose to model-driven, domain independent based P&S.

2. Methodological approach: build a stable layer for rapid prototyping and robust design of timeline based planning and scheduling experiments and deployed applications.

3. APSI Project Goals:

a. to facilitate deployment and operational validation of an AI approach for planning & scheduling, designing a plug-in architecture and re-usable functional modules

b. Bridging the gap between advanced AI P&S techniques and ESA’s mission planning environments

Page 133: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 133

ESA UNCLASSIFIED – For Official Use

APSI & APSI-Related Activities

1. Long Term Goal: to introduce in ESA the timeline-based approach

going from applications designed and deployed on purpose to model-

driven, domain independent based P&S.

2. Methodological approach: build a stable layer for rapid

prototyping and robust design of timeline based planning and

scheduling experiments and deployed applications.

3. APSI Project Goals:

a. to facilitate deployment and operational validation of an AI

approach for planning & scheduling, designing a plug-in

architecture and re-usable functional modules

b. Bridging the gap between advanced AI P&S techniques and

ESA’s mission planning environments

Page 134: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 134

ESA UNCLASSIFIED – For Official Use

MEXAR MEXAR2 RAXEM

Product Driven Design and Development Process Driven Approach to Application

Design and Development

Timeline of planning tools development for ESA

APSI TRF MrSPOCK

2000 2008 2007 2010

GOAC RAXEM2

From Product to Process Driven

Page 135: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 135

ESA UNCLASSIFIED – For Official Use

The ESA APSI Framework Timeline

Page 136: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 136

ESA UNCLASSIFIED – For Official Use

The Framework

Why a Framework?

2000 2009

Mexar

Mexar2

Raxem

APSI

Mr SPOCK

Applications built from scratch

AIMS

XMM GOAC 2011

2007

Framework Design &

Implementation

Applications built On top of the Framework

Model

Design

Implementation

Test Temporal Reasoning

Timeline Representation

Problem Solving

Problem Representation

HCI

Temporal Reasoning Data Reasoning

Timeline Representation

Problem Representation

P&S Problem Solving Timeline Based HCI

User Tailored Interaction Front End

Application Specific Problem Solving & Optimization

Timeline-Based P&S Problem

Model

Page 137: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 137

ESA UNCLASSIFIED – For Official Use

Timeline Representation Framework Specific

Application P

roble

m

End U

sers

for

Specific

Application

TRF Representation Layers

Problem Solving

User Interaction

Know

ledge E

ngin

eering

for

Application S

upport

MrSPOCK

Mars Express Long Term Planning

APSI-TRF Timeline Representation Framework

XMAS

XMM-Newton Adv Mission Scheduler

AIMS

APSI Integral Mission

Scheduler

Page 138: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 138

ESA UNCLASSIFIED – For Official Use

ESA-APSI Framework Architecture

Timeline Based

Modeling Engine

& Planning/Scheduling

General Services Platform

Domain

Description

Language

Platform

Timeline

Description

Language

Current Plan

Tim

eline

Execution

Serv

ices

Platform Timeline

Representation APIs

Platform Visualization

Tools APIs

Pla

tfo

rm A

PIs

Fo

r E

xecu

tio

n

Execu

tor

HCI & MI Services

KE E

nvi

ronm

ent

Problem Solving

V&V Tools

Page 139: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 139

ESA UNCLASSIFIED – For Official Use

PI

Science Team Mission Planning Team

Payload request

Payload request

Plan refinements

LTP Long Term

Plan

Integration of: • Ground station availability • Uplink activities • Spacecraft maintenance • Downlink activities • Science at pericentres

MTP Medium Term Plan

STP Short Term Plan

PI

MrSPOCK

MarsExpress Science Planning Opportunities Coordination Kit

Page 140: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 140

ESA UNCLASSIFIED – For Official Use

MEX-LTP: The Long Term Planning Problem

1. Generate a pre-optimized skeleton plan for Mars Express Long Term Planning

2. Aims:

a. Minimize the iterations between Science Team and Mission Planning Team, taking into account a very detailed scenario and several co-existing constraints

b. Provide the ability to explore the solution space according to different optimization functions

– maximize planned science – maximize total UpLink/DownLink (UL/DL) time

Page 141: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 141

ESA UNCLASSIFIED – For Official Use

MEX-LTP: Critical points

1. Produce the target timeline whose slots (temporal intervals) contain:

a. 1 4h uplink slot every 24h (alternative pattern : 2h/12h) b. 1 maintenance slot every 2 to 5 orbits (parametric) c. science and communication slots as much as possible

2. Problems for the solver side:

a. Science requires Mars pointing, Communication requires Earth pointing

b. Allocated Maintenance and Science must be synchronized with orbits pericenters and apocenters

c. Communications must be scheduled against station visibilities d. Ground stations availabilities can overlap

3. Important problems for the users:

a. Problem size is relevant (3 months of temporal horizon required) b. Mission is in its final phase so the following should be taken into

account: – current practice is consolidated in terms of shape of solutions

==> “I would like to see the solution type I’m used to” – but, at the same time, users would like to just “push a button

and have it all done”

Page 142: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 142

ESA UNCLASSIFIED – For Official Use

Correct mode transitions on the Timeline to be planned Synchronizations with pre-

defined Mission information

Earth

[1,+INF]

Comm

[60,+INF]

Mainten

[90,90]Slew

[30,30]

Science

[36,68]

Earth

[1,+INF]

Comm

[60,+INF]

Mainten

[90,90]Slew

[30,30]

Science

[36,68]

Earth

[1,+INF]

Comm

[60,+INF]

Mainten

[90,90]Slew

[30,30]

Science

[36,68]

Timeline-based Problem Modeling

Page 143: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 143

ESA UNCLASSIFIED – For Official Use

APSI-TRF Based Approach

APSI TRF

Application Domain

Synchronizations Among Pointing

Modes, Orbit events and

Ground station visibilities

ESA files Parsers

Orbit events Ground Stations

Visibilities

Genetic Algorithm

Partially Ordered Set Of Science,

Maintenance And Comm

Slots

Pointing Tl

Station de-overl Timeline

ESA files Generator

Pointing Timeline

MAPO/MEFS File

DD

L3

Page 144: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 144

ESA UNCLASSIFIED – For Official Use

NNO

CEB

MAD

Orbit

Events

S/C

Available

(94100,ul_dl,34m)

Available

(114200,dl,70m)

Available

(152300,ul_dl,704m)

Available

(57100,dl,34m)

Available

(94100,dl,34m)

Available

(76100,ul_dl,34m)

APO PERI APO PERI

Flight Dynamics

Station visibility windows

Planning Science/Mn Allocation

Choosing Comm Wn and Station Deoverlaping

Plan Completion

Solution Extraction

Science Mn

Science Comm

Comm

Comm

Sl Sl Sl

Problem Solving

Page 145: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 145

ESA UNCLASSIFIED – For Official Use

NNO

CEB

MAD

Orbit

Events

S/C

Problem Solving

Available

(94100,ul_dl,34m)

Available

(114200,dl,70m)

Available

(152300,ul_dl,704m)

Available

(57100,dl,34m)

Available

(94100,dl,34m)

Available

(76100,ul_dl,34m)

APO PERI APO PERI

Flight Dinamic

Station visibility windows

Planning Science/Mn Allocation

Choosing Comm Wn and Station Deoverlaping

Plan Completion

Solution Extraction

Science Mn Science Comm Comm Comm Sl Sl Sl

Page 146: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 146

ESA UNCLASSIFIED – For Official Use

Solving Algorithm [Cesta&al08]

Chromosome

P&S Problem Generation

Synchronize/ Schedule

Measurements AP

SI

AP

PLIC

ATIO

N

SP

EC

IFIC

A genetic optimization is performed over an initial set of chromosomes which represents a pattern of science and maintenance allocation slots. This pattern fulfills the requirement of 1 maintenance slot every 2/5 orbits.

We build a network of time-flexible P&S problem containing: • 1 4h uplink slot every 24h (or 2h/12h) • Science and Maintenance slots (driven by chromosomes)

Allocated Maintenance and Science are synchronized with pericenters and apocenters, communications are scheduled over station visibilities using the domain independent architecture’s capabilities.

Measures (for fitness evaluation): • Max # pericentres available for science • Max total UL/DL time

Page 147: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 147

ESA UNCLASSIFIED – For Official Use

Remarks on MrSpock

1. The choice of focusing the interaction on the concept of timelines which evolve over time has been successful

2. Temporal representation for the timeline is very close to the way of taking decision in space contexts

3. Users‟ involvement in problem solving has been fostered:

a. users wants to be relieved by hard work, b. users also want solutions according to their preferences

and expectations

4. Alternative solutions are greatly appreciated, as well as the instruments to evaluate them

5. Need for tools/functionalities that enable easy modeling of problems (underlying knowledge representation problem)

Page 148: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 148

ESA UNCLASSIFIED – For Official Use

Timeline view for the

alternative solutions and

comparison

User Interaction in MrSPOCK

Page 149: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 149

ESA UNCLASSIFIED – For Official Use

User Interaction in Mr SPOCK

Connection with the existing legacy of the mission planning

at ESA has been preserved by allowing users to generate

the required output files (MEFs and MAPO files)

Page 150: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 150

ESA UNCLASSIFIED – For Official Use

RAX-PS

Remote Agent Experiment

NASA – 1999

Page 151: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 151

ESA UNCLASSIFIED – For Official Use

REMOTE AGENT

EXPERIMENT

http://rax.arc.nasa.gov

Remote Agent Experiment

K. Rajan – Presentation @ ESA – Paris, Sept. 2000

Page 152: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 152

ESA UNCLASSIFIED – For Official Use

Deep Space 1 Spacecraft

K. Rajan – Presentation @ ESA – Paris, Sept. 2000

Page 153: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 153

ESA UNCLASSIFIED – For Official Use

Deep Space 1 Mission

1. Remote Agent Experiment

May 17-21, 1999

2. DS1: First New Millennium

mission

3. 12 new technologies

- Ion Propulsion System (IPS)

- On-board optical navigation

- Beacon experiment, ...

4. Fly-by of asteroid (July 01)

5. Remote Agent on DS1 wins NASA’s 1999 Software of the Year

K. Rajan – Presentation @ ESA – Paris, Sept. 2000

Page 154: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 154

ESA UNCLASSIFIED – For Official Use

The RAX Experiment

1. The Remote Agent RAX controller, developed at NASA-AMES research

lab took control of the space-ship DeepSpace-1 as a test of AI’s ability

to provide autonomous control.

2. RAX combines:

a. space-system monitoring and sensing

b. automatic, onboard planning,

c. execution monitoring,

d. fault diagnosis, and

e. re-planning

in an integrated system.

Page 155: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 155

ESA UNCLASSIFIED – For Official Use

Real-Time Execution

Flight H/W Fault

Monitors

Planning Experts (incl. Navigation)

Ground System

RAX Manager

Mode ID and

Reconfig

Mission Manager

Smart Executive

Planner/ Schedule

r

Remote Agent

Remote Agent Experiment: Architecture

K. Rajan – Presentation @ ESA – Paris, Sept. 2000

Page 156: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 156

ESA UNCLASSIFIED – For Official Use

ASE / EO-1

Autonomous Science Experiment

Earth Obersving-1

NASA/JPL – 2003

Page 157: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 157

ESA UNCLASSIFIED – For Official Use

Autonomous Science Experiment (ASE)

1. Scope:

a. Control of primary activities

b. Management of schedule

c. On-board data analysis

2. Technology:

a. Planning and re-planning

b. Automated data analysis

3. Successfully in operations:

a. Operating onboard the Earth Observing-1 mission since 2003

b. Transitioned to baseline and still operating

c. Relevant example of mission cost reduction

Page 158: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 158

ESA UNCLASSIFIED – For Official Use

ASE Architecture

Past Operations Flow Current Operations Flow

[G. Rabideau, D. Tran, S. Chien, B. Cichy, R. Sherwood, D. Mandel, S. Frye, S. Shulman, J. Szwaxzkowski, D. Boyer, J. Van Gassbeck, IEEE International Conference on Space Mission Challenges for Information Technology. Pasadena, CA. July 2006]

Page 159: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 159

ESA UNCLASSIFIED – For Official Use

GOAC

Goal Oriented Autonomous Controller

ESA – 2011

Page 160: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 160

ESA UNCLASSIFIED – For Official Use

The Project

1. Objective: : A 2 years ESA study (2009-2011) to design and test robust onboard goal-

oriented autonomous* software. The Goal Oriented Autonomous Controller (GOAC) is

designed to generate plans in-situ, to deterministically dispatch activities for execution and to recover from off-nominal conditions.

2. Approach: The project aims at using state-of-the-art technologies deployed by different research centers to build a control architecture suitable for challenging real-world scenarios at ESA. Goal is to integrate recent AI and robotics research to cope with challenging requirements from space.

3. Support: The ESA P&S Architecture supports the GOAC architecture providing fast planning and re-planning capabilities, plan dispatch and plan execution monitoring

4. Partners:

5. Project: ESA-ESTEC ITTAO/1-5961/08/NL/RA

(*) Autonomy in this context is defined as “the ability to react to a wide variety of situations and circumstances, either nominal and exceptional, without the need of human supervision”

Page 161: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 161

ESA UNCLASSIFIED – For Official Use 27/10/2011

• An executing agent to control the synchronization and interaction of multiple control loops based on the sense-plan-act paradigm

• A set of APSI-Based deliberative reactors, implementing the sense-plan-act paradigm as a P&S problem with timelines

• A functional layer to connect the architecture to HW platforms [F. Py, K. Rajan, and C. McGann. A systematic

agent framework for situated autonomous systems. In AAMAS,, 2010.]

Approach

Page 162: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 162

ESA UNCLASSIFIED – For Official Use

Conceptual Architecture

Executing Agent

Functional Layer

Dispatching Services

Execution Feedback

Deliberative Layer

T-REX

Tele Commands

Telemetry

Page 163: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 163

ESA UNCLASSIFIED – For Official Use

Deliberative Layer - Implementation

Page 164: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 164

ESA UNCLASSIFIED – For Official Use

Initial Conditions

MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

Idle()

Page 165: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 165

ESA UNCLASSIFIED – For Official Use

Execution…

MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

CamIdle()

At(0,0)

PointingAt(0,0)

CommIdle()

Idle()

Page 166: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 166

ESA UNCLASSIFIED – For Official Use

Execution…

MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

CamIdle()

At(0,0)

PointingAt(0,0)

CommIdle()

Idle()

Page 167: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 167

ESA UNCLASSIFIED – For Official Use

A goal coming in…

MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

CamIdle()

At(0,0)

PointingAt(0,0)

CommIdle()

Idle()

TakingPicture(2,3,-35,-45,”pic1”)

Page 168: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 168

ESA UNCLASSIFIED – For Official Use

Planning…

Idle MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

Comm Idle()

Cam Idle()

At(0,0)

Pointing At(0,0)

TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Dump(“pic1”)

Page 169: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 169

ESA UNCLASSIFIED – For Official Use

Planning…

Idle MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

Comm Idle()

Cam Idle()

At(0,0)

Pointing At(0,0)

TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Dump(“pic1”)

At(2,3)

PointingAt (-35,-45)

Page 170: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 170

ESA UNCLASSIFIED – For Official Use

Planning…

Idle MT

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

Comm Idle()

Cam Idle()

At(0,0)

Pointing At(0,0)

TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Dump(“pic1”)

At(2,3)

PointingAt (-35,-45)

Page 171: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 171

ESA UNCLASSIFIED – For Official Use

Dispatching and Executing…

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle

At(2,3)

CamIdle()

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (9) (9)

Page 172: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 172

ESA UNCLASSIFIED – For Official Use

Executing…

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle

At(2,3)

CamIdle()

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (9) (9)

Page 173: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 173

ESA UNCLASSIFIED – For Official Use

Synchronize…

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle

At(2,3)

CamIdle()

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (9) (9)

Page 174: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 174

ESA UNCLASSIFIED – For Official Use

Synchronize…

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle

At(2,3)

CamIdle()

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (9) (9)

Page 175: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 175

ESA UNCLASSIFIED – For Official Use

Synchronize and Plan…

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle

At(2,3)

CamIdle()

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (9) (9)

Goto (0,0)

Page 176: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 176

ESA UNCLASSIFIED – For Official Use

Executing

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

(1)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle Goto (0,0)

Idle

At(0,0) Goto(0,0)

PointingAt(0,0) MovingTo

(0,0)

At(2,3)

CamIdle()

(1)

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (8)

(7)

(9) (9)

Page 177: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 177

ESA UNCLASSIFIED – For Official Use

Failure!

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

(1)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle Goto (0,0)

Idle

At(0,0) Goto(0,0)

PointingAt(0,0) MovingTo

(0,0)

At(2,3)

CamIdle()

(1)

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (8)

(7)

(9) (9)

Stuck()

Page 178: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 178

ESA UNCLASSIFIED – For Official Use

Recall!

Dump(“pic1”) commIdle()

Idle

CamIdle()

At(0,0)

MT TakingPicture(2,3,-35,-45,”pic1”)

TakePic (“pic1”)

Goto(2,3)

(1)

PointingAt(0,0)

NotVisible()

COMM

MovingTo (-35,-45)

PointingAt (-35,-45)

commIdle()

Visible() NotVisible()

CAM

MS

PTU

VW

Idle Goto (0,0)

Idle

At(0,0) Goto(0,0)

PointingAt(0,0) MovingTo

(0,0)

At(2,3)

CamIdle()

(1)

(3) (3) (4)

(4)

(5)

(6) (6)

(8) (8)

(7)

(9) (9)

Stuck()

Page 179: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 179

ESA UNCLASSIFIED – For Official Use

Current Status

commIdle()

Idle

CamIdle()

At(0,0)

MT

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

(9) (9)

Stuck

MovingTo(-35,-45)

TakingPicture(2,3,-35,-45,”pic1”)

Page 180: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 180

ESA UNCLASSIFIED – For Official Use

Re-Planning

commIdle()

Idle

CamIdle()

At(0,0)

MT

Goto(2,3)

PointingAt(0,0)

NotVisible()

COMM

Visible() NotVisible()

CAM

MS

PTU

VW

(9) (9)

Stuck

MovingTo(-35,-45)

TakingPicture(2,3,-35,-45,”pic1”) Goal1 Goal2

Page 181: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 181

ESA UNCLASSIFIED – For Official Use

CASE STUDY 1 - Scenario

Page 182: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 182

ESA UNCLASSIFIED – For Official Use

CASE STUDY 2 – 3DROV

Slide from GMV

Page 183: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 183

ESA UNCLASSIFIED – For Official Use

References

• General References on CSP • Montanari, U. (1974). Networks of Constraints: Fundamental Properties

and Applications to Picture Processing. Information Sciences, 7 , 95–132.

• Dechter, R., Meiri, I., Pearl, J., Temporal constraint networks. Artificial Intelligence 49 (1991) 61–95

• Dynamic temporal networks

• Cesta, A., Oddi, A., Gaining Efficiency and Flexibility in the Simple Temporal Problem, in L. Chittaro, S. Goodwin, H. Hamilton, A.Montanari, Proc. 3rd Int. Workshop on Temporal Representation and Reasoning (TIME-96), Key West, FL, May 19-20, 1996, IEEE Computer Society Press:May 1996

• Cesta A. and Oddi, A. “Algorithms for Dynamic Management of Temporal Constraints Networks”. Technical Reports 2001.

• Boris V. Cherkassky, Andrew V. Goldberg, Negative-Cycle Detection Algorithms, European Symposium on Algorithms, 1996

• Demetrescu C, Emiliozzi S., Italiano G. F., Experimental analysis of dynamic all pairs shortest path algorithms, SODA 2004: 369-378

• A. Oddi and A.Cesta. Incremental Forward Checking for the Disjunctive Temporal Problem. W.Horn (Ed.): ECAI 2000. Proceedings of the 14th European Conference on Artificial Intelligence, IOS Press: Amsterdam, 2000, pp. 108-112.

Page 184: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 184

ESA UNCLASSIFIED – For Official Use

References

• Planning, Scheduling & Execution with Timelines • Muscettola, N. 1994. HSTS: Integrating Planning and Scheduling. In Zweben, M. and Fox, M.S., ed.,

Intelligent Scheduling. Morgan Kauffmann. • Frank, J., and Jonsson, A. 2003. Constraint-based attribute and interval planning. Constraints

8(4):339–364. • A. Cesta, S. Fratini and A. Oddi. Planning with Concurrency, Time and Resources: A CSP-Based

Approach. In I. Vlahavas, D. Vrakas (Eds.), "Intelligent Techniques for Planning", Idea Group Publishing, pp. 259-295, 2005

• Fratini, S., Pecora, F., and Cesta, A. Unifying Planning and scheduling as Timelines in a Component-Based Perspective. In Archives of Control Sciences, 18(2):231-271, 2008

• Cédric Pralet, Gérard Verfaillie: Using Constraint Networks on Timelines to Model and Solve Planning and Scheduling Problems. ICAPS 2008: 272-279

• Cesta, A., and Fratini, S. The Timeline Representation Framework as a Planning and Scheduling Software Development Environment, In PlanSIG-08. Proceedings of the 27th Workshop of the UK Planning and Scheduling Special Interest Group, Edinburgh, UK, December, 2008.

• Fratini, S.; Pecora, F.; and Cesta, A. 2008. Unifying Planning and Scheduling as Timelines in a Component-Based Perspective. Archives of Control Sciences 18(2):231–271

• Verfaillie, G.; Pralet, C.; and Lematre, M. 2010. How to model planning and scheduling problems using constraint networks on timelines. Knowledge Eng. Review 25(3):319–336

• Fratini, S., Cesta, A. De Benedictis, R., Orlandini, A., and Rasconi, R. APSI-Based Deliberation in Goal Oriente Autonomous Controllers. In ASTRA-11. Proceedings of the 11th Workshop on Advanced Space Technologies for Robotics and Automation, ESA-ESTEC, April, 2011

• Fratini, S., and Cesta, A. 2012. The APSI Framework: A Platform for Timeline Synthesis. In Proceedings of the 1st Workshops on Planning and Scheduling with Timelines at ICAPS-12, Atibaia, Brazil

• Frank, J. What is a Timeline? In Proceedings of the 4th Workshops on Knowledge Engineering for Planning and Scheduling at ICAPS-13, Rome, Italy

Page 185: From Scheduling to Planning with Timelines: An history of ......Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 15 ESA UNCLASSIFIED – For Official Use A Real Scenario…

Simone Fratini | ICAPS Summer School | 04/06/2013 | Slide 185

ESA UNCLASSIFIED – For Official Use

References

• Space Applications

• N. Muscettola, S.F. Smith, A. Cesta, and D. D'Aloisi. Coordinating Space Telescope Operations in an Integrated Planning and Scheduling Architecture. In IEEE Control Systems, 12(1):28-37, 1992

• Muscettola, N., Nayak, P. P., Pell, B., and Williams, B. C. (1998). Remote agent: to go boldly where no AI system has gone before. Artificial Intelligence, 103(1–2):5–48.

• S. Chien, G. Rabideau, R. Knight, R. Sherwood, B. Engelhardt, D. Mutz, T. Estlin, B. Smith, F. Fisher, T. Barrett, G. Stebbins, and D. Tran, “ASPEN - Automated Planning and Scheduling for Space Mission Operations”, In Proceedings of SpaceOps’00, 2000.

• Cesta, A., Cortellessa, G., Denis, M., Donati, A., Fratini, S., Oddi, A., Policella, N., Rabenau, E. and Schulster, J. MEXAR2: AI Solves Mission Planner Problems. IEEE Intelligent Systems, 22(4):12-19, July/August, 2007

• Cesta, A., Cortellessa, G., Fratini, S., Oddi, A. and Policella. N. An Innovative Product for Space Mission Planning -- an a posteriori evaluation. In ICAPS-07. Proceedings of the 17th International Conference on Automated Planning and Scheduling, 2007

• Cesta, A., Cortellessa, G., Fratini, S., Oddi, A. Developing an End-to-En d Planning Application from a Timeline Representation Framework, IAAI-09, 21st Innovative Application of Artificial Intelligence Conference, Pasadena, CA, July, 2009.

• Cesta, A., Cortellessa, G., Fratini, S., and Oddi, A., Bernardi, G., Deploying Interactive Mission Planning Tools – Experiences and Lessons Learned. Journal of Advanced Computational Intelligence and Intelligent Informatics. Vol.15 No.8, pp. 1149-1158, 2011

• Chien, S., Johnston, M., Frank, J., Giuliano, M., Kavelaars, A., Lenzen, C., Policella, N. A Generalized Timeline Representation, Services, and Interface for Automating Space Mission Operations. Proceedings of the 12th International Conference on Space Operations, SpaceOps 2012.