Excursions in Modern Mathematics, 7e: 8.4 - 2Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.

Slides:



Advertisements
Similar presentations
Goal Setting and Time Management Using Values to Map Your Course
Advertisements

Excursions in Modern Mathematics Sixth Edition
Chapter 3: Planning and Scheduling Lesson Plan
Copyright © 2008 Pearson Education, Inc. Slide 13-1 Unit 13C Scheduling Problems.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Scheduling with Independent Tasks Notes 9 – Section 8.7.
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.
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.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 15 Chances, Probabilities, and Odds 15.1Random Experiments and.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Copyright © 2008 Pearson Education, Inc. Chapter 11 Probability and Calculus Copyright © 2008 Pearson Education, Inc.
The Mathematics of Scheduling Chapter 8. How long does it take to build a house? It depends on Size of the house Type of construction Number of workers.
A processor is a person, machine, computer, or robot etc., which works on a task. To solve a scheduling problem typically the tasks are scheduled to minimize.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 7 The Mathematics of Networks 7.1Trees 7.2Spanning Trees 7.3 Kruskal’s.
Excursions in Modern Mathematics Sixth Edition
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 10 The Mathematics of Money 10.1Percentages 10.2Simple Interest.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Project Management Chapter 8 (Crashing).
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Critical Path Analysis
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
Planning and Scheduling Chapter 3 Jennifer Holland February 2, 2010.
Spring 2015 Mathematics in Management Science Machine Scheduling Problem Statement of MSP Assumptions & Goals Priority Lists List Processing Algorithm.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
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 Independent Tasks Scheduling Idpt Tasks Optimal Schedules Reducing FinTime.
Spring 2015 Mathematics in Management Science Critical Path Scheduling Critical Paths & Times Backflow Algorithm Critical Times PL Critical Path Algorithm.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 5 The Mathematics of Getting Around 5.1Euler Circuit Problems 5.2What.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
CSCI1600: Embedded and Real Time Software Lecture 24: Real Time Scheduling II Steven Reiss, Fall 2015.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling.
CSCI-256 Data Structures & Algorithm Analysis Lecture Note: Some slides by Kevin Wayne. Copyright © 2005 Pearson-Addison Wesley. All rights reserved. 10.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 6 The Mathematics of Touring 6.1Hamilton Paths and Hamilton Circuits.
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.
Unit 2 Hamiltonian Circuits. Hamiltonian Circuit: A tour that starts at a vertex of a graph and visits each vertex once and only once, returning to where.
Chapter 3: Planning and Scheduling. Planning and Scheduling - Topics Resolving Conflict via Coloring Bin Packing Scheduling Tasks Critical-Path Schedules.
Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 4 The Mathematics of Apportionment 4.1Apportionment Problems 4.2Hamilton’s.
8 The Mathematics of Scheduling
Excursions in Modern Mathematics Sixth Edition
8 The Mathematics of Scheduling
© 2015 Pearson Education, Inc.
Excursions in Modern Mathematics Sixth Edition
© 2015 Pearson Education, Inc.
الاسبوع الإرشادي.
Section 2.5 Graphing Techniques; Transformations
AQR Unit 7 Discrete Mathematics
Scheduling Theory By Sarah Walker 12/4/2018.
Critical Path Method Farrokh Alemi, Ph.D.
CSCI1600: Embedded and Real Time Software
Copyright © 2013 Pearson Education, Inc. All rights reserved
Mathematical Models: Building Functions
Section 2.5 Graphing Techniques; Transformations
CSCI1600: Embedded and Real Time Software
Planning and Scheduling
Planning and Scheduling
Critical Path Scheduling (Txt: 8.5 & SOL: DM.10)
List Processing (SOL: DM.10)
CSE 417: Algorithms and Computational Complexity
Copyright © 2013 Elsevier Inc. All rights reserved.
Warm Up – 3/25 - Tuesday Bill is taking a sales trip starting in Atlanta. Draw a graph that represents this table. Find the nearest neighbor tour from.
Warm Up – 3/27 - Thursday Write a priority list using the decreasing time algorithm. Do you see any problem with this?
Basic Matrix Operations
Chapter 3: Planning and Scheduling Lesson Plan
Data Structures and Algorithm Analysis Lecture 8
Presentation transcript:

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. 8 The Mathematics of Scheduling 8.1The Basic Elements of Scheduling 8.2Directed Graphs (Digraphs) 8.3 Scheduling with Priority Lists 8.4The Decreasing-Time Algorithm 8.5Critical Paths 8.6The Critical-Path Algorithm 8.7Scheduling with Independent Tasks

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Our first attempt to find a good priority list is to formalize what is a seemingly sensible and often used strategy: Do the longer jobs first and leave the shorter jobs for last. In terms of priority lists, this strategy is implemented by creating a priority list in which the tasks are listed in decreasing order of processing times– longest first, second longest next, and so on. (When there are two or more tasks with equal processing times,we order them randomly.) The Decreasing-Time Algorithm

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. A priority list in which the tasks are listed in decreasing order of processing times is called, not surprisingly, a decreasing-time priority list, and the process of creating a schedule using a decreasing-time priority list is called the decreasing-time algorithm. The Decreasing-Time Algorithm

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. The figure shows, once again, the project digraph for the Martian Habitat Unit building project. To use the decreasing-time algorithm we first prioritize the 15 tasks in a decreasing- time priority list. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Decreasing-time priority list: AD(8), AP(7), IW(7), AW(6), FW(6), AF(5), IF(5), ID(5), IP(4), PL(4), HU(4), PU(3), PD(3), EU(2), IC(1) Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Using the decreasing-time algorithm with N = 2 processors, we get this schedule with project finishing time Fin = 42 hours. Example 8.9Building That Dream Home on Mars: Part 4

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. When looking at the finishing time under the decreasing-time algorithm, one can’t help but feel disappointed. The sensible idea of prioritizing the longer jobs ahead of the shorter jobs turned out to be somewhat of a dud–at least in this example! What went wrong? If we work our way backward from the end, we can see that we made a bad choice at T = 33 hours. At this point there were three ready tasks [PD(3), EU(2), and IC(1)], and both processors were available. Weaknesses of this Algorithm

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. Based on the decreasing-time priority list, we chose the two “longer” tasks, PD(3) and EU(2) ahead of the short task, IC(1). This was a bad move! IC(1) is a much more critical task than the other two because we can’t start task FW(6) until we finish task IC(1). Had we looked ahead at some of the tasks for which PD, EU, and IC are precedent tasks, we might have noticed this. Weaknesses of this Algorithm

Excursions in Modern Mathematics, 7e: Copyright © 2010 Pearson Education, Inc. An even more blatant example of the weakness of the decreasing-time algorithm occurs at the very start of this schedule when the algorithm fails to take into account that task AF(5) should have a very high priority. Why? AF(5) is one of the two tasks that must be finished before IF(5) can be started, and IF(5) must be finished before IW(7) can be started, which must be finished before IP(4) and ID(5) can be started, and so on down the line. Weaknesses of this Algorithm