Critical Path Analysis

Slides:



Advertisements
Similar presentations
Algorithm Design Methods Spring 2007 CSE, POSTECH.
Advertisements

Excursions in Modern Mathematics Sixth Edition
Chapter 3: Planning and Scheduling Lesson Plan
Discrete Math for Computer Science. Mathematical Model Real-world Problem Computerized Solution Abstract Model Transformed Model picture of the real worldpicture.
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.
Critical Paths.
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.
Module 5 – Networks and Decision Mathematics Chapter 24 – Directed Graphs.
Chapter 3 The Greedy Method 3.
Tirgul 12 Algorithm for Single-Source-Shortest-Paths (s-s-s-p) Problem Application of s-s-s-p for Solving a System of Difference Constraints.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
1 Pseudo-polynomial time algorithm (The concept and the terminology are important) Partition Problem: Input: Finite set A=(a 1, a 2, …, a n } and a size.
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.
Shortest Path Algorithm By Weston Vu CS 146. What is Shortest Paths? Shortest Paths is a part of the graph algorithm. It is used to calculate the shortest.
Pseudo-polynomial time algorithm (The concept and the terminology are important) Partition Problem: Input: Finite set A=(a1, a2, …, an} and a size s(a)
The Shortest Path Problem
Chapter 2: Business Efficiency Lesson Plan Business Efficiency  Visiting Vertices-Graph Theory Problem Hamiltonian Circuits  Vacation Planning Problem.
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.
Transportation Model (Powerco) Send electric power from power plants to cities where power is needed at minimum cost Transportation between supply and.
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”
Dijkstra’s Algorithm. 2 Shortest-path Suppose we want to find the shortest path from node X to node Y It turns out that, in order to do this, we need.
Spring 2015 Mathematics in Management Science Bin Packing The Problem The Algorithms.
Networks.
Graphs Their Applications. NC Standard Course of Study Competency Goal 1: The learner will use matrices and graphs to model relationships and solve problems.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we can find a path that goes over all.
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.
IB Business and Management 5.8 Project Management (Critical Path Analysis)
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.
PROJECT MANAGEMENT Approaches
COSC 2007 Data Structures II Chapter 14 Graphs I.
Chapter 2: Business Efficiency Lesson Plan Business Efficiency  Visiting Vertices-Graph Theory Problem Hamiltonian Circuits  Vacation Planning Problem.
Graphs A ‘Graph’ is a diagram that shows how things are connected together. It makes no attempt to draw actual paths or routes and scale is generally inconsequential.
Spring 2015 Mathematics in Management Science Network Problems Networks & Trees Minimum Networks Spanning Trees Minimum Spanning Trees.
Mathematics in Management Science
CIRCUITS, PATHS, AND SCHEDULES Euler and Königsberg.
Algorithm Design Methods 황승원 Fall 2011 CSE, POSTECH.
CSEP 521 Applied Algorithms Richard Anderson Winter 2013 Lecture 3.
A2 Operations Management Critical Path Analysis. How long will it take? n Walls have decided to launch a new Magnum ice cream. Machine delivery will take.
I can describe the differences between Hamilton and Euler circuits and find efficient Hamilton circuits in graphs. Hamilton Circuits I can compare and.
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.
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.
Critical Path Analysis - Worksheet
Chapter 3: Planning and Scheduling. Planning and Scheduling - Topics Resolving Conflict via Coloring Bin Packing Scheduling Tasks Critical-Path Schedules.
Shana Norman Dec 11, 2003 Final Project
Project Management: PERT/CPM
8 The Mathematics of Scheduling
Shortest Path Problems
Excursions in Modern Mathematics Sixth Edition
Chapter 2: Business Efficiency Lesson Plan
Graph Theory Unit 2.
The Taxi Scheduling Problem
Chapter 2: Business Efficiency Lesson Plan
Minimum Spanning Tree.
AQR Unit 7 Discrete Mathematics
Shortest Path.
Chapter 2: Business Efficiency Business Efficiency
Lesson Objective Understand Cascade diagrams and be able to use them to draw resource histograms.
Activity Networks
Route Inspection Which of these can be drawn without taking your pencil off the paper and without going over the same line twice? If we introduce a vertex.
Planning and Scheduling
Planning and Scheduling
List Processing (SOL: DM.10)
CSC 380: Design and Analysis of Algorithms
Chapter 3: Planning and Scheduling Lesson Plan
Presentation transcript:

