Spring 2015 Mathematics in Management Science Independent Tasks Scheduling Idpt Tasks Optimal Schedules Reducing FinTime.

Slides:



Advertisements
Similar presentations

Advertisements

Math for Liberal Studies. There is a list of numbers called weights These numbers represent objects that need to be packed into bins with a particular.
Copyright © 2008 Pearson Education, Inc. Slide 13-1 Unit 13C Scheduling Problems.
1 EE5900 Advanced Embedded System For Smart Infrastructure RMS and EDF Scheduling.
§3 Shortest Path Algorithms Given a digraph G = ( V, E ), and a cost function c( e ) for e  E( G ). The length of a path P from source to destination.
G53OPS Operating Systems Graham Kendall Q Exam.
Chapter 3: Planning and Scheduling Lesson Plan
Evaluating Heuristics for the Fixed-Predecessor Subproblem of Pm | prec, p j = 1 | C max.
Network Diagramming Network Analysis  The common term for network analysis is PERT  PERT stands for Program Evaluation and Review Technique  The word.
Copyright © 2008 Pearson Education, Inc. Slide 13-1 Unit 13C Scheduling Problems.
Chapter 8: Scheduling “Science is organized knowledge. Wisdom is organized life.” -Immanuel Kant.
Critical Paths and Critical Paths Algorithm Notes 8 – Sections 8.5 & 8.6.
Project Planning. Learning Objectives: By the end of this topic you should be able to:
CPA A house is to have new carpets fitted throughout. The work involved has been divided into a number of tasks, as shown in the table.
Greedy Algorithms Basic idea Connection to dynamic programming
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
Scheduling Two people are camping out and wish to cook a simple supper consisting of soup and hamburgers. In order to prepare the supper, several tasks.
Chapter 7 Networks and Scheduling Project Management for Business, Engineering, and Technology.
Precedence Constrained Scheduling Abhiram Ranade Dept. of CSE IIT Bombay.
CPSC 322, Lecture 9Slide 1 Search: Advanced Topics Computer Science cpsc322, Lecture 9 (Textbook Chpt 3.6) January, 22, 2010.
CPSC 668Set 10: Consensus with Byzantine Failures1 CPSC 668 Distributed Algorithms and Systems Fall 2006 Prof. Jennifer Welch.
MAE 552 – Heuristic Optimization Lecture 26 April 1, 2002 Topic:Branch and Bound.
Job Scheduling Lecture 19: March 19. Job Scheduling: Unrelated Multiple Machines There are n jobs, each job has: a processing time p(i,j) (the time to.
DAST 2005 Week 4 – Some Helpful Material Randomized Quick Sort & Lower bound & General remarks…
D1: Bin Packing Algorithms. D1: Bin-Packing Algorithms Bin-packing algorithms can be used to find ways to complete a number of tasks in given time slots,
Rounding to nearest 10. Rounding helps us count easily in tens and hundreds. Rounding If Bartosh has 7 toy cars, he might say “I have almost.
CRITICAL PATH DEFINITION.  ALL the tasks that determine the end date in your project schedule.  The critical path is the longest PATH, through the “AON”
Spring 2015 Mathematics in Management Science Euler’s Theorems Euler Circuits & Paths ECT & EPT Burning Bridges Fleury’s Algorithm.
Critical Path Analysis
Do you feel that you aren’t getting the results and grades that you deserve in School, College or your University?? Is it sometimes tough for you to find.
False Path. Timing analysis problems We want to determine the true critical paths of a circuit in order to: –To determine the minimum cycle time that.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
Spring 2015 Mathematics in Management Science Machine Scheduling Problem Statement of MSP Assumptions & Goals Priority Lists List Processing Algorithm.
Test 2 Review The test will consist of 3 sections. Section 1 is vocabulary matching. Section 2 is a Rate Per 100 problem. Section 3 is a Unit Rate Problem.
1 Selected Topics on Project Management The Critical Path Dr Marc Conrad 1Marc Conrad.
CSC 413/513: Intro to Algorithms NP Completeness.
LEAST COMMON MULTIPLE The smallest (non-zero) number that is a multiple of two or more numbers.
Spring 2015 Mathematics in Management Science Critical Path Scheduling Critical Paths & Times Backflow Algorithm Critical Times PL Critical Path Algorithm.
1 Job Scheduling for Grid Computing on Metacomputers Keqin Li Proceedings of the 19th IEEE International Parallel and Distributed Procession Symposium.
Outline Introduction Minimizing the makespan Minimizing total flowtime
Mathematics in Management Science
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
WHAT do these words mean? Click me to see if you know Too easy? Click here.
Workload Clustering for Increasing Energy Savings on Embedded MPSoCs S. H. K. Narayanan, O. Ozturk, M. Kandemir, M. Karakoy.
Geometry and Measures Upper and Lower Bounds Grade 5.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
The Selection Algorithm : Design & Analysis [10].
Sorting Lower Bounds n Beating Them. Recap Divide and Conquer –Know how to break a problem into smaller problems, such that –Given a solution to the smaller.
Undergraduate course on Real-time Systems Linköping University TDDD07 Real-time Systems Lecture 2: Scheduling II Simin Nadjm-Tehrani Real-time Systems.
Planning and Scheduling.  A job can be made up of a number of smaller tasks that can be completed by a number of different “processors.”  The processors.
Critical Paths and Scheduling Tasks Circuits, Paths, and Schedules.
Critical Path Scheduling (Txt: 8.5 & SOL: DM.10) CLASSWORK (DAY 30) EXAMPLE IN CLASS HOMEWORK (DAY 30): WORKSHEET DAY 30 QUIZ NEXT BLOCK.
The ratio of boys to girls in the 6 th grade is 2 : 3. a. If there are 24 boys, how many girls are there?
Lecture 6: Real-Time Scheduling
8 The Mathematics of Scheduling
Chapter 5: Project Time Management Doddy Prayogo, Ph.D.
Project Scheduling Lecture # 1.
UNIT II Scheduling Procedures & Techniques CRITICAL PATH ANALYSIS
Least Common Multiple LCM 2 Methods
AQR Unit 7 Discrete Mathematics
Scheduling Theory By Sarah Walker 12/4/2018.
CSCI1600: Embedded and Real Time Software
Advanced Analysis of Algorithms
PROJECT MANAGEMENT (BSBI 622)
CSCI1600: Embedded and Real Time Software
Planning and Scheduling
Critical Path Scheduling (Txt: 8.5 & SOL: DM.10)
List Processing (SOL: DM.10)
Scheduling is Difficult
Chapter 3: Planning and Scheduling Lesson Plan
Presentation transcript:

Spring 2015 Mathematics in Management Science Independent Tasks Scheduling Idpt Tasks Optimal Schedules Reducing FinTime

Independent Tasks Tasks are independent when there are no order requirements. In this case, LPA simply says: schedule next task on next proc. Also, for project with independent tasks, DTA=CPA; this is because DTPLs are CTPLs.

Example Suppose have six independent tasks with indicated task times. Scheduling 2 procs with DTA get schedule with FinTime=7. Optimal? NO! Easy to find schedule with FinTime=

Optimal Finishing Time A schedule is optimal if it has the shortest possible completion time. OptFinTime is smallest possible time to finish overall project; can’t beat. Always have OptFinTime ≥ ECT ; here ECT is the length of a critical path (longest path from Start to End).

Optimal Finishing Time Different PLs give different FinTimes. OptFinTime is given by some PL. Too many PLs to check every one. How to tell if a schedule is optimal? Or at least not too far away? Generally not easy to tell, but there are constraints on completion times that can help.

Optimal Finishing Time No schedule will take longer than the total task time TTT=sum all task times. No schedule can complete in less time than ECT=length of a critical path. No schedule can complete in less time than total task time divided by the number of processors.

Optimal Finishing Time No schedule can complete in less time than total task time divided by the number of processors. That is, always have FinTime ≥ TTT / N where TTT = total task time and N = # of processors.

Example Have 150 exams to grade. Each exam takes 1 hour to grade. So, ECT=1. Only get if have 150 TAs to do grading! 50 TAs  FinT=3 30 TAs  FinT=5 40 TAs  FinT=4 ( =150) Best FinT is TTT divided by # TAs where TTT=150 (rounded up ).

Optimal Finishing Time Always have lower bounds FinTime ≥ ECT FinTime ≥ TTT / N where ECT = earliest completion time, TTT = total task time, N = # of processors.

Optimal Finishing Time Always have lower bounds FinTime ≥ ECT FinTime ≥ TTT / N. So, if get schedule with FinTime either ECT or TTT/N, then it is optimal!

Optimal Schedules A schedule is optimal if FinTime = CritTime or FinTime = TTT / N. These not necessary conditions!

Example PL E, D, C, B, A CritTime=12 TTT=25, so TTT/2=[12.5]=13 hence schedule is optimal P1P1 P2P2

Reducing FinTime Suppose we try to decrease FinTime by reducing individual task times. How much effect will this have? Which task times are the most important ones to reduce?

[7][7] [9][9] [ 14 ] [5][5] [6][6] [1][1] 0 Start 0 End If decrease task time for E by 2, … If decrease task time for C by 2, … CritPath S  C  E  F  E Example ECT=14 new ECT=13 new ECT=12