Presentation on theme: "Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 4 th edition Cliff T. Ragsdale."— Presentation transcript:
Spreadsheet Modeling & Decision Analysis A Practical Introduction to Management Science 4 th edition Cliff T. Ragsdale
14-2 Project Management Chapter 14
14-3 Introduction to Project Management Projects can be simple (planning a company picnic) or complex (planning a space shuttle launch). Successfully completing a project requires: –Knowledge of the tasks involved –Accurate estimates of time and resources required –Knowledge of physical and logical relations between the various tasks Project management techniques –Critical Path Method (CPM) –Program Evaluation and Review Technique (PERT) Spreadsheets can be used to manage projects, but dedicated project management software is often more effective.
14-4 An Example: Lightner Construction Tom Lightner owns Lightner Construction, a general contracting company specializing in the construction of single-family residences and small office buildings. Tom frequently has numerous construction projects going on at the same time and needs a formal procedure for planning, monitoring, and controlling each project. He is aware of various project scheduling techniques but has never used them. He wants to see how he might apply such techniques to one of the home-building projects he will be undertaking in the near future. The following slide summarizes each of the major activities required for this project.
14-5 Summary of Activities TimeImmediate RequiredPredecessor ActivityDescription (in days)Activities AExcavate3-- BLay foundation4A CRough plumbing3B DFrame10B EFinish exterior8D FInstall HVAC4D GRough electric6D HSheet rock8C, E, F, G IInstall cabinets5H JPaint5H KFinal plumbing4I LFinal electric2J MInstall flooring4K, L
14-6 An Activity-On-Node (AON) Network Install Cabinets A B C D E F G H I J K L M Excavate Lay Foundation Rough Plumbing Frame Finish Exterior HVAC Rough Electric Sheet Rock Paint Final Plumbing Final Electric Install Flooring
14-7 A Comment of Project Networks Projects can also be depicted using Activity- On-Arc (AOA) networks. This book uses AON networks (which the author views as superior to AOA). Some software packages use AOA networks, so you should at least be aware that they exist.
14-8 An Activity-on-Arc (AOA) Network Excavate Lay Foundation Rough Plumbing Frame Finish Exterior HVAC Rough Electric Sheet Rock Paint Install Cabinets Final Plumbing Final Electric Install Flooring A B C D G F E H I J K L M
14-9 Start and Finish Points AON networks should have unique start and finish points. A B C D E A B C D E start finish
14-10 CPM: An Overview A Forward Pass through the network determines the earliest times each activity can start and finish. A Backward Pass through the network determines the latest times each activity can start and finish without delaying completion of the project. The longest path through the network is the critical path.
14-11 Information Recorded for Each Node i titi EST i EFT i LST i LFT i t i = time required to perform activity i EST i = earliest possible start time for activity i EFT i = earliest possible finish time for activity i LST i = latest possible start time for activity i LFT i = latest possible finish time for activity i
14-12 The Forward Pass The earliest start time (EST) for the initial activity in a project is time zero. The EST of an activity is equal to the latest (or maximum) early finish time of the activities directly preceding it. The EFT of an activity is equal to its EST plus the time required to perform the activity.
14-13 Results of the Forward Pass H E J I K 42 4 L M A F G D C 7 3 B Note: EST H =MAX(EFT C,EFT E,EFT F,EFT G )=25
14-14 The Backward Pass The latest finish time (LFT) for the final activity in a project is equal to its EFT as determined by the forward pass. The LFT for any other activity is equal to the earliest (or minimum) LST of the activities directly following (or succeeding) it. The LST of an activity is equal to its LFT minus the time required to perform the activity.
14-15 Results of the Backward Pass Note: LFT H =MIN(LST I,LST J )=33 LFT D =MIN(LST E,LST F,LST G )=17 LFT B =MIN(LST C,LST D )=7 H E J I K 42 4 L M A F G D C 7 3 B
14-16 The Critical Path Note: Slack = LST i -EST i or LFT i -EFT i H E J I K 42 4 L M A F G D C 7 3 B Slack=0 Slack=15 Slack=0 Slack=4 Slack=2 Slack=0 Slack=2 Slack=0
14-17 Determining The Critical Path Critical activities have zero slack and cannot be delayed without delaying the completion of the project. The slack for non-critical activities represents the amount of time by which the start of these activities can be delayed without delaying the completion of the entire project (assuming that all predecessor activities start at their earliest start times).
14-18 Project Management Using Spreadsheets The early and late start and finish times for project activities can be done in a spreadsheet using array formulas and circular references.
14-19 Array Formulas An array formula can perform multiple calculations using a range of cells and then return either a single result or multiple results. You create array formulas in the same way that you create other formulas, except that you press [Ctrl]+[Shift]+[Enter] to enter the formula.
14-20 Array Formula Examples-I Lets compare several standard Excel functions with their equivalent array formulas… Excel Function =SUMPRODUCT(E5:E17,F5:F17) Array Formula =SUM(E5:E17*F5:F17)
14-21 Array Formula Examples-II Lets compare several standard Excel functions with their equivalent array formulas… Excel Function =SUMIF(E5:E17,">10",F5:F17) Array Formula =SUM(IF(E5:E17>10,F5:F17))
14-22 Array Formula Examples-III Lets compare several standard Excel functions with their equivalent array formulas… Excel Function =COUNTIF(E5:E17,">0") Array Formula =SUM(IF(E5:E17>0,1))
14-23 Array Formula Examples-IV Lets compare several standard Excel functions with their equivalent array formulas… Excel Function =SUMXMY2(E5:E17,F5:F17) Array Formula =SUM((E5:E17-F5:F17)^2)
14-24 Array Formula Examples-IV Lets compare several standard Excel functions with their equivalent array formulas… Excel Function =VARP(E5:E17) Array Formula =AVERAGE((E5:E17-AVERAGE(E5:E17))^2)
14-25 Circular References The array formulas used to implement the project management calculations create circular references. A circular reference occurs when the value in a cell depends on the value in another cell that, in turn, is dependent on the value in the original cell. Usually, a circular reference indicates a formula contains an error – and Excel displays a warning telling you so! Occasionally, a circular reference is needed to accomplish a particular task. This is such an occasion. To tell Excel you intend to use circular references: –Click Tools, Options –Click the Calculation tab. –Select the Iteration option. –Click OK.
14-26 Project Management Example See file Fig14-11.xlsFig14-11.xls Learning Tip! Use the Tools, Formula Auditing, Evaluate Formula command to step through the evaluation of the array formulas for the EST and LFT calculations.
14-27 Important Implementation Issue It is important to use activity labels that are unique and do not appear as substrings within other activity labels. For example, the 26 letters of the English alphabet may be used to uniquely identify up to 26 activities in a project. Using the strings "A1" and "A11" as activity labels wont work –The FIND( ) function would locate "A1" within "A11" (i.e., FIND("A1","A11")=1) -- erroneously identifying activity A11 as a predecessor or successor of activity A1. Using the strings "A01" and "A11" as activity labels easily remedies this situation.
14-28 If you use numbers rather than letters to identify activities, using the numbers 1, 2, 3, …, 9 as activity labels would create matching problems within activity labels 11, 12, 13, …, 19 (among others). This can be avoided easily by applying Excel's "Text" format to cells containing activity labels and immediate predecessors and using two-digit numbers for all activity labels (e.g., 01, 02, 03, …, 09, 10, 11, 12, 13, …, 99). If more than 100 numeric activity labels are needed, three-digit numbers (formatted as text) should be used. Important Implementation Issue
14-29 A Gantt Chart for the Example Problem
14-30 Project Crashing It is often possible to complete activities more quickly than normal by applying more resources (better equipment, overtime, etc). This is referred to as crashing the project. We may want to determine the optimal way of crashing a project to: –complete it more quickly than originally scheduled –keep it on schedule if critical activities were delayed
14-31 Computing Crash Times and Costs See file Fig14-14.xlsFig14-14.xls
14-32 Determining the Earliest Crash Completion Time We can determine the earliest possible (crashed) completion time of a project by solving an LP problem…
14-33 Defining The Decision Variables T i = the time at which activity i begins t i = the normal activity time of activity i C i = the amount of time by which activity i is crashed
14-34 Defining The Objective Minimize the completion time of the last activity (activity M): MIN: T M + t M - C M
14-35 Defining The Constraints For each arc in the project network from activity i to activity j, we need a constraint of the form: T j >= T i + t i - C i
14-36 Summary of the Earliest Completion Time Model S.T.:T B - T A >= t A - C A T C - T B >= t B - C B T D - T B >= t B - C B T E - T D >= t D - C D T F - T D >= t D - C D T G - T D >= t D - C D T H - T C >= t C - C C T H - T E >= t E – C E T H - T F >= t F - C F T H - T G >= t G - C G T I - T H >= t H - C H T J - T H >= t H - C H T K - T I >= t I - C I T L - T J >= t J - C J T M - T K >= t K - C K T M - T L >= t K – C L T i, C i >= 0, for all i C i <= allowable crash days for activity i MIN:T M + t m - C M Note: This model can easily be modified to minimize crash costs.
14-37 Implementing the Model See file Fig14-14.xlsFig14-14.xls
14-39 PERT: An Overview CPM assumes all activity times are known with certainty or can be estimated accurately. PERT accounts for uncertainty in activity times by using three time estimates: a i = duration of activity i assuming the most favorable conditions b i = duration of activity i assuming the least favorable conditions m i = estimate of the most likely duration of activity i PERT then estimates expected duration t i and variance v i of each activitys duration as:
14-40 PERT Overview Continued The expected (or mean) time required to complete any path in the network is the sum of the expected times (the t i ) of the activities on the path. Assuming the individual activity times in a project are independent of one another, we may also calculate the variance of the completion time for any path as the sum of the variances (the v i ) of the activities on the path. PERT considers the path with the largest expected completion time to be the critical path. PERTs reasoning may be flawed...
14-41 PERT Example C A B D a=2 m=4 b=6 t =4 v=0.444 a=8 m=9 b=10 t =9 v=0.111 a=3 m=5 b=7 t =5 v=0.444 a=2 m=8 b=14 t =8 v=4.0 Path:Expected Time: Variance: A - B - D A - C - D = =
14-42 Distribution of Completion Times Path Completion Time Probability Density "Critical" Path A-B-D "Non-Critical" Path A-C-D If we want to finish within 21 days, which path is most critical?
14-43 Simulating a Project Network The solution to the problem with PERT is to use simulation. We can model activity times easily using a triangular distribution Time Required Probability Density amb
14-44 Simulating The Project Network See file Fig14-25.xlsFig14-25.xls
14-45 Microsoft Project Dedicated project management software such as MS Project can greatly simplify the process of organizing, planning, and controlling projects. A trial version of MS Project is included on the CD-ROM accompanying this book.