Optimal Scheduling. Kim G. Larsen DENMARK

Size: px
Start display at page:

Download "Optimal Scheduling. Kim G. Larsen DENMARK"

Transcription

1 Priced Timed Automata Optimal Scheduling Kim G. Larsen Aalborg University it DENMARK

2 Overview Timed Automata Scheduling Priced Timed Automata Optimal Reachability Optimal Infinite Scheduling Multi Objectives Energy Automata CLASSIC CORA TIGA ECDAR TRON SMC ARTIST Design PhD School, Beijing, 2011 Kim Larsen [2]

3 Real Time Scheduling Only 1 Pass Cheat is possible (drive close to car with Pass ) UNSAFE 5 10 Pass SAFE CAN The THEY Car & MAKE Bridge IT Problem TO SAFE WITHIN 70 MINUTES??? ARTIST Design PhD School, Beijing, 2011 Kim Larsen [3]

4 Let us play! ARTIST Design PhD School, Beijing, 2011 Kim Larsen [4]

5 Real Time Scheduling Solve Scheduling Problem using UPPAAL UNSAFE 5 10 SAFE ARTIST Design PhD School, Beijing, 2011 Kim Larsen [5]

6 Resources & Tasks Resource Synchronization Task Shared variable ARTIST Design PhD School, Beijing, 2011 Kim Larsen [6]

7 Task Graph Scheduling Example A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors C 5 D P1 6 P2 1 P1 (fast) P2 (slow) 2ps 3ps 5ps 7ps ARTIST Design PhD School, Beijing, 2011 Kim Larsen [7] time

8 Task Graph Scheduling Example A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) 2ps 3ps 5ps 7ps ARTIST Design PhD School, Beijing, 2011 Kim Larsen [8] time

9 Task Graph Scheduling Example A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) 2ps 3ps 5ps 7ps ARTIST Design PhD School, Beijing, 2011 Kim Larsen [9] time

10 Task Graph Scheduling Example A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) 2ps 3ps 5ps 7ps E<> (Task1.End and and Task6.End) ARTIST Design PhD School, Beijing, 2011 Kim Larsen [10] time

11 Experimental Results Symbolic A Branch-&-Bound 60 sec Abdeddaïm, Kerbaa, Maler ARTIST Design PhD School, Beijing, 2011 Kim Larsen [11]

12 Priced Timed Automata

13 EXAMPLE: Optimal rescue plan for cars with different subscription rates for city driving! 5 Golf SAFE Citroen BMW Datsun 3 10 OPTIMAL PLAN HAS ACCUMULATED COST=195 and TOTAL TIME=65! ARTIST Design PhD School, Beijing, 2011 Kim Larsen [13]

14 Experiments COST-rates G C B D SCHEDULE COST TIME #Expl #Pop d Min Time CG> G< BD> C< CG> CG> G< BG> G< GD> GD> G< CG> G< BG> CG> G< BD> C< CG> CD> C< CB> C< CG> BD> B< CB> C< CG> time< ARTIST Design PhD School, Beijing, 2011 Kim Larsen [14]

15 Task Graph Scheduling Revisited A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) Idle 2ps 3ps 1oW Idle 5ps 7ps 20W ENERGY: 5 10 In use 90W 30W In use ARTIST Design PhD School, Beijing, 2011 Kim Larsen [15] time

16 Task Graph Scheduling Revisited A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) Idle 2ps 3ps 10W Idle 5ps 7ps 20W ENERGY: 5 10 In use 90W 30W In use ARTIST Design PhD School, Beijing, 2011 Kim Larsen [16] time

