1 / 79

Session 4a

Session 4a. Overview. More Network Models Assignment Model (Contract Bidding) “Big Cost” trick Project Management (House Building) More binary / integer tricks Critical Path / Slack Time Excel trick: Conditional Formatting Cost Crashing Changing an objective to a constraint

lisbet
Download Presentation

Session 4a

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Session 4a

  2. Overview More Network Models • Assignment Model (Contract Bidding) • “Big Cost” trick • Project Management (House Building) • More binary / integer tricks • Critical Path / Slack Time • Excel trick: Conditional Formatting • Cost Crashing • Changing an objective to a constraint • Issues with Integers • Location Analysis (Hospital Location) Decision Models -- Prof. Juran

  3. Contract Bidding Example A company is taking bids on four construction jobs. Three contractors have placed bids on the jobs. Their bids (in thousands of dollars) are given in the table below. (A dash indicates that the contractor did not bid on the given job.) Contractor 1 can do only one job, but contractors 2 and 3 can each do up to two jobs. Decision Models -- Prof. Juran

  4. Formulation Decision Variables Which contractor gets which job(s). Objective Minimize the total cost of the four jobs. Constraints Contractor 1 can do no more than one job. Contractors 2 and 3 can do no more than two jobs each. Contractor 2 can’t do job 4. Contractor 3 can’t do job 1. Every job needs one contractor. Decision Models -- Prof. Juran

  5. Formulation Decision Variables Define Xij to be a binary variable representing the assignment of contractor i to job j. If contractor i ends up doing job j, then Xij = 1. If contractor i does not end up with job j, then Xij = 0. Define Cij to be the cost; i.e. the amount bid by contractor i for job j. Objective Minimize Z = Decision Models -- Prof. Juran

  6. Formulation Constraints for all j. for i = 1. for i = 2, 3. Decision Models -- Prof. Juran

  7. Solution Methodology Decision Models -- Prof. Juran

  8. Solution Methodology Notice the very large values in cells B4 and E3. These specific values (10,000) aren’t important; the main thing is to assign these particular contractor-job combinations costs so large that they will never be in any optimal solution. Decision Models -- Prof. Juran

  9. Solution Methodology Decision Models -- Prof. Juran

  10. Solution Methodology Decision Models -- Prof. Juran

  11. Optimal Solution Decision Models -- Prof. Juran

  12. Conclusions The optimal solution is to award Job 4 to Contractor 1, Jobs 1 and 3 to Contractor 2, and Job 2 to Contractor 3. The total cost is $182,000. Decision Models -- Prof. Juran

  13. Sensitivity Analysis • What is the “cost” of restricting Contractor 1 to only one job? • How much more can Contractor 1 bid for Job 4 and still get the job? Decision Models -- Prof. Juran

  14. Decision Models -- Prof. Juran

  15. Conclusions • The sensitivity report indicates a shadow price of –2 (cell E29). • (Allowing Contractor 1 to perform one additional job would reduce the total cost by 2,000.) • The allowable increase in the bid for Job 4 by Contractor 1 is 3. • (He could have bid any amount up to $43,000 and still have won that job.) Decision Models -- Prof. Juran

  16. Network Representation Con. 1 Con. 2 Con. 3 Job 1 Job 2 Job 3 Job 4 Decision Models -- Prof. Juran

  17. Optimal Solution Con. 1 Con. 2 Con. 3 44 51 40 47 Job 1 Job 2 Job 3 Job 4 Decision Models -- Prof. Juran

  18. House-Building Example Decision Models -- Prof. Juran

  19. Managerial Problem Definition Find the critical path and the minimum number of days needed to build the house. Decision Models -- Prof. Juran

  20. Network Representation F 6 1 3 4 G 3 A 5 E 4 0 Start 5 End C 10 B 8 D 5 2 Decision Models -- Prof. Juran

  21. Formulation Decision Variables We are trying to decide when to begin and end each of the activities. Objective Minimize the total time to complete the project. Constraints Each activity has a fixed duration. There are precedence relationships among the activities. We cannot go backwards in time. Decision Models -- Prof. Juran

  22. Formulation Decision Variables Define the nodes to be discrete events. In other words, they occur at one exact point in time. Our decision variables will be these points in time. Define ti to be the time at which node i occurs, and at which time all activities preceding node i have been completed. Define t0 to be zero. Objective Minimize t5. Decision Models -- Prof. Juran

  23. Formulation Constraints There is really one basic type of constraint. For each activity x, let the time of its starting node be represented by tjx and the time of its ending node be represented by tkx. Let the duration of activity x be represented as dx. For every activity x, For every node i, Decision Models -- Prof. Juran

  24. Solution Methodology Decision Models -- Prof. Juran

  25. Solution Methodology The matrix of zeros, ones, and negative ones (B12:G18) is a means for setting up the constraints. The sumproduct functions in H12:H18 calculate the elapsed time between relevant pairs of nodes, corresponding to the various activities. The duration times of the activities are in J12:J18. Decision Models -- Prof. Juran

  26. Solution Methodology Decision Models -- Prof. Juran

  27. Solution Methodology Decision Models -- Prof. Juran

  28. Optimal Solution Decision Models -- Prof. Juran

  29. Conclusions The project will take 26 days to complete. The only activity that is not critical is the electrical wiring. Decision Models -- Prof. Juran

  30. CPM Jargon Any activity for which is said to have slack time, the amount of time by which that activity could be delayed without affecting the overall completion time of the whole project. In this example, only activity D has any slack time (13 – 5 = 8 units of slack time). Decision Models -- Prof. Juran

  31. CPM Jargon Any activity x for which is defined to be a “critical” activity, with zero slack time. Decision Models -- Prof. Juran

  32. F 6 1 3 4 G 3 A 5 E 4 0 Start 5 End C 10 B 8 D 5 2 CPM Jargon Every network of this type has at least one critical path, consisting of a set of critical activities. In this example, there are two critical paths: A-B-C-G and A-B-E-F-G. Decision Models -- Prof. Juran

  33. Excel Tricks: Conditional Formatting Decision Models -- Prof. Juran

  34. Critical Activities: Using the Solver Answer Report Decision Models -- Prof. Juran

  35. House-Building Example, Continued Suppose that by hiring additional workers, the duration of each activity can be reduced. Use LP to find the strategy that minimizes the cost of completing the project within 20 days. Decision Models -- Prof. Juran

  36. Crashing Parameters Decision Models -- Prof. Juran

  37. Managerial Problem Definition Find a way to build the house in 20 days. Decision Models -- Prof. Juran

  38. Formulation Decision Variables Now the problem is not only when to schedule the activities, but also which activities to accelerate. (In CPM jargon, accelerating an activity at an additional cost is called “crashing”.) Objective Minimize the total cost of crashing. Decision Models -- Prof. Juran

  39. Formulation Constraints The project must be finished in 20 days. Each activity has a maximum amount of crash time. Each activity has a “basic” duration. (These durations were considered to have been fixed in Part a; now they can be reduced.) There are precedence relationships among the activities. We cannot go backwards in time. Decision Models -- Prof. Juran

  40. Formulation Decision Variables Define the number of days that activity x is crashed to be Rx. For each activity there is a maximum number of crash days Rmax, x Define the crash cost per day for activity x to be Cx Objective Minimize Z = Decision Models -- Prof. Juran

  41. Formulation Constraints For every activity x, For every activity x, For every node i, Decision Models -- Prof. Juran

  42. Solution Methodology Decision Models -- Prof. Juran

  43. Solution Methodology G3 now contains a formula to calculate the total crash cost. The new decision variables (how long to crash each activity x, represented by Rx) are in M12:M18. G8 contains the required completion time, and we will constrain the value in G6 to be less than or equal to G8. The range J12:J18 calculates the revised duration of each activity, taking into account how much time is saved by crashing. Decision Models -- Prof. Juran

  44. Solution Methodology Decision Models -- Prof. Juran

  45. Solution Methodology Decision Models -- Prof. Juran

  46. Optimal Solution Decision Models -- Prof. Juran

  47. F 6 1 3 4 G 3 A 3 E 3 0 Start 5 End C 9 B 5 D 5 2 Conclusions It is feasible to complete the project in 20 days, at a cost of $145. Decision Models -- Prof. Juran

  48. Conclusions Decision Models -- Prof. Juran

  49. An Alternative Solution Decision Models -- Prof. Juran

  50. Excel Tricks: VLOOKUP Looks for a specific value in the left column of a table and finds the row where that value appears, then returns the value corresponding to another specified column in that row. Decision Models -- Prof. Juran

More Related