Critical Path Analysis Scheduling Problems Directed Graphs Critical Paths Earliest Completion Time Mathematics in Management Science Spring 2015

Scheduling Problems Very different from Routing Problems. But, can be represented by a weighted, directed graph. Here the weights are on the vertices instead of the edges. Problem Minimize time required to complete a list of tasks. This part of Scheduling Problem.

Critical Path Analysis For now, assume have unlimited supply of qualified help. But, have restrictions on the order in which some tasks can be completed. Think about building a house.

Example You have responsibility to prepare Thanksgiving dinner. Menu: turkey, stuffing, potatoes, gravy, pie The dinner will require completing a number of tasks.

Example The dinner will require completing a number of tasks. E.g., making the stuffing stuffing the turkey preheating the oven peeling the potatoes making the pie crust, etc., etc. Each task requires certain time to finish

Example With unlimited help, can assign each task to different person. But, not all tasks can be worked on at the same time! Some tasks cannot be started until one or more other tasks are finished. E.g., crust made before pie is filled, before baked turkey cleaned, & stuff made, before stuffed

Order-Requirement Digraph Can represent restrictions on task order via weighted digraph called order-requirement digraph. Abbreviated example (without weights yet): Carve Clean Turkey Stuff Turkey Bake Turkey Thaw Turkey Make Stuffing Make Gravy Serve Cook Potatoes Mash Potatoes Vertices represent tasks and the directed edges show the restrictions on when a task can “run”.

Order-Requirement Digraph work “flows” from left to right, following the arrows. Thaw Turkey Clean Turkey Make Stuffing Stuff Turkey Bake Turkey Cook Potatoes Mash Potatoes Make Gravy Carve Serve A task can be started only after everything “upstream” from it has been completed.

Order-Requirement Digraph Also need to know task time; amount of time required to complete a task. These are wts added to the vertices. Example order-requirement digraphs:

Order-Requirement Digraphs Tasks and order requirement info given via directed graphs (digraphs). A digraph (directed graph) is a graph with arrows on edges that correspond to order requirements. Vertices correspond to tasks; label with weights (numbers) which give the processing times for task.

Example

All together order-requirement digraph represents a “job” All together order-requirement digraph represents a “job”. A path in order-requirement digraph is sequence of tasks that can be done in order (if other tasks completed). The length of a path is the sum of the task times along the path; this is the minimum amount of time required to complete the sequence of tasks.

Easiest question: What is shortest amount of time it takes to complete a job (so, all tasks done) given unlimited amount of help? Answer: the length of the longest path. (Why?) A critical path in an order-requirement digraph is a longest path. (There could be more than one.)

Critical Paths Look at all paths; each has an assoc completion time (sum of all processing times for tasks along the path). A path with the longest processing time is called a critical path. Can find these via backflow algorithm; we use eyeball approach.

Example A-B-C is critical path Paths & their times: A-B-C 55 D-C 52 D-E 47 A-B-C is critical path

Earliest Completion Time The shortest possible time it takes to complete the overall project. You cannot do better than this. A major factor in the overall cost. Just the length of a critical path: ECT=length of critical path

Example A-B-C is critical path ECT = length of A-B-C = 55 Paths & their times: A-B-C 55 D-C 52 D-E 47 A-B-C is critical path ECT = length of A-B-C = 55

Example What are critical paths? What is ECT?

Shortening ECT Problem: How to shorten ECT? Which task times should we decrease? By how much will this decrease the ECT? Must shorten tasks on critical path. May introduce a new critical path.

Example A-B-C is critical path ECT = length of A-B-C = 55 Paths & their times: A-B-C 55 D-C 52 D-E 47 A-B-C is critical path ECT = length of A-B-C = 55 Shortening task D has no effect on ECT. Suppose shorten task A by 5 (so now takes 8). By how much is ECT decreased? new ECT=52

Machine Scheduling Problem How to schedule tasks on identical processors (machines, humans, robots, etc.) to finish a project in as short a time as possible. Attack via List Processing Algorithm.