17 Task Graph Scheduling Revisited A 1 B C D 2 Compute : (D ( C ( A B )) (( A B ) ( C D )) using 2 processors 3 4 C 5 D P1 P2 6 P1 (fast) P2 (slow) Idle 2ps 3ps 10W Idle 5ps 7ps 20W ENERGY: 5 10 In use 90W 30W In use ARTIST Design PhD School, Beijing, 2011 Kim Larsen [17] time

18 A simple example ARTIST Design PhD School, Beijing, 2011 Kim Larsen [18]

19 A simple example Q: What is cheapest cost for reaching? ARTIST Design PhD School, Beijing, 2011 Kim Larsen [19]

20 Corner Point Regions THM [Behrmann, Fehnker..01] [Alur,Torre,Pappas 01] Optimal reachability is decidable for PTA THM [Bouyer, Brojaue, Briuere, Raskin 07] Optimal reachability is PSPACE-complete for PTA ARTIST Design PhD School, Beijing, 2011 Kim Larsen [20]

21 Priced Zones [CAV01] A zone Z: 1 x 2 Æ 0 y 2 Æ x - y 0 A cost function C C(x,y)= 2 x - 1 y 3 ARTIST Design PhD School, Beijing, 2011 Kim Larsen [21]

22 Priced Zones Reset [CAV01] Z[x=0]: x=0 Æ 0 y 2 A zone Z: 1 x 2 Æ 0 y 2 Æ x - y 0 C = 1 y 3 C= -1 y 5 A cost function C C(x,y) = 2 x - 1 y 3 ARTIST Design PhD School, Beijing, 2011 Kim Larsen [22]

23 Symbolic Branch & Bound Algorithm Z' Z Z is bigger & cheaper than Z is a well-quasi ordering which guarantees termination! ARTIST Design PhD School, Beijing, 2011 Kim Larsen [23]

24 Example: Aircraft Landing cost e(t-t) E dl(t-t) T L t E earliest landing time T target time L latest time e cost rate for being early l cost rate for being late d fixed cost for being late Planes have to keep separation distance to avoid turbulences caused by preceding planes ARTIST Design PhD School, Beijing, 2011 Kim Larsen [24] Runway

25 Example: Aircraft Landing x <= 5 x >= 4 x=5 4 earliest landing time land! cost=2 5 target time x <= 5 9 latest time x <= 9 cost =3 cost =1 3 cost rate for being early 1 cost rate for being late x=5 land! 2 fixed cost for being late Planes have to keep separation distance to avoid turbulences caused by preceding planes ARTIST Design PhD School, Beijing, 2011 Kim Larsen [25] Runway

26 Aircraft Landing Source of examples: Baesley et al 2000 ARTIST Design PhD School, Beijing, 2011 Kim Larsen [26]

27 Symbolic Branch & Bound Algorithm Zone based Linear Programming Problems (dualize) Min Cost Flow ARTIST Design PhD School, Beijing, 2011 Kim Larsen [27]

28 Aircraft Landing (revisited) Using MCF/Netsimplex [TACAS04] ARTIST Design PhD School, Beijing, 2011 Kim Larsen [28]

29 Optimal Infinite Schedule ARTIST Design PhD School, Beijing, 2011 Kim Larsen [29]

30 EXAMPLE: Optimal WORK plan for cars with different subscription rates for city driving! Infor rmatio onstek knolog gi Golf Citroen 9 2 BMW Datsun 3 10 maximal 100 min. at each location UCb

31 Workplan I Infor rmatio onstek knolog gi UCb Golf Citroen U U BMW Datsun U U Golf Citroen S U BMW Datsun (25) Golf Citroen U U BMW Datsun (25) 275 S S 275 (20) Golf Citroen U U BMW Datsun (25) Golf Citroen U U BMW Datsun U U (25) 300 Golf Citroen U S BMW Datsun S U U U U S (20) 300 (25) 300 Golf Citroen U U BMW Datsun (25) Golf Citroen U S BMW Datsun U U 300 U S Value of workplan: (4 x 300) / 90 = 13.33

32 Workplan II Infor rmatio onstek knolog gi UCb Golf Citroen 25/125 Golf Citroen Golf Citroen Golf Citroen 5/25 20/180 BMW Datsun BMW Datsun BMW Datsun BMW Datsun Golf BMW Golf BMW Citroen Datsun 10/130 5/65 25/225 Citroen Datsun Value of workplan: 560 / 100 = 5.6 Golf Citroen BMW Datsun 25/125 Golf Citroen BMW Datsun 5/10 10/90 Golf Citroen BMW Datsun Golf Citroen Golf Citroen Golf Citroen 10/90 10/0 BMW Datsun BMW Datsun BMW Datsun 25/50 Golf Citroen BMW Datsun 5/10 10/0 Golf Citroen BMW Datsun

33 Optimal Infinite Scheduling Maximize throughput: i.e. maximize Reward / Time in the long run! ARTIST Design PhD School, Beijing, 2011 Kim Larsen [33]

34 Optimal Infinite Scheduling Minimize Energy Consumption: i.e. minimize Cost / Time in the long run ARTIST Design PhD School, Beijing, 2011 Kim Larsen [34]

35 Optimal Infinite Scheduling Maximize throughput: i.e. maximize Reward / Cost in the long run ARTIST Design PhD School, Beijing, 2011 Kim Larsen [35]

36 Mean Pay-Off Optimality Bouyer, Brinksma, Larsen: HSCC04,FMSD07 Accumulated cost c 3 c n c 1 c 2 r 3 r n r 1 r 2 BAD Accumulated reward Value of path : val( ) = lim n c n /r n Optimal Schedule : val( ) = inf val( ) ARTIST Design PhD School, Beijing, 2011 Kim Larsen [36]

37 Discount Optimality 1 : discounting factor Larsen, Fahrenberg: INFINITY 08 Cost of time t n ) c(t 3) c(t n ) c(t 1 ) c(t 2) t 1 t 2 t 3 t n BAD Time of step n Value of path : val( ) = Optimal Schedule : val( ) = inf val( ) ARTIST Design PhD School, Beijing, 2011 Kim Larsen [37]

38 Soundness of Corner Point Abstraction ARTIST Design PhD School, Beijing, 2011 Kim Larsen [38]

39 Application Dynamic Voltage Scaling Informationsteknologi UCb

40 Multiple Objective Scheduling 16,10 P 2 P 1 2,3 2,3 cost 1 ==4 cost 2 ==3 1 cost 2 6,6 10,16 P 6 P 3 P 4 Pareto Frontier P 7 P 5 2,22 8,2 4W 3W cost1 1 ARTIST Design PhD School, Beijing, 2011 Kim Larsen [40]

41 Experimental Results Warehouse itunes ARTIST Design PhD School, Beijing, 2011 Kim Larsen [41]

42 Experimental Results ARTIST Design PhD School, Beijing, 2011 Kim Larsen [42]

43 Energy Automata

44 Managing Resources ARTIST Design PhD School, Beijing, 2011 Kim Larsen [44]

45 Consuming & Harvesting Energy Maximize throughput while respecting: 0 E MAX ARTIST Design PhD School, Beijing, 2011 Kim Larsen [45]

46 Energy Constrains Energy is not only consumed but may also be regained The aim is to continously satisfy some energy constriants ARTIST Design PhD School, Beijing, 2011 Kim Larsen [46]

47 Results (so far) Bouyer, Fahrenberg, Larsen, Markey, Srba: FORMATS 2008 ARTIST Design PhD School, Beijing, 2011 Kim Larsen [47]

48 Discrete Updates on Edges ARTIST Design PhD School, Beijing, 2011 Kim Larsen [48]

49 New Approach: Energy Functions Maximize energy along paths Use this information to solve general problem ARTIST Design PhD School, Beijing, 2011 Kim Larsen [49]

50 Energy Function General Strategy Spend just enough time to survive the next negative update ARTIST Design PhD School, Beijing, 2011 Kim Larsen [50]

