MGMT 306
Purdue University
| Activity | Predecessors | Duration (days) |
|---|---|---|
| A. Build foundation | 5 | |
| B. Build walls and ceilings | A | 8 |
| C. Build roof | B | 10 |
| D. Put in windows | B | 3 |
| E. Do electrical wiring | B | 5 |
| F. Paint house | C, D | 4 |
Variables: When should we start each task? \[\begin{aligned} x_i & \qquad \text{start time of task $i$ for $i = A,B,C,D,E$}\\ D & \qquad\text{total duration of project} \end{aligned}\]
Objective: \[\begin{aligned} \min\quad&D&&\text{(total duration of project)} \end{aligned}\]
Constraints:
| Activity | Predecessors | Duration (days) |
|---|---|---|
| A. Gather requirements | - | 3 |
| B. Design database schema | A | 2 |
| C. Design user interface | A | 3 |
| D. Set up bakcend architecture | A | 2 |
| E. Implement database layer | B, D | 4 |
| F. Implement frontend scheme | C | 5 |
| G. Integrate frontend and bakcend | E, F | 3 |
| H. System testing | G | 4 |
| Activity | Immediate Pred. | Optimistic | Most likely | Pessimistic |
|---|---|---|---|---|
| A | 3 | 5 | 7 | |
| B | 6 | 7 | 8 | |
| C | A, B | 3 | 7 | 8 |
| D | B | 1 | 5 | 6 |
| E | 3 | 4 | 5 | |
| F | C, D | 4 | 7 | 10 |
| G | D, E | 2 | 6 | 7 |
Assume that the PERT assumptions hold
What is the probability that the project is completed in at most 21 hours?
What is the probability that the project is completed between 21 and 24 hours?
Hint You may need to use a new formula
=norm.dist(x, mean, st_dev, true)
Computes probability that a normal random variable with mean and st_dev is at most x
| Activity | Im. Pred. | Normal Time | C. Time | Normal Cost | C. Cost |
|---|---|---|---|---|---|
| A | - | 7 | 4 | $500 | $800 |
| B | A | 3 | 2 | $200 | $350 |
| C | - | 6 | 4 | $500 | $900 |
| D | C | 3 | 1 | $200 | $500 |
| E | B, D | 2 | 1 | $300 | $550 |
| Activity | Im. Pred. | Normal Time | … | Max crash amt | Unit crash cost |
|---|---|---|---|---|---|
| A | - | 7 | … | 3 | $100 |
| B | A | 3 | … | 1 | $150 |
| C | - | 6 | … | 2 | $200 |
| D | C | 3 | … | 2 | $150 |
| E | B, D | 2 | … | 1 | $250 |
Question. How does the optimal crashing cost change if the deadline is increased to 11 days?
Solution. The deadline constraint has a shadow price of -250 and an allowable increase of 1. Thus, the crashing cost would decrease by 250.
Question. How does the optimal crashing cost change it task B’s times change to normal time 5 and crashed time 4 (costs unchanged)?
Solution. This change would increase the RHS of the B to E precedence relation by 2. As 2 is within the allowable increase and the shadow price of this constraint is 100, this will increase our optimal crashing costs by 200.
Question. How does optimal crashing cost change if task A’s per unit crash cost increases to $150?
Solution. The range of optimality of the CA variable is [100,150]. Thus, the optimal crashing cost will crease by 1 * 50 = 50.