CISC 322 Software Architecture. Project Scheduling (PERT/CPM) Ahmed E. Hassan



Similar documents
ICT Project Management. Software Project Planning By J. Ogutu

Operational Research. Project Menagement Method by CPM/ PERT

Project Planning and Scheduling

The work breakdown structure can be illustrated in a block diagram:

Project Management SCM Pearson Education, Inc. publishing as Prentice Hall

PROJECT COMPLETION PROBABILITY AFTER CRASHING PERT/CPM NETWORK

Project Management Chapter 3

Network Calculations

CPM-200: Principles of Schedule Management

Scheduling Glossary Activity. A component of work performed during the course of a project.

Cambridge International AS and A Level Computer Science

Information Technology Project Management

Scheduling Resources and Costs

Project Time Management

ME 407 Mechanical Engineering Design Spring 2016

Network Diagram Critical Path Method Programme Evaluation and Review Technique and Reducing Project Duration

Project Scheduling: PERT/CPM

Project Management Glossary

SE351a: Software Project & Process Management

PROJECT EVALUATION REVIEW TECHNIQUE (PERT) AND CRITICAL PATH METHOD (CPM)

12 Network Scheduling Techniques

PROGRAM EVALUATION AND REVIEW TECHNIQUE (PERT)

Project Scheduling: PERT/CPM

Basic Concepts. Project Scheduling and Tracking. Why are Projects Late? Relationship between People and Effort

SWEN 256 Software Process & Project Management

Time Management. Part 5 Schedule Development. Richard Boser

Project Scheduling and Gantt Charts

Systems Analysis and Design

Project Scheduling & Tracking

ONLINE SUPPLEMENTAL BAPPENDIX PROJECT SCHEDULES WITH PERT/CPM CHARTS

CRITICAL PATH METHOD (CEE 320 VDC SEMINAR)

8. Project Time Management

10 Project Management with PERT/CPM

Chapter 4: Project Time Management

Chapter 6: Project Time Management. King Fahd University of Petroleum & Minerals SWE 417: Software Project Management Semester: 072

MECH 896 Professional Development for MEng Students. Homework Discussion. Scheduling Overview. Winter 2015: Lecture #5 Project Time Management

Collaborative Scheduling using the CPM Method

Importance of Project Schedules. matter what happens on a project. projects, especially during the second half of projects

Test Fragen + Antworten. October 2004 Project Management Wilhelm F. Neuhäuser IBM Corporation 2003

Deming s 14 Points for TQM

Scheduling. Anne Banks Pidduck Adapted from John Musser

March 30, 2007 CHAPTER 4

PROJECT MANAGEMENT Critical Path Method-- Program, Evaluation & Review Technique (CPM/PERT)

Chapter 2: Project Time Management

Chapter-6. Developing a Project Plan

22 Project Management with PERT/CPM

MnDOT Project Management Office Presents: Schedule Float. Presenter: Jonathan McNatty, PSP Senior Schedule Consultant DRMcNatty & Associates, Inc.

7. PROJECT MANAGEMENT

Egypt Scholars Presented by Mohamed Khalifa Hassan Jan 2014

Project and Production Management Prof. Arun Kanda Department of Mechanical Engineering Indian Institute of Technology, Delhi

Project Management Dr. James A. Bednar

Chapter 1.7 Project Management. 1. Project financing is one of the step of project management- State True or False

Test Fragen. October 2003 Project Management Wilhelm F. Neuhäuser IBM Corporation 2003

Project management: a simulation-based optimization method for dynamic time-cost tradeoff decisions

PERT/CPM. Network Representation:

Object-Oriented Analysis. with the Unified Process. John W. Satzinger Southwest Missouri State University. Robert B. Jackson Brigham Young University

SYSTEMS ANALYSIS AND DESIGN DO NOT COPY

Scheduling Fundamentals, Techniques, Optimization Emanuele Della Valle, Lecturer: Dario Cerizza

MnDOT Project Management Office Presents: Schedule Updates. Presenter: Eric Costantino Senior Schedule Consultant DRMcNatty & Associates, Inc.

Information Technology Project Management, Sixth Edition. Note: See the text itself for full citations. More courses at cie-wc.edu

Should I Resource Load My Schedule?