51 Exponential PTA General Strategy Spend just enough time to survive the next negative update so that after next negative update there is a certain positive amount! Minimal Fixpoint: ARTIST Design PhD School, Beijing, 2011 Kim Larsen [51]

52 Exponential PTA Thm [HSCC10]: Lower-bound problem is decidable for linear and exponential 1-clock PTAs with negative discrete Energy updates. Function ARTIST Design PhD School, Beijing, 2011 Kim Larsen [52]

53 Conclusion Priced Timed Automata a uniform framework for modeling and solving dynamic ressource allocation problems! Not mentioned here: Model Checking Issues (ext. of CTL and LTL). Future work: Zone-based algorithm for optimal infinite i runs. Approximate solutions for priced timed games to circumvent undecidablity issues. Open problems for Energy Automata. Approximate algorithms for optimal reachability ARTIST Design PhD School, Beijing, 2011 Kim Larsen [53]

MODEL CHECKING ONE-CLOCK PRICED TIMED AUTOMATA

MODEL CHECKING ONE-CLOCK PRICED TIMED AUTOMATA MODEL CHECKING ONE-CLOCK PRICED TIMED AUTOMATA PATRICIA BOUYER, KIM G. LARSEN, AND NICOLAS MARKEY LSV, CNRS & ENS de Cachan, France Oxford University Computing Laboratory, UK e-mail address: bouyer@lsv.ens-cachan.fr

More information

Workload Models for System-Level Timing Analysis: Expressiveness vs. Analysis Efficiency

Workload Models for System-Level Timing Analysis: Expressiveness vs. Analysis Efficiency Workload Models for System-Level Timing Analysis: Expressiveness vs. Analysis Efficiency Nan Guan, Martin Stigge and Wang Yi Uppsala University, Sweden Uppsala University, China Complex Real-Time Systems

More information

On some Potential Research Contributions to the Multi-Core Enterprise

On some Potential Research Contributions to the Multi-Core Enterprise On some Potential Research Contributions to the Multi-Core Enterprise Oded Maler CNRS - VERIMAG Grenoble, France February 2009 Background This presentation is based on observations made in the Athole project

More information

Distributed Computing over Communication Networks: Topology. (with an excursion to P2P)

