Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop,

Slides:



Advertisements
Similar presentations
Causal Delivery (Thomas) Matt Guinn CS523, Spring 2006.
Advertisements

Heuristic Search techniques
ARCHITECTURES FOR ARTIFICIAL INTELLIGENCE SYSTEMS
Design of Experiments Lecture I
Minimum Clique Partition Problem with Constrained Weight for Interval Graphs Jianping Li Department of Mathematics Yunnan University Jointed by M.X. Chen.
Overcoming Limitations of Sampling for Agrregation Queries Surajit ChaudhuriMicrosoft Research Gautam DasMicrosoft Research Mayur DatarStanford University.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
Leena Suhl University of Paderborn, Germany
Identifying, Modifying, Creating, and Removing Monitor Rules for SOC Ricardo Contreras Andrea Zisman
Fast Algorithms For Hierarchical Range Histogram Constructions
Online Scheduling with Known Arrival Times Nicholas G Hall (Ohio State University) Marc E Posner (Ohio State University) Chris N Potts (University of Southampton)
Mixed-Initiative Planning Yolanda Gil USC CS 541 Fall 2003.
Presented by: Thabet Kacem Spring Outline Contributions Introduction Proposed Approach Related Work Reconception of ADLs XTEAM Tool Chain Discussion.
CMOS Circuit Design for Minimum Dynamic Power and Highest Speed Tezaswi Raja, Dept. of ECE, Rutgers University Vishwani D. Agrawal, Dept. of ECE, Auburn.
The Rational Decision-Making Process
Feasibility, uncertainty and interpolation J. A. Rossiter (Sheffield, UK)
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 4: Modeling Decision Processes Decision Support Systems in the.
Using Interfaces to Analyze Compositionality Haiyang Zheng and Rachel Zhou EE290N Class Project Presentation Dec. 10, 2004.
CSE 830: Design and Theory of Algorithms
The community-search problem and how to plan a successful cocktail party Mauro SozioAris Gionis Max Planck Institute, Germany Yahoo! Research, Barcelona.
Jieyi Long and Seda Ogrenci Memik Dept. of EECS, Northwestern Univ. Jieyi Long and Seda Ogrenci Memik Dept. of EECS, Northwestern Univ. Automated Design.
Iterative Flattening in Cumulative Scheduling. Cumulative Scheduling Problem Set of Jobs Each job consists of a sequence of activities Each activity has.
Software Reliability Categorising and specifying the reliability of software systems.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 24 Slide 1 Critical Systems Validation 1.
Low Contention Mapping of RT Tasks onto a TilePro 64 Core Processor 1 Background Introduction = why 2 Goal 3 What 4 How 5 Experimental Result 6 Advantage.
Managing Risk. Objectives  To Describe Risk Management concepts and techniques  To calculate and analyze a project using Probability of completion 
Evaluation of software engineering. Software engineering research : Research in SE aims to achieve two main goals: 1) To increase the knowledge about.
Topic (1)Software Engineering (601321)1 Introduction Complex and large SW. SW crises Expensive HW. Custom SW. Batch execution.
Centro de Estudos e Sistemas Avançados do Recife PMBOK - Chapter 4 Project Integration Management.
Information systems and management in business Chapter 6 Using Information Systems in Management Decision Making.
© 2009 IBM Corporation 1 Improving Consolidation of Virtual Machines with Risk-aware Bandwidth Oversubscription in Compute Clouds Amir Epstein Joint work.
Investment Analysis Lecture: 10 Course Code: MBF702.
Types of IP Models All-integer linear programs Mixed integer linear programs (MILP) Binary integer linear programs, mixed or all integer: some or all of.
Problem Definition Chapter 7. Chapter Objectives Learn: –The 8 steps of experienced problem solvers –How to collect and analyze information and data.
Introduction A GENERAL MODEL OF SYSTEM OPTIMIZATION.
1 Enviromatics Environmental simulation models Environmental simulation models Вонр. проф. д-р Александар Маркоски Технички факултет – Битола 2008.
1 Reducing Queue Lock Pessimism in Multiprocessor Schedulability Analysis Yang Chang, Robert Davis and Andy Wellings Real-time Systems Research Group University.
Chapter 8 PD-Method and Local Ratio (4) Local ratio This ppt is editored from a ppt of Reuven Bar-Yehuda. Reuven Bar-Yehuda.
Carnegie Mellon Interactive Resource Management in the COMIREM Planner Stephen F. Smith, David Hildum, David Crimm Intelligent Coordination and Logistics.
Chapter 3 Project Management Chapter 3 Project Management Organising, planning and scheduling software projects.
1 Short Term Scheduling. 2  Planning horizon is short  Multiple unique jobs (tasks) with varying processing times and due dates  Multiple unique jobs.
ENGR 107: Engineering Fundamentals Lecture 4: The Engineering Design Process: The Engineering Method and Problem Solving Process C. Schaefer September.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
An Introduction to Software Engineering
ATOS Analysis of Technical & Organisational Safety for major-accident prevention Risk analysis method integrating both technical and organisational factors.
ECE 466/658: Performance Evaluation and Simulation Introduction Instructor: Christos Panayiotou.
Recommendation for English multiple-choice cloze questions based on expected test scores 2011, International Journal of Knowledge-Based and Intelligent.
Chapter 1 Introduction n Introduction: Problem Solving and Decision Making n Quantitative Analysis and Decision Making n Quantitative Analysis n Model.
7 th International Conference on Numerical Methods and Applications, August 20-24, 2010, Borovets, Bulgaria Ant Colony Optimization Approach to Tokens‘
Ch2b: Decisions &Decision Makers Decision Support Systems in the 21 st Century by George M. Marakas.
Chap 4. Project Management - Organising, planning and scheduling
Softec 2011 Kuala Lumpur, Malaysia Gary A. Gack
OPERATING SYSTEMS CS 3530 Summer 2014 Systems and Models Chapter 03.
SAFEWARE System Safety and Computers Chap18:Verification of Safety Author : Nancy G. Leveson University of Washington 1995 by Addison-Wesley Publishing.
ANALYSIS PHASE OF BUSINESS SYSTEM DEVELOPMENT METHODOLOGY.
Unit – I Presentation. Unit – 1 (Introduction to Software Project management) Definition:-  Software project management is the art and science of planning.
Data Consolidation: A Task Scheduling and Data Migration Technique for Grid Networks Author: P. Kokkinos, K. Christodoulopoulos, A. Kretsis, and E. Varvarigos.
Error Explanation with Distance Metrics Authors: Alex Groce, Sagar Chaki, Daniel Kroening, and Ofer Strichman International Journal on Software Tools for.
Urban Planning Group Implementation of a Model of Dynamic Activity- Travel Rescheduling Decisions: An Agent-Based Micro-Simulation Framework Theo Arentze,
Decision Making Although we all have experience in making decisions intuitively, it is important to examine the process of decision making in a systematic.
Chapter 8 PD-Method and Local Ratio (5) Equivalence This ppt is editored from a ppt of Reuven Bar-Yehuda. Reuven Bar-Yehuda.
Week#3 Software Quality Engineering.
Wolfgang Runte Slide University of Osnabrueck, Software Engineering Research Group Wolfgang Runte Software Engineering Research Group Institute.
OPERATING SYSTEMS CS 3502 Fall 2017
Manufacturing system design (MSD)
Dealing with Changes of Time-Aware Processes
Elastic Task Model For Adaptive Rate Control
Planning for Human-Robot Collaboration
DESIGN OF EXPERIMENTS by R. C. Baker
State University of Telecommunications
Presentation transcript:

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, 2007 Analysis of a Benchmark Generator for the Reactive Scheduling Problem Amedeo Cesta 1, Nicola Policella 2, and Riccardo Rasconi 1 1 ISTC-cnr, Institute for Cognitive Science and Technology 2 ESA/ESOC, European Space Agency

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Introduction Q8: Should the competition include benchmarks for dynamic scheduling problems, such as on-line scheduling and scheduling execution monitoring? –Reactive Scheduling Test-sets Generator (this talk) Our goal is to produce a General Framework for Project Scheduling Problems

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Project Scheduling We focus our attention on Project Scheduling Scheduling is primarily concerned with figuring out WHEN tasks/activities should be executed so that the final solution guarantees “good performance” –Management of space missions –Transportation scheduling –Production chains in a factory Different techniques have been studied by many scientific communities, such as the Artificial Intelligence, Management Science and Operations Research

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Project Scheduling Problems [RCPSP/max] t r1r1 t r2r2 resources c 2 =3 c 1 =2 resource constraints Project Activity Network temporal constraints [2, 5] max separation

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Schedule’s life is short! Unfortunately the synthesis of initially feasible solutions is hardly ever sufficient! –In real working environments, unforeseen events tend to quickly invalidate the schedules predictive assumptions Approaching a scheduling problem requires the coupling of –a predictive scheduling engine, able to propose a possible solution in a compact representation, and –a reactive scheduling engine, able to manage the current solution and to adjust the schedule at execution time

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Broadening Project Scheduling Definition A broader definition of project scheduling problem, consists in the following two components: –the static sub-problem (or Predictive Scheduling): given a set of activities (or tasks) and a set of constraints (time and/or resource), it consists in computing a feasible assignment of start and end times for each activity. –the dynamic sub-problem (or Reactive Scheduling): it consists in monitoring the actual execution of the schedule and repairing the current solution (or producing brand new solutions), every time it is necessary. predictive scheduling solvers have been thoroughly evaluated through the production of several benchmark data sets and metrics the aspect related to reactive scheduling has not yet received the same level of attention HERE we define a benchmark generator!

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Empirical Framework Testsets Generator Testsets Generator Project Scheduling Problem Predictive Scheduler Predictive Scheduler Reactive Scheduler Reactive Scheduler Initial Schedule Set of Exogenous Events Final Solution {eventDelay a6 7 2} {eventDuration a2 5 4}

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Project Scheduling with Uncertainty temporal uncertainty resource uncertainty causal uncertainty Activities last longer than expected or they can be postponed A new precedence relation between a pair of activities requires a revision of previous choices Difference between nominal (left) and actual (right) resource availability. Reduction of resource availability blocks the execution of some activities an their consequent delay

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients Activity delay aiai t aware ∆ st This element specifies the instant where the specific event is supposed to happen.

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients Activity duration aiai t aware ∆ dur

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients Change of resource availability t aware ∆ cap st ev et ev rjrj

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients Change of activities set akak t aware akak r1r1 r2r2 est k let k dur k μ a = add req k = {1,2}

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients Insertion/removal constraint a prec t aware a succ [d min, d max ] μ c = add

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Benchmark ingredients 1.Activity delay, 2.Activity duration 3.Change of resource availability, 4.Change of activities set, 5.Insertion/removal constraint temporal causal resource

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Instant Modifier To formally model an execution event we introduce the concept of Instant Modifier: –An Instant Modifier is an operator defined by a set of modifications Z and a time of execution t E, and whose application on the problem P produces a change of the problem at time t E. –Given a problem P the reactive scheduling problem is:

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Testsets generator INPUT: –The scheduling problem –Number of events to generate –Probability of occurrence for each single type of event –The minimum and maximum magnitude of each type of event. OUTPUT: –Set of exogenous events SPACED in time Definition of consistent t aware, {eventDelay a6 7 2} {eventDuration a2 5 4}

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Timing the Exogenous Events consistently t aware values determine the instants where each specific event is supposed to happen. –How to find consistent values for all possible executions? FIRST STEP: we add a set of simplifying assumptions on the events that have to be generated: –activities cannot be anticipated, –activity durations can only increase –there are only reduction of resource availability SECOND STEP: we used a relaxed version of the scheduling problem in which resource constraints are not taken into account. –This relaxed problem consists in a Simple Temporal Problem (STP) –This allows to compute the lower and the upper bound for the start and the end time of each activity

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Timing the Exogenous Events consistently The assumptions guarantee the monotonic increase condition in the case of constrainedness. Limitation: it is not possible to model situations like activity anticipations or processing time reductions which entail constraints retractions.

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Producing consistent t aware values in the case of a delay of activity a i (e delay ), t aware <= lb(st i ) in the case of change of duration of the activity a i (e dur ), t aware <= lb(et i ) in the case of adding/removing activity a k (e act ), t aware <= lb(st k ) if a k is removed t aware <= est k otherwise; in the case of adding/removing a constraint between a prec and a succ (e constr ), t aware <= lb(st prec ) if the constraint is removed t aware <= min(lb(st prec ), lb(st succ )) otherwise.

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Further constraints the width of the delay on activity a i (e delay ), ∆ st <= ub(st i ) - lb(st i ) the change of activity duration (e dur ), ∆ dur <= ub(et i ) - lb(st i ) - p i the change of resource availability (e res ), 0 <= ∆ cap <= cap j

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Tuning the Instances Difficulty It is fundamental to control the difficulty related to each generated event Use well known metrics to measure the structural properties of a problem before and after the insertion on an event  t e1e1 e2e2 e3e3 e4e4

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Possible metrics Temporal Metrics Resource Metrics (Schwindt 1998) (Cesta et al. 1998) (Mastor 1970)

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Example 8 activities 2 resources both with capacity 2 oddly numbered activities require one instance of r 1 while evenly numbered activities require one instance of r 2 all the oddly numbered activities have a start-time of at least 3 D= {4, 7, 4, 7, 3, 5, 3, 5} 2 resources both with capacity {eventDelay a6 7 2} {eventDuration a2 5 4}

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Conclusions The benchmark generator represents a fundamental means to foster: –Significant experimental analysis –Scheduling competition Benchmarks consist of a set of modification events –Type of modifications that can affect a schedule –To simulate the environmental uncertainty events are time spaced –It is worth to asses the difficulty of the instances Next step consists in the introduction of a “General Scheduling Execution framework” –Different combinations of proactive and reactive scheduling techniques can be evaluated

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Conclusions and ongoing work initial step to design a complete experimental framework –introduce a set of metrics for (a)evaluating the validity of the different rescheduling techniques (b)having a measure to assess the difficulty of the testsets Study of scheduling approaches (both static and dynamic component) Research on reactive scheduling Testsets generation for Reactive Scheduling Metrics

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Outline What’s reactive scheduling and why it is interesting? –Our goals Project Scheduling with Uncertainty –Ingredients for a benchmark sets A benchmark generator based on the RCPSP/max scheduling problem Long-term work –the design of a broad empirical framework for scheduling approaches

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Project Scheduling with Uncertainty Different scheduling techniques have been developed to analyze scheduling problems and produce high quality solutions Those techniques usually consider the external world as static. Unfortunately, real world has a degree of uncertainty. In general, it is hard to have an exact estimation of its evolution A consequent brittleness of classical fixed time solutions

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Reactive Scheduling A broader definition of scheduling problem, consisting in the following two components: –the static sub-problem (or Predictive Scheduling) given a set of activities (or tasks) and a set of constraints, it consists in computing a consistent assignment of start and end times for each activity. –the dynamic sub-problem (or Reactive Scheduling) it consists in monitoring the actual execution of the schedule and repairing the current solution (or producing brand new solutions), every time it is necessary. Even though the predictive scheduling aspects have been thoroughly evaluated through the production of several benchmark data sets and metrics, the aspect related to reactive scheduling has not yet received the same level of attention.

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Testsets generator INPUT: –The scheduling problem –Number of events to generate –Probability of occurrence for each single type of event –The minimum and maximum magnitude of each type of event. Key point in a benchmark instance for the dynamic sub-problem is the fact that the different events have to be properly spaced in time This aspect has been taken into consideration with the definition of the parameter t aware, whose different values determine the instants where each specific event is supposed to happen. –How to define it?? –Finding a value which is consistent for all possible executions

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Producing consistent t aware values However, we need to add a set of simplifying assumptions on the events that have to be generated: –activities cannot be anticipated, –activity durations can only increase –there are only reduction of resource availability These assumptions allow to rely on the lower bounds of the start times of each activity, lb(st i ), to define ``safe'' values for the t aware parameter related to the different events.

Analysis of a Benchmark Generator for the Reactive Scheduling Problem – Cesta, Policella, & Rasconi Scheduling a Scheduling Competition - ICAPS07 workshop, September 22, Long term work It is our opinion that research on the performance of reactive scheduling engines is fundamental –to assess reaction performances –to have an evaluation on the suitability and appropriateness of the scheduling approach in its entirety, that is, from the predictive and the reactive point of view. Study of scheduling approaches (both static and dynamic component) Research on reactive scheduling Testsets generation for Reactive Scheduling