A UNIT BASED CRASHING PERT NETWORK FOR OPTIMIZATION OF SOFTWARE PROJECT COST

Project Planning. Lecture Objectives. Basic Reasons for Planning. Planning. Project Planning and Control System. Planning Steps

Appendix A of Project Management. Appendix Table of Contents REFERENCES...761

CSC 443: IT Project Management Midterm 1 exam - Spring semester March 21 st, 2012

Module 11. Software Project Planning. Version 2 CSE IIT, Kharagpur

Critical Path Analysis & PERT Charts (taken from

A Generalized PERT/CPM Implementation in a Spreadsheet

Project management Project Management

Network analysis: P.E.R.T,C.P.M & Resource Allocation Some important definition:

Project Time Management

Second Edition. Mantel, Meredith, Shafer, and Sutton. John Wiley and Sons, Inc. Prepared by Scott M. Shafer. Copyright 2005 John Wiley & Sons, Inc.

Use project management tools

pm4dev, 2015 management for development series Project Schedule Management PROJECT MANAGEMENT FOR DEVELOPMENT ORGANIZATIONS

Chapter 6: Project Time Management

Project Management DISCUSSION QUESTIONS

SYLLABUS 12/14/2012 CONE 425 Construction Planning, Scheduling, & Control Spring, 2013 Rev. 0. Syllabus Spring, 2013

Dashboards and Reporting for Program Management

PMP : Project Management Professional Study Guide Kim Heldman

專 案 管 理 實 務 嘉 義 縣 政 府 學 分 班 : 管 理 實 務 專 題 2006 中 正 大 學 企 管 系 助 理 教 授 周 瑞 生

The management of the projects with MS Project

Software Project Management

A. O. Odior Department of Production Engineering University of Benin, Edo State.

ANALYSIS OF PROJECT PLANNING USING CPM AND PERT

Retained Fire Fighters Union. Introduction to PRINCE2 Project Management

Review on Using Packages to Enhance the Teaching of Critical Path Networks

Chapter 3 Managing the Information Systems (IS) Project

Table of Contents Author s Preface... 3 Table of Contents... 5 Introduction... 6 Step 1: Define Activities... 7 Identify deliverables and decompose

Learning Objectives. Learning Objectives (continued) Importance of Project Schedules

Managing Information Systems Project Time and Resources

Chapter 6 (part 1) Project Time Management. (Project Scheduling)

HOW TO START WORKING WITH P2WARE PROJECT MANAGER 7?

Project management using Excel spreadsheets: The case of Jules Event Planning Company

Quantitative Risk Analysis with Microsoft Project

Chapter 11 Monte Carlo Simulation

Lecture 6: Project Time Management By: Prof. Lili Saghafi. Information Technology Project Management, Fifth Edition

Notes on the Critical Path Method for project planning and management.

Introduction to Project Management ECE 480. Erik Goodman

Module 3: The Project Planning Stage

Unit 4: Time Management (PMBOK Guide, Chapter 6)

Transcription:

CISC 322 Software Architecture Project Scheduling (PERT/CPM) Ahmed E. Hassan

Project A project is a temporary endeavour undertaken to create a "unique" product or service A project is composed of a number of related activities that are directed to the accomplishment of a desired objective A project starts when at least one of its activities is ready to start A project is completed when all of its activities have been completed

Activity An activity Must have a clear start and a clear stop Must have a duration that can be forecasted May require the completion of other activities before it begins should have some deliverables for ease of monitoring

Project plan A project plan is a schedule of activities indicating The start and stop for each activity. The start and stop of each activity should be visible and easy to measure When a resource is required Amount of required project resources

Project Planning Managers should consider: Resource availability Resource allocation Staff responsibility Cash flow forecasting Mangers need to monitor and re-plan as the project progresses towards its predefined goal

Work Breakdown Structure (WBS) Contains a list of activities for a project derived from Previous experience Expert brainstorming WBS helps in identifying the main activities break each main activity down into sub-activities which can further be broken down into lower level sub-activities WBS problems: Too many levels Too few levels

Creating WBS Phase based approach Product based approach Hybrid approach

Example of Phase-based Approach Work Breakdown Structure (an extract) Software project Requirements Analysis System Design Coding Testing Data Design Process Design

Phase-based Approach Advantage Activity list likely complete and nonoverlapping WBS gives a structure that can be refined as the project proceeds used for determining dependencies among activities Disadvantage May miss some activities related to final product

Product based approach Product Breakdown Structure (PBS) Shows how a system can be broken down into different products for development A Product Breakdown Structure (an extract) Inventory Control Inventory Databases Item Processing Management Reporting Item Database Vendor Database Item Purchasing Item Sales Item Reporting Sales Reporting Item Addition Item Deletion Item Modification Invoicing subsystem Sales Order Processing

Hybrid Approach A mix of the phase-based and productbased approaches (most commonly used) The WBS consists of a list of the products of the project; and a list of phases for each product

Hybrid WBS Software Project System Installation Software component User manual User Training Analyse requirements Review requirements Analyse requirements Design course Detailed design Outline design Design manual Write materials Integrate system Detailed design Document manual Print course materials Test system Code software Capture screens Training Deliver system Test software Print Manual

IBM MITP (Managing the Implementation of Total Project) IBM MITP is 5 levels: Level 1: Project Level 2: Deliverables (software, manuals etc) Level 3: Components: key work items that lead to the production of the deliverables Level 4: Work-packages: major work items or collection of related activities to produce a component (phases) Level 5: Tasks/activities (individual responsibility)

Project Scheduling Steps Define activities Sequence activities Estimate time Develop schedule Techniques Gantt chart CPM PERT Microsoft Project

Gantt Chart Developed in 1918 by H.L. Gantt Graph or bar chart with a bar for each project activity that shows passage of time Provides visual display of project schedule Limitations Does not clearly indicate details regarding the progress of activities Does not give a clear indication of interrelation between the activities

Example of Gantt Chart Activity Month 0 2 4 6 8 10 Design house and obtain financing Lay foundation Order and receive materials Build house Select paint Select carpet Finish work 1 3 5 7 9 Month

PERT/CPM PERT (Program Evaluation and Review Technique) Developed by U.S. Navy for Polaris missile project Developed for R&D projects where activity times are generally uncertain CPM (Critical Path Method) Developed by DuPont & Remington Rand Developed for industrial projects where activity times are generally known

PERT/CPM CPM and PERT have been used to plan, schedule, and control a wide variety of projects: R&D of new products and processes Construction of buildings and highways Maintenance of large and complex equipment Design and installation of new systems

Program Evaluation and Review Primary objectives: Technique (PERT) Shortest possible time Coping with uncertain activity completion times, e.g.: For a particular activity The most likely completion time is 4 weeks but It could be anywhere between 3 weeks and 8 weeks Developed by the US Navy for the planning and control of the Polaris missile program

Critical Path Method (CPM) Primary objectives: Plan for the fastest completion of the project Identify activities whose delays is likely to affect the completion date for the whole project Very useful for repetitive activities with well known completion time Developed by Du Pont Chemical Company and published in 1958 Can we decrease the completion time by spending more money

CPM Calculation The forward pass calculate the earliest start dates of the activities to calculate the project completion date The backward pass calculate the latest start dates for activities to identify the critical path from the graph

Critical Path and Events Critical event: an event that has zero slack Critical path: a path joining those critical events Benefit of Critical Path Analysis: During planning stage Shortening the critical path will reduce the overall project duration During management stage Pay more attention to those activities which fall in the critical path

Activity Float Time allowed for an activity to delay 3 different types: Total float (without affecting project completion) = latest start date earliest start date Free float (without affecting the next activity) = earliest start date of next activity latest end date of previous activity Interfering float (= total float - free float)

Scheduling Network for House Building Project Start 1 3 Design house and obtain financing Lay foundations 2 2 3 1 5 1 Order and receive materials Build house 4 3 Select paint 6 1 Select carpet Finish work 7 1

Critical Pah Start 1 3 2 2 4 3 7 1 3 6 1 5 1 1 A: 1-2-4-7 3 + 2 + 3 + 1 = 9 months B: 1-2-5-6-7 3 + 2 + 1 + 1 + 1 = 8 months C: 1-3-4-7 3 + 1 + 3 + 1 = 8 months D: 1-3-5-6-7 3 + 1 + 1 + 1 + 1 = 7 months Critical path Longest path through a network Minimum project completion time

Activity Start Times Start 1 3 2 2 3 1 5 1 Start at 3 months Start at 5 months 4 3 6 1 Start at 6 months Finish at 9 months 7 1 Finish

Mode Configuration Activity number Earliest start 1 0 3 Earliest finish 3 0 3 Latest finish Activity duration Latest start

Forward Pass Start at the beginning of CPM/PERT network to determine the earliest activity times Earliest Start Time (ES) earliest time an activity can start ES = maximum EF of immediate predecessors Earliest finish time (EF) earliest time an activity can finish earliest start time plus activity time EF= ES + t

Earliest Activity Start and Finish Times Start Lay foundations 2 3 5 2 4 5 8 3 Build house 1 0 3 3 Design house and obtain financing 3 3 4 1 5 5 6 Order and receive materials 1 Select pain 6 6 7 1 Select carpet 7 8 9 1 Finish work

Backward Pass Determines latest activity times by starting at the end of CPM/PERT network and working forward Latest Start Time (LS) Latest time an activity can start without delaying critical path time LS= LF - t LS= LF - t Latest finish time (LF) latest time an activity can be completed without delaying critical path time LS = minimum LS of immediate predecessors

Start Latest Activity Start and Finish Times Lay foundations 2 3 5 2 3 5 Build house 4 5 8 3 5 8 1 0 3 3 0 3 Design house and obtain financing 3 3 4 1 4 5 5 5 6 Order and receive materials 1 6 7 Select pain 6 6 7 1 7 8 Select carpet 7 8 9 1 8 9 Finish work

Activity Slack Activity LS ES LF EF Slack S *1 0 0 3 3 0 *2 3 3 5 5 0 3 4 3 5 4 1 *4 5 5 8 8 0 5 6 5 7 6 1 6 7 6 8 7 1 *7 8 8 9 9 0 * Critical Path Slack: amount of time an activity can be delayed without delaying the project activity slack = LS - ES = LF - EF Critical activities: have zero slack and lie on a critical path.

Probabilistic Time Estimates Beta distribution a probability distribution traditionally used in CPM/PERT Mean (expected time): t = a + 4m + b 6 where Variance: σ 2 = b - a 6 a = optimistic estimate m = most likely time estimate b = pessimistic time estimate 2

Examples of Beta Distributions P(time) P(time) a m t b a t m b Time Time P(time) a m = t Time b

Project Network with Probabilistic Time Estimates: Example Start Equipment installation 1 6,8,10 System development 2 3,6,9 Position recruiting 3 1,3,5 Manual testing 5 2,3,4 4 2,4,12 Job Training 6 3,4,5 Equipment testing and modification System training 8 3,7,11 9 2,4,6 System testing Final debugging 10 1,4,7 11 1,10,13 System changeover Finish Orientation 7 2,2,2

Activity Time Estimates TIME ESTIMATES (WKS) MEAN TIME VARIANCE ACTIVITY a m b t б 2 1 6 8 10 8 0.44 2 3 6 9 6 1.00 3 1 3 5 3 0.44 4 2 4 12 5 2.78 5 2 3 4 3 0.11 6 3 4 5 4 0.11 7 2 2 2 2 0.00 8 3 7 11 7 1.78 9 2 4 6 4 0.44 10 1 4 7 4 1.00 11 1 10 13 9 4.00

Activity Early, Late Times, and Slack ACTIVITY t б 2 ES EF LS 1 8 0.44 0 8 1 9 1 2 6 1.00 0 6 0 6 0 3 3 0.44 0 3 2 5 2 4 5 2.78 8 13 16 21 8 5 3 0.11 6 9 6 9 0 6 4 0.11 3 7 5 9 2 7 2 0.00 3 5 14 16 11 8 7 1.78 9 16 9 16 0 9 4 0.44 9 13 12 16 3 10 4 1.00 13 17 21 25 8 11 9 4.00 16 25 16 25 0 LF S

Earliest, Latest, and Slack 1 0 8 4 8 13 Critical Path 8 1 9 5 16 21 10 13 17 Start 2 0 6 6 0 6 3 0 3 5 6 9 3 6 9 6 3 7 8 9 16 7 9 16 9 9 13 4 12 16 1 0 3 11 16 25 9 16 25 Finish 3 2 5 4 5 9 7 3 5 2 14 16

Total project variance σ 2 = б 2 + 2 2 2 б 52 +б 82 +б 2 11 σ = 1.00 + 0.11 + 1.78 + 4.00 = 6.89 weeks

Probabilistic Network Analysis Determine probability that project is completed within specified time where Z = x - µ σ µ = t p = project mean time σ = project standard deviation x = proposed project time Z = number of standard deviations x is from mean

Normal Distribution Of Project Time Probability Zσ µ = t p x Time

Probability of Completion Time What is the probability that the project is completed within 30 weeks? P(x 30 weeks) µ = 25 x = 30 Time (weeks) σ x - µ 2 = 6.89 weeks Z = σ σ = 6.89 30-25 = 2.62 σ = 2.62 weeks = 1.91 From Z scores Table, a Z score of 1.91 corresponds to a probability of 0.4719. Thus P(30) = 0.4719 + 0.5000 = 0.9719

Probability of Completion Time What is the probability that the project is completed within 22 weeks? x - µ P(x 22 weeks) σ 2 = 6.89 weeks Z = σ σ = 6.89 = 22-25 2.62 σ = 2.62 weeks = -1.14 x = 22 µ = 25 Time (weeks) From Z scores Table, a Z score of -1.14 corresponds to a probability of 0.3729. Thus P(22) = 0.5000-0.3729 = 0.1271

Limitations of PERT/CPM Assumes clearly defined, independent activities Specified precedence relationships Activity times (PERT) follow beta distribution Subjective time estimates Over-emphasis on critical path Monte Carlo Simulations

Project Crashing Crashing reducing project time by expending additional resources Crash time an amount of time an activity is reduced Crash cost cost of reducing activity time Goal reduce project duration at minimum cost

Project Crashing: Example 1 12 2 8 4 12 7 4 3 4 5 4 6 4

Project Crashing: Example $7,000 $6,000 Crash cost $5,000 Crashed activity $4,000 Slope = crash cost per week $3,000 Normal activity $2,000 Normal cost $1,000 Crash time Normal time 0 2 4 6 8 10 12 14 Weeks

Normal Activity and Crash Data ACTIVITY NORMAL TIME (WEEKS) CRASH TIME (WEEKS) NORMAL COST CRASH COST TOTAL ALLOWABLE CRASH TIME (WEEKS) CRASH COST PER WEEK 1 12 7 $3,000 $5,000 5 $400 2 8 5 2,000 3,500 3 500 3 4 3 4,000 7,000 1 3,000 4 12 9 50,000 71,000 3 7,000 5 4 1 500 1,100 3 200 6 4 1 500 1,100 3 200 7 4 3 15,000 22,000 1 7,000 $75,000 $110,700

1 12 $500 2 8 $7000 4 12 $700 7 4 Project Duration: 36 weeks FROM $400 3 4 5 4 $3000 $200 6 4 $200 TO 1 7 $500 $7000 2 4 8 12 $700 7 4 Project Duration: 31 weeks Additional Cost: $2000 $400 3 4 5 4 $3000 $200 6 4 $200

Time-Cost Relationship Crashing costs increase as project duration decreases Indirect costs increase as project duration increases Reduce project length as long as crashing costs are less than indirect costs

Time-Cost Tradeoff Minimum cost = optimal project time Total project cost Indirect cost Cost ($) Direct cost Crashing Project duration Time

References Hughes, B., and Cotterell, M. (1999) Software Project Management, 2 nd edition, McGraw-Hill. (slides) Pfleeger, S.L. (1998) Software Engineering: Theory and Practice, Prentice Hall. Roberta Russell & Bernard W. Taylor, III (2006) Operations Management - 5th Edition, John Wiley & Sons (slides)

Copyright 2006 John Wiley & Sons, Inc. All rights reserved. Reproduction or translation of this work beyond that permitted in section 117 of the 1976 United States Copyright Act without express permission of the copyright owner is unlawful. Request for further information should be addressed to the Permission Department, John Wiley & Sons, Inc. The purchaser may make back-up copies for his/her own use only and not for distribution or resale. The Publisher assumes no responsibility for errors, omissions, or damages caused by the use of these programs or from the use of the information herein.