Distributed Computing over Communication Networks: Topology. (with an excursion to P2P) Distributed Computing over Communication Networks: Topology (with an excursion to P2P) Some administrative comments... There will be a Skript for this part of the lecture. (Same as slides, except for today...

More information

Program Synthesis is a Game

Program Synthesis is a Game Program Synthesis is a Game Barbara Jobstmann CNRS/Verimag, Grenoble, France Outline Synthesis using automata- based game theory. MoBvaBon, comparison with MC and LTL. Basics Terminology Reachability/Safety

More information

Real Time Scheduling Basic Concepts. Radek Pelánek

Real Time Scheduling Basic Concepts. Radek Pelánek Real Time Scheduling Basic Concepts Radek Pelánek Basic Elements Model of RT System abstraction focus only on timing constraints idealization (e.g., zero switching time) Basic Elements Basic Notions task

More information

logic language, static/dynamic models SAT solvers Verified Software Systems 1 How can we model check of a program or system?

logic language, static/dynamic models SAT solvers Verified Software Systems 1 How can we model check of a program or system? 5. LTL, CTL Last part: Alloy logic language, static/dynamic models SAT solvers Today: Temporal Logic (LTL, CTL) Verified Software Systems 1 Overview How can we model check of a program or system? Modeling

More information

Real-Time Scheduling of Energy Harvesting Embedded Systems with Timed Automata

Real-Time Scheduling of Energy Harvesting Embedded Systems with Timed Automata Real-Time Scheduling of Energy Harvesting Embedded Systems with Timed Automata Yasmina Abdeddaïm, Damien Masson To cite this version: Yasmina Abdeddaïm, Damien Masson. Real-Time Scheduling of Energy Harvesting

More information

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method

Lecture 3. Linear Programming. 3B1B Optimization Michaelmas 2015 A. Zisserman. Extreme solutions. Simplex method. Interior point method Lecture 3 3B1B Optimization Michaelmas 2015 A. Zisserman Linear Programming Extreme solutions Simplex method Interior point method Integer programming and relaxation The Optimization Tree Linear Programming

More information

Linear Programming Notes V Problem Transformations

Linear Programming Notes V Problem Transformations Linear Programming Notes V Problem Transformations 1 Introduction Any linear programming problem can be rewritten in either of two standard forms. In the first form, the objective is to maximize, the material

More information

How To Understand The Different Concepts Of Car Sharing In Germany

How To Understand The Different Concepts Of Car Sharing In Germany Univ.-Prof. Dr.-Ing. Klaus Bogenberger Evaluation of German Car Sharing Systems 19th ITS World Congress, Vienna, Austria 23 October 2012 Munich University of the Federal Armed Forces Department of Traffic

More information

Model Checking Web Services

Model Checking Web Services Model Checking Web Services Amit Shrigondekar, Lalindra De Silva, and Aravindan Thulasinathan School of Computing, University of Utah {amitss,alnds,aravi}@cs.utah.edu https://sites.google.com/site/modelcheckingwebservices/

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Martin Lauer AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg martin.lauer@kit.edu

More information

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max

3. Evaluate the objective function at each vertex. Put the vertices into a table: Vertex P=3x+2y (0, 0) 0 min (0, 5) 10 (15, 0) 45 (12, 2) 40 Max SOLUTION OF LINEAR PROGRAMMING PROBLEMS THEOREM 1 If a linear programming problem has a solution, then it must occur at a vertex, or corner point, of the feasible set, S, associated with the problem. Furthermore,

More information

Reinforcement Learning

Reinforcement Learning Reinforcement Learning LU 2 - Markov Decision Problems and Dynamic Programming Dr. Joschka Bödecker AG Maschinelles Lernen und Natürlichsprachliche Systeme Albert-Ludwigs-Universität Freiburg jboedeck@informatik.uni-freiburg.de

More information

Lecture 2: August 29. Linear Programming (part I)

Lecture 2: August 29. Linear Programming (part I) 10-725: Convex Optimization Fall 2013 Lecture 2: August 29 Lecturer: Barnabás Póczos Scribes: Samrachana Adhikari, Mattia Ciollaro, Fabrizio Lecci Note: LaTeX template courtesy of UC Berkeley EECS dept.

More information

Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan. 15.450, Fall 2010

Generating Random Numbers Variance Reduction Quasi-Monte Carlo. Simulation Methods. Leonid Kogan. MIT, Sloan. 15.450, Fall 2010 Simulation Methods Leonid Kogan MIT, Sloan 15.450, Fall 2010 c Leonid Kogan ( MIT, Sloan ) Simulation Methods 15.450, Fall 2010 1 / 35 Outline 1 Generating Random Numbers 2 Variance Reduction 3 Quasi-Monte

More information

T-79.186 Reactive Systems: Introduction and Finite State Automata

T-79.186 Reactive Systems: Introduction and Finite State Automata T-79.186 Reactive Systems: Introduction and Finite State Automata Timo Latvala 14.1.2004 Reactive Systems: Introduction and Finite State Automata 1-1 Reactive Systems Reactive systems are a class of software

More information

Power-Aware Scheduling of Conditional Task Graphs in Real-Time Multiprocessor Systems

Power-Aware Scheduling of Conditional Task Graphs in Real-Time Multiprocessor Systems Power-Aware Scheduling of Conditional Task Graphs in Real-Time Multiprocessor Systems Dongkun Shin School of Computer Science and Engineering Seoul National University sdk@davinci.snu.ac.kr Jihong Kim

More information

{ } Sec 3.1 Systems of Linear Equations in Two Variables

{ } Sec 3.1 Systems of Linear Equations in Two Variables Sec.1 Sstems of Linear Equations in Two Variables Learning Objectives: 1. Deciding whether an ordered pair is a solution.. Solve a sstem of linear equations using the graphing, substitution, and elimination

More information

Dynamic programming formulation

Dynamic programming formulation 1.24 Lecture 14 Dynamic programming: Job scheduling Dynamic programming formulation To formulate a problem as a dynamic program: Sort by a criterion that will allow infeasible combinations to be eli minated

More information

CHAPTER 2 THE ECONOMIC PROBLEM: SCARCITY AND CHOICE

CHAPTER 2 THE ECONOMIC PROBLEM: SCARCITY AND CHOICE CHAPTER 2 THE ECONOMIC PROBLEM: SCARCITY AND CHOICE 2.1 Three basic questions EX: American Airline It uses runways land pilots and mechanics labor

More information

An Introduction to Hybrid Automata

An Introduction to Hybrid Automata An Introduction to Hybrid Automata Jean-François Raskin, email: jraskin@ulb.ac.be Computer Science Department University of Brussels Belgium 1 Introduction Hybrid systems are digital real-time systems

More information

Un point de vue bayésien pour des algorithmes de bandit plus performants

Un point de vue bayésien pour des algorithmes de bandit plus performants Un point de vue bayésien pour des algorithmes de bandit plus performants Emilie Kaufmann, Telecom ParisTech Rencontre des Jeunes Statisticiens, Aussois, 28 août 2013 Emilie Kaufmann (Telecom ParisTech)

More information

6.207/14.15: Networks Lecture 15: Repeated Games and Cooperation

6.207/14.15: Networks Lecture 15: Repeated Games and Cooperation 6.207/14.15: Networks Lecture 15: Repeated Games and Cooperation Daron Acemoglu and Asu Ozdaglar MIT November 2, 2009 1 Introduction Outline The problem of cooperation Finitely-repeated prisoner s dilemma

More information

Online Checking of a Hybrid Laser Tracheotomy Model in UPPAAL-SMC

Online Checking of a Hybrid Laser Tracheotomy Model in UPPAAL-SMC Master Thesis Xintao Ma Online Checking of a Hybrid Laser Tracheotomy Model in UPPAAL-SMC Date 06. June, 2013-06. December, 2013 supervised by: Prof. Dr. Sibylle Schupp Prof. Dr. Alexander Schlaefer Jonas

More information

Static Program Transformations for Efficient Software Model Checking

Static Program Transformations for Efficient Software Model Checking Static Program Transformations for Efficient Software Model Checking Shobha Vasudevan Jacob Abraham The University of Texas at Austin Dependable Systems Large and complex systems Software faults are major

More information

Development of dynamically evolving and self-adaptive software. 1. Background

Development of dynamically evolving and self-adaptive software. 1. Background Development of dynamically evolving and self-adaptive software 1. Background LASER 2013 Isola d Elba, September 2013 Carlo Ghezzi Politecnico di Milano Deep-SE Group @ DEIB 1 Requirements Functional requirements

More information

Seminar. Path planning using Voronoi diagrams and B-Splines. Stefano Martina stefano.martina@stud.unifi.it

Seminar. Path planning using Voronoi diagrams and B-Splines. Stefano Martina stefano.martina@stud.unifi.it Seminar Path planning using Voronoi diagrams and B-Splines Stefano Martina stefano.martina@stud.unifi.it 23 may 2016 This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International

More information

GameTime: A Toolkit for Timing Analysis of Software

GameTime: A Toolkit for Timing Analysis of Software GameTime: A Toolkit for Timing Analysis of Software Sanjit A. Seshia and Jonathan Kotker EECS Department, UC Berkeley {sseshia,jamhoot}@eecs.berkeley.edu Abstract. Timing analysis is a key step in the

More information

Formal Specification and Verification

Formal Specification and Verification Formal Specification and Verification Stefan Ratschan Katedra číslicového návrhu Fakulta informačních technologíı České vysoké učení technické v Praze 2. 5. 2011 Stefan Ratschan (FIT ČVUT) PI-PSC 4 2.

More information

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1

5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 5 INTEGER LINEAR PROGRAMMING (ILP) E. Amaldi Fondamenti di R.O. Politecnico di Milano 1 General Integer Linear Program: (ILP) min c T x Ax b x 0 integer Assumption: A, b integer The integrality condition

More information

Optimization in ICT and Physical Systems

Optimization in ICT and Physical Systems 27. OKTOBER 2010 in ICT and Physical Systems @ Aarhus University, Course outline, formal stuff Prerequisite Lectures Homework Textbook, Homepage and CampusNet, http://kurser.iha.dk/ee-ict-master/tiopti/

More information

Reliability Guarantees in Automata Based Scheduling for Embedded Control Software

Reliability Guarantees in Automata Based Scheduling for Embedded Control Software 1 Reliability Guarantees in Automata Based Scheduling for Embedded Control Software Santhosh Prabhu, Aritra Hazra, Pallab Dasgupta Department of CSE, IIT Kharagpur West Bengal, India - 721302. Email: {santhosh.prabhu,

More information

Scheduling Single Machine Scheduling. Tim Nieberg

Scheduling Single Machine Scheduling. Tim Nieberg Scheduling Single Machine Scheduling Tim Nieberg Single machine models Observation: for non-preemptive problems and regular objectives, a sequence in which the jobs are processed is sufficient to describe

More information

8.1 Min Degree Spanning Tree

8.1 Min Degree Spanning Tree CS880: Approximations Algorithms Scribe: Siddharth Barman Lecturer: Shuchi Chawla Topic: Min Degree Spanning Tree Date: 02/15/07 In this lecture we give a local search based algorithm for the Min Degree

More information

SCALABILITY AND AVAILABILITY

SCALABILITY AND AVAILABILITY SCALABILITY AND AVAILABILITY Real Systems must be Scalable fast enough to handle the expected load and grow easily when the load grows Available available enough of the time Scalable Scale-up increase

More information

Homework 1 (Time, Synchronization and Global State) - 100 Points

Homework 1 (Time, Synchronization and Global State) - 100 Points Homework 1 (Time, Synchronization and Global State) - 100 Points CS25 Distributed Systems, Fall 2009, Instructor: Klara Nahrstedt Out: Thursday, September 3, Due Date: Thursday, September 17 Instructions:

More information

A Dynamic Programming Approach for 4D Flight Route Optimization

A Dynamic Programming Approach for 4D Flight Route Optimization A Dynamic Programming Approach for 4D Flight Route Optimization Christian Kiss-Tóth, Gábor Takács Széchenyi István University, Győr, Hungary IEEE International Conference on Big Data Oct 27-30, 2014 Washington

More information

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to,

LINEAR INEQUALITIES. less than, < 2x + 5 x 3 less than or equal to, greater than, > 3x 2 x 6 greater than or equal to, LINEAR INEQUALITIES When we use the equal sign in an equation we are stating that both sides of the equation are equal to each other. In an inequality, we are stating that both sides of the equation are

More information

CPU Performance. Lecture 8 CAP 3103 06-11-2014

CPU Performance. Lecture 8 CAP 3103 06-11-2014 CPU Performance Lecture 8 CAP 3103 06-11-2014 Defining Performance Which airplane has the best performance? 1.6 Performance Boeing 777 Boeing 777 Boeing 747 BAC/Sud Concorde Douglas DC-8-50 Boeing 747

More information

PRACTICE FINAL. Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 10cm.

PRACTICE FINAL. Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 10cm. PRACTICE FINAL Problem 1. Find the dimensions of the isosceles triangle with largest area that can be inscribed in a circle of radius 1cm. Solution. Let x be the distance between the center of the circle

More information

QoS optimization for an. on-demand transportation system via a fractional linear objective function

QoS optimization for an. on-demand transportation system via a fractional linear objective function QoS optimization for an Load charge ratio on-demand transportation system via a fractional linear objective function Thierry Garaix, University of Avignon (France) Column Generation 2008 QoS optimization

More information

Adding and Subtracting Positive and Negative Numbers

Adding and Subtracting Positive and Negative Numbers Adding and Subtracting Positive and Negative Numbers Absolute Value For any real number, the distance from zero on the number line is the absolute value of the number. The absolute value of any real number

More information

Module1. x 1000. y 800.

Module1. x 1000. y 800. Module1 1 Welcome to the first module of the course. It is indeed an exciting event to share with you the subject that has lot to offer both from theoretical side and practical aspects. To begin with,

More information

Automata-based Verification - I

Automata-based Verification - I CS3172: Advanced Algorithms Automata-based Verification - I Howard Barringer Room KB2.20: email: howard.barringer@manchester.ac.uk March 2006 Supporting and Background Material Copies of key slides (already

More information

MetaGame: An Animation Tool for Model-Checking Games

MetaGame: An Animation Tool for Model-Checking Games MetaGame: An Animation Tool for Model-Checking Games Markus Müller-Olm 1 and Haiseung Yoo 2 1 FernUniversität in Hagen, Fachbereich Informatik, LG PI 5 Universitätsstr. 1, 58097 Hagen, Germany mmo@ls5.informatik.uni-dortmund.de

More information

Static analysis of parity games: alternating reachability under parity

Static analysis of parity games: alternating reachability under parity 8 January 2016, DTU Denmark Static analysis of parity games: alternating reachability under parity Michael Huth, Imperial College London Nir Piterman, University of Leicester Jim Huan-Pu Kuo, Imperial

More information

Software Verification: Infinite-State Model Checking and Static Program

Software Verification: Infinite-State Model Checking and Static Program Software Verification: Infinite-State Model Checking and Static Program Analysis Dagstuhl Seminar 06081 February 19 24, 2006 Parosh Abdulla 1, Ahmed Bouajjani 2, and Markus Müller-Olm 3 1 Uppsala Universitet,

More information

Classification - Examples

Classification - Examples Lecture 2 Scheduling 1 Classification - Examples 1 r j C max given: n jobs with processing times p 1,...,p n and release dates r 1,...,r n jobs have to be scheduled without preemption on one machine taking

More information

Software Verification and Testing. Lecture Notes: Temporal Logics

Software Verification and Testing. Lecture Notes: Temporal Logics Software Verification and Testing Lecture Notes: Temporal Logics Motivation traditional programs (whether terminating or non-terminating) can be modelled as relations are analysed wrt their input/output

More information

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L

HSR HOCHSCHULE FÜR TECHNIK RA PPERSW I L 1 An Introduction into Modelling and Simulation 4. A Series of Labs to Learn Simio af&e Prof. Dr.-Ing. Andreas Rinkel andreas.rinkel@hsr.ch Tel.: +41 (0) 55 2224928 Mobil: +41 (0) 79 3320562 Lab 1 Lab

More information

High Performance Computing for Operation Research

High Performance Computing for Operation Research High Performance Computing for Operation Research IEF - Paris Sud University claude.tadonki@u-psud.fr INRIA-Alchemy seminar, Thursday March 17 Research topics Fundamental Aspects of Algorithms and Complexity

More information

5.1 Bipartite Matching

5.1 Bipartite Matching CS787: Advanced Algorithms Lecture 5: Applications of Network Flow In the last lecture, we looked at the problem of finding the maximum flow in a graph, and how it can be efficiently solved using the Ford-Fulkerson

More information

Chapter 2: Linear Equations and Inequalities Lecture notes Math 1010

Chapter 2: Linear Equations and Inequalities Lecture notes Math 1010 Section 2.1: Linear Equations Definition of equation An equation is a statement that equates two algebraic expressions. Solving an equation involving a variable means finding all values of the variable

More information

Modeling Insurance Markets

Modeling Insurance Markets Modeling Insurance Markets Nathaniel Hendren Harvard April, 2015 Nathaniel Hendren (Harvard) Insurance April, 2015 1 / 29 Modeling Competition Insurance Markets is Tough There is no well-agreed upon model

More information

Business Process Verification: The Application of Model Checking and Timed Automata

Business Process Verification: The Application of Model Checking and Timed Automata Business Process Verification: The Application of Model Checking and Timed Automata Luis E. Mendoza Morales Processes and Systems Department, Simón Bolívar University, P.O. box 89000, Baruta, Venezuela,

More information

Option Properties. Liuren Wu. Zicklin School of Business, Baruch College. Options Markets. (Hull chapter: 9)

Option Properties. Liuren Wu. Zicklin School of Business, Baruch College. Options Markets. (Hull chapter: 9) Option Properties Liuren Wu Zicklin School of Business, Baruch College Options Markets (Hull chapter: 9) Liuren Wu (Baruch) Option Properties Options Markets 1 / 17 Notation c: European call option price.

More information

On Omega-Languages Defined by Mean-Payoff Conditions

On Omega-Languages Defined by Mean-Payoff Conditions On Omega-Languages Defined by Mean-Payoff Conditions Rajeev Alur 1, Aldric Degorre 2, Oded Maler 2, Gera Weiss 1 1 Dept. of Computer and Information Science, University of Pennsylvania, USA {alur, gera}@cis.upenn.edu

More information

Microeconomic Theory: Basic Math Concepts

Microeconomic Theory: Basic Math Concepts Microeconomic Theory: Basic Math Concepts Matt Van Essen University of Alabama Van Essen (U of A) Basic Math Concepts 1 / 66 Basic Math Concepts In this lecture we will review some basic mathematical concepts

More information

5. Unable to determine. 6. 4 m correct. 7. None of these. 8. 1 m. 9. 1 m. 10. 2 m. 1. 1 m/s. 2. None of these. 3. Unable to determine. 4.

5. Unable to determine. 6. 4 m correct. 7. None of these. 8. 1 m. 9. 1 m. 10. 2 m. 1. 1 m/s. 2. None of these. 3. Unable to determine. 4. Version PREVIEW B One D Kine REVIEW burke (1111) 1 This print-out should have 34 questions. Multiple-choice questions may continue on the next column or page find all choices before answering. Jogging

More information

Introduction to Cloud Computing

Introduction to Cloud Computing Introduction to Cloud Computing Parallel Processing I 15 319, spring 2010 7 th Lecture, Feb 2 nd Majd F. Sakr Lecture Motivation Concurrency and why? Different flavors of parallel computing Get the basic

More information

Formal Verification of Software

Formal Verification of Software Formal Verification of Software Sabine Broda Department of Computer Science/FCUP 12 de Novembro de 2014 Sabine Broda (DCC-FCUP) Formal Verification of Software 12 de Novembro de 2014 1 / 26 Formal Verification

More information

Near Optimal Solutions

Near Optimal Solutions Near Optimal Solutions Many important optimization problems are lacking efficient solutions. NP-Complete problems unlikely to have polynomial time solutions. Good heuristics important for such problems.

More information

A Sarsa based Autonomous Stock Trading Agent

A Sarsa based Autonomous Stock Trading Agent A Sarsa based Autonomous Stock Trading Agent Achal Augustine The University of Texas at Austin Department of Computer Science Austin, TX 78712 USA achal@cs.utexas.edu Abstract This paper describes an autonomous

More information

Kevin James. MTHSC 102 Section 1.5 Exponential Functions and Models

Kevin James. MTHSC 102 Section 1.5 Exponential Functions and Models MTHSC 102 Section 1.5 Exponential Functions and Models Exponential Functions and Models Definition Algebraically An exponential function has an equation of the form f (x) = ab x. The constant a is called

More information

1 if 1 x 0 1 if 0 x 1

1 if 1 x 0 1 if 0 x 1 Chapter 3 Continuity In this chapter we begin by defining the fundamental notion of continuity for real valued functions of a single real variable. When trying to decide whether a given function is or

More information

On the effect of forwarding table size on SDN network utilization

On the effect of forwarding table size on SDN network utilization IBM Haifa Research Lab On the effect of forwarding table size on SDN network utilization Rami Cohen IBM Haifa Research Lab Liane Lewin Eytan Yahoo Research, Haifa Seffi Naor CS Technion, Israel Danny Raz

More information

Angelika Langer www.angelikalanger.com. The Art of Garbage Collection Tuning

Angelika Langer www.angelikalanger.com. The Art of Garbage Collection Tuning Angelika Langer www.angelikalanger.com The Art of Garbage Collection Tuning objective discuss garbage collection algorithms in Sun/Oracle's JVM give brief overview of GC tuning strategies GC tuning (2)

More information

Review D: Potential Energy and the Conservation of Mechanical Energy

Review D: Potential Energy and the Conservation of Mechanical Energy MSSCHUSETTS INSTITUTE OF TECHNOLOGY Department of Physics 8.01 Fall 2005 Review D: Potential Energy and the Conservation of Mechanical Energy D.1 Conservative and Non-conservative Force... 2 D.1.1 Introduction...

More information

Overview of Industrial Batch Process Scheduling

Overview of Industrial Batch Process Scheduling CHEMICAL ENGINEERING TRANSACTIONS Volume 21, 2010 Editor J. J. Klemeš, H. L. Lam, P. S. Varbanov Copyright 2010, AIDIC Servizi S.r.l., ISBN 978-88-95608-05-1 ISSN 1974-9791 DOI: 10.3303/CET1021150 895

More information

Efficient Storage, Compression and Transmission

Efficient Storage, Compression and Transmission Efficient Storage, Compression and Transmission of Complex 3D Models context & problem definition general framework & classification our new algorithm applications for digital documents Mesh Decimation

More information

SIMS 255 Foundations of Software Design. Complexity and NP-completeness

SIMS 255 Foundations of Software Design. Complexity and NP-completeness SIMS 255 Foundations of Software Design Complexity and NP-completeness Matt Welsh November 29, 2001 mdw@cs.berkeley.edu 1 Outline Complexity of algorithms Space and time complexity ``Big O'' notation Complexity

More information

VENDOR MANAGED INVENTORY

VENDOR MANAGED INVENTORY VENDOR MANAGED INVENTORY Martin Savelsbergh School of Industrial and Systems Engineering Georgia Institute of Technology Joint work with Ann Campbell, Anton Kleywegt, and Vijay Nori Distribution Systems:

More information

Chapter 11 Monte Carlo Simulation

Chapter 11 Monte Carlo Simulation Chapter 11 Monte Carlo Simulation 11.1 Introduction The basic idea of simulation is to build an experimental device, or simulator, that will act like (simulate) the system of interest in certain important

More information

Social network analysis with R sna package

Social network analysis with R sna package Social network analysis with R sna package George Zhang iresearch Consulting Group (China) bird@iresearch.com.cn birdzhangxiang@gmail.com Social network (graph) definition G = (V,E) Max edges = N All possible

More information

Fairness issues in new large scale parallel platforms.

Fairness issues in new large scale parallel platforms. Fairness issues in new large scale parallel platforms. Denis TRYSTRAM LIG Université de Grenoble Alpes Inria Institut Universitaire de France july 5, 25 New computing systems New challenges from e-science

More information

MuACOsm A New Mutation-Based Ant Colony Optimization Algorithm for Learning Finite-State Machines

MuACOsm A New Mutation-Based Ant Colony Optimization Algorithm for Learning Finite-State Machines MuACOsm A New Mutation-Based Ant Colony Optimization Algorithm for Learning Finite-State Machines Daniil Chivilikhin and Vladimir Ulyantsev National Research University of IT, Mechanics and Optics St.

More information

Automatic Conversion Software for the Safety Verification of Goal-based Control Programs

Automatic Conversion Software for the Safety Verification of Goal-based Control Programs Automatic Conversion Software for the Safety Verification of Goal-based Control Programs Julia M. B. Braman and Richard M. Murray Abstract Fault tolerance and safety verification of control systems are

More information

Algorithmic Software Verification

Algorithmic Software Verification Algorithmic Software Verification (LTL Model Checking) Azadeh Farzan What is Verification Anyway? Proving (in a formal way) that program satisfies a specification written in a logical language. Formal

More information

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc.

Linear Programming for Optimization. Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1. Introduction Linear Programming for Optimization Mark A. Schulze, Ph.D. Perceptive Scientific Instruments, Inc. 1.1 Definition Linear programming is the name of a branch of applied mathematics that

More information

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored?

what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? Inside the CPU how does the CPU work? what operations can it perform? how does it perform them? on what kind of data? where are instructions and data stored? some short, boring programs to illustrate the

More information

Introduction to Scheduling Theory

Introduction to Scheduling Theory Introduction to Scheduling Theory Arnaud Legrand Laboratoire Informatique et Distribution IMAG CNRS, France arnaud.legrand@imag.fr November 8, 2004 1/ 26 Outline 1 Task graphs from outer space 2 Scheduling

More information

Tasks Scheduling Game Algorithm Based on Cost Optimization in Cloud Computing

Tasks Scheduling Game Algorithm Based on Cost Optimization in Cloud Computing Journal of Computational Information Systems 11: 16 (2015) 6037 6045 Available at http://www.jofcis.com Tasks Scheduling Game Algorithm Based on Cost Optimization in Cloud Computing Renfeng LIU 1, Lijun

More information

Languages for Programming Hybrid Discrete/Continuous-Time Systems

Languages for Programming Hybrid Discrete/Continuous-Time Systems Languages for Programming Hybrid Discrete/Continuous-Time Systems Marc Pouzet ENS Paris/UPMC/INRIA Collège de France, March 26, 2014 In collaboration with Albert Benveniste, Timothy Bourke, Benoit Caillaud

More information

Why Agile Works: Economics, Psychology, and Science. @MatthewRenze #PrDC16

Why Agile Works: Economics, Psychology, and Science. @MatthewRenze #PrDC16 Why Agile Works: Economics, Psychology, and Science @MatthewRenze #PrDC16 Purpose Explain why Agile practices are so successful Insights from: Economics Psychology Science Top 7 most important ideas Ideas

More information

MicroMag3 3-Axis Magnetic Sensor Module

MicroMag3 3-Axis Magnetic Sensor Module 1008121 R01 April 2005 MicroMag3 3-Axis Magnetic Sensor Module General Description The MicroMag3 is an integrated 3-axis magnetic field sensing module designed to aid in evaluation and prototyping of PNI

More information

A Load Balancing Technique for Some Coarse-Grained Multicomputer Algorithms

A Load Balancing Technique for Some Coarse-Grained Multicomputer Algorithms A Load Balancing Technique for Some Coarse-Grained Multicomputer Algorithms Thierry Garcia and David Semé LaRIA Université de Picardie Jules Verne, CURI, 5, rue du Moulin Neuf 80000 Amiens, France, E-mail:

More information

0 0-10 5-30 8-39. Rover. ats gotorock getrock gotos. same time compatibility. Rock. withrover 8-39 TIME

0 0-10 5-30 8-39. Rover. ats gotorock getrock gotos. same time compatibility. Rock. withrover 8-39 TIME Verication of plan models using UPPAAL Lina Khatib 1, Nicola Muscettola, and Klaus Havelund 2 NASA Ames Research Center, MS 269-2 Moett Field, CA 94035 1 QSS Group, Inc. 2 RECOM Technologies flina,mus,havelundg@ptolemy.arc.nasa.gov

More information

Using Excel s Solver

Using Excel s Solver Using Excel s Solver Contents Page Answer Complex What-If Questions Using Microsoft Excel Solver........... 1 When to Use Solver Identifying Key Cells in Your Worksheet Solver Settings are Persistent Saving

More information

Temporal Difference Learning in the Tetris Game

Temporal Difference Learning in the Tetris Game Temporal Difference Learning in the Tetris Game Hans Pirnay, Slava Arabagi February 6, 2009 1 Introduction Learning to play the game Tetris has been a common challenge on a few past machine learning competitions.

More information

Active Queue Management

Active Queue Management Active Queue Management TELCOM2321 CS2520 Wide Area Networks Dr. Walter Cerroni University of Bologna Italy Visiting Assistant Professor at SIS, Telecom Program Slides partly based on Dr. Znati s material

More information

Batch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms

Batch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms atch Scheduling for Identical Multi-Tasks Jobs on Heterogeneous Platforms Jean-Marc Nicod (Jean-Marc.Nicod@lifc.univ-fcomte.fr) Sékou iakité, Laurent Philippe - 16/05/2008 Laboratoire d Informatique de

More information

Programming Using Python

Programming Using Python Introduction to Computation and Programming Using Python Revised and Expanded Edition John V. Guttag The MIT Press Cambridge, Massachusetts London, England CONTENTS PREFACE xiii ACKNOWLEDGMENTS xv 1 GETTING

More information

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD

Ethernet. Ethernet Frame Structure. Ethernet Frame Structure (more) Ethernet: uses CSMA/CD Ethernet dominant LAN technology: cheap -- $20 for 100Mbs! first widely used LAN technology Simpler, cheaper than token rings and ATM Kept up with speed race: 10, 100, 1000 Mbps Metcalfe s Etheret sketch

More information

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach

Chapter 5. Linear Inequalities and Linear Programming. Linear Programming in Two Dimensions: A Geometric Approach Chapter 5 Linear Programming in Two Dimensions: A Geometric Approach Linear Inequalities and Linear Programming Section 3 Linear Programming gin Two Dimensions: A Geometric Approach In this section, we

More information

Algebra 2. Linear Functions as Models Unit 2.5. Name:

Algebra 2. Linear Functions as Models Unit 2.5. Name: Algebra 2 Linear Functions as Models Unit 2.5 Name: 1 2 Name: Sec 4.4 Evaluating Linear Functions FORM A FORM B y = 5x 3 f (x) = 5x 3 Find y when x = 2 Find f (2). y = 5x 3 f (x) = 5x 3 y = 5(2) 3 f (2)

More information

The Benefits of Purpose Built Super Efficient Video Servers

The Benefits of Purpose Built Super Efficient Video Servers Whitepaper Deploying Future Proof On Demand TV and Video Services: The Benefits of Purpose Built Super Efficient Video Servers The Edgeware Storage System / Whitepaper / Edgeware AB 2010 / Version1 A4

More information

Biometrical worst-case and best-case scenarios in life insurance

Biometrical worst-case and best-case scenarios in life insurance Biometrical worst-case and best-case scenarios in life insurance Marcus C. Christiansen 8th Scientific Conference of the DGVFM April 30, 2009 Solvency Capital Requirement: The Standard Formula Calculation

More information

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs

Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs CSE599s: Extremal Combinatorics November 21, 2011 Lecture 15 An Arithmetic Circuit Lowerbound and Flows in Graphs Lecturer: Anup Rao 1 An Arithmetic Circuit Lower Bound An arithmetic circuit is just like

More information