Project Selection with Resource Constraints and Quality Factors
Statistics & ExperimentsModel answerLast updated
Choose between two fixed-price software projects, modeling costs, capacity, rework, and schedule risk to maximize profit.
You're evaluating two software development contracts, both starting October 1st and due October 31st. Only one can be accepted.
Your team:
- 3 full-time engineers available for the month
- Each engineer works standard 40-hour weeks (8 hours/day)
- Optional: up to 20 hours/week overtime per engineer (paid at 1.5× base rate)
- Optional: hire one external contractor starting October 7th
Cost structure:
- Engineer base rate: $70/hour with 25% overhead multiplier
- Overtime: engineers produce code 20% slower during overtime hours
- Contractor: $110/hour plus 10% agency fee; requires 10 hours onboarding at half normal speed; no overtime available
Productivity rates:
- Engineers (regular hours): 25 lines/hour
- Engineers (overtime): 20 lines/hour
- Contractor (after onboarding): 22 lines/hour
- Contractor (during 10-hour onboarding): 11 lines/hour
Quality factor: 8% of all code written requires rework at the same productivity rates. Rework must finish by month-end to earn the bonus.
Contract options:
Option X: 1,000 lines at $45/line
On-time bonus: $5,000
Late penalty: $3,000 per week (or partial week) past deadline
Option Y: 2,000 lines at $40/line
On-time bonus: $12,000
Same late penalty structure
October 2025 has 23 working days.
Questions:
a) Calculate completion time and total profit for each project using only your existing team, both with and without overtime. State your allocation approach.
b) Recalculate if you add the contractor from October 7th. Include all associated costs.
c) Which option gives the highest expected profit with at least 95% confidence if productivity varies by ±10%?
d) At what price per line would Option Y become equally profitable to Option X under optimal staffing?
e) How does profit sensitivity change as the rework rate ranges from 0% to 15%?
Show calculations and provide a clear recommendation.
Hints
Hint 1
Calculate the effective cost per line delivered for each resource type, accounting for overhead and productivity differences
Hint 2
Both projects are much smaller than your monthly capacity—check whether the deadline actually constrains your decision
Hint 3
The contractor arrives after most scenarios would already be complete; evaluate whether hiring adds value
Model answer
Medium Try it yourself first — then compare your approach, complexity and edge cases.
Solution: Project Selection with Resource Constraints
Framework
This problem tests whether you can:
- Convert business constraints into unit economics
- Recognize when capacity vastly exceeds demand
- Make decisions based on profit, not just feasibility
The critical insight: your team's capacity far exceeds either project's requirements, making deadline pressure irrelevant.
Setup and Assumptions
Calendar: October 2025 has 23 working days (Wednesday Oct 1 through Friday Oct 31).
Work required: To deliver L lines of accepted code with an 8% rework rate, the team must produce L × 1.08 total lines.
- Option X: 1,000 × 1.08 = 1,080 lines
- Option Y: 2,000 × 1.08 = 2,160 lines
Cost per delivered line:
| Resource | Loaded rate | Productivity | Cost/line |
|---|---|---|---|
| Regular engineer | $70 × 1.25 = $87.50/hr | 25 lines/hr | $3.50 |
| Overtime engineer | $70 × 1.5 × 1.25 = $131.25/hr | 20 lines/hr | $6.56 |
| Contractor (steady) | $110 × 1.10 = $121/hr | 22 lines/hr | $5.50 |
Contractor onboarding overhead: 10 hours at $121/hr produces only 110 lines instead of 220, representing a $605 efficiency loss.
Daily capacity:
- Regular time only: 3 engineers × 8 hrs × 25 lines/hr = 600 lines/day
- With full overtime: 3 × (8×25 + 4×20) = 840 lines/day
Part (a): Existing Team Only
Regular hours scenario:
Option X:
- Time: 1,080 ÷ 600 = 1.8 days (completes October 2)
- Labor cost: 1,080 ÷ 25 = 43.2 hours × $87.50 = $3,780
- Revenue: $45,000 + $5,000 bonus = $50,000
- Profit: $46,220
Option Y:
- Time: 2,160 ÷ 600 = 3.6 days (completes October 6)
- Labor cost: 2,160 ÷ 25 = 86.4 hours × $87.50 = $7,560
- Revenue: $80,000 + $12,000 bonus = $92,000
- Profit: $84,440
Overtime scenario:
Overtime costs an additional $3.06 per line ($6.56 - $3.50) compared to regular hours.
Option X:
- Time: 1,080 ÷ 840 = 1.29 days
- Additional overtime cost: ~240 lines × $3.06 = $735
- Profit: $45,485 (worse than regular hours)
Option Y:
- Time: 2,160 ÷ 840 = 2.57 days
- Additional overtime cost: ~480 lines × $3.06 = $1,470
- Profit: $82,970 (worse than regular hours)
Conclusion: Overtime reduces profit by $735-$1,470 to save 1-2 days you don't need. Use regular hours only.
Part (b): Adding Contractor from October 7
Since both projects finish by October 6 with regular staff, the contractor arrives after completion. Any contractor hours reduce profit by their full cost:
- 40-hour engagement: −$4,840 impact
- Option X profit drops to $41,380
- Option Y profit drops to $79,600
Even if you artificially delay work to use the contractor, each contractor hour costs $121 but saves only $87.50 in engineer time, creating a net loss of $33.50 per hour plus the $605 onboarding penalty.
Conclusion: Do not hire the contractor.
Part (c): Risk Analysis with ±10% Productivity Variance
Worst-case scenario assumes 90% productivity (10% below expected):
| Option | Worst-case days | Buffer | Worst-case profit |
|---|---|---|---|
| X | 2.0 days | 21 days | $45,800 |
| Y | 4.0 days | 19 days | $83,600 |
For 95% confidence with ±10% as a 2-sigma range (σ ≈ 5%):
- Option Y needs only 4.0 of 23 days in worst case
- Missing deadline requires productivity below 16% of expected (>16σ event)
- Probability of on-time delivery exceeds 99.9%
Recommendation: Select Option Y with regular staffing.
- Expected profit: $84,440
- 95% confidence lower bound: ~$83,600
- Advantage over Option X: $38,220
- Reserve overtime as contingency only
Part (d): Break-Even Pricing
Set Option Y profit equal to Option X profit under optimal (regular hours) staffing:
p × 2,000 + $12,000 - $7,560 = $46,220
p = ($46,220 - $12,000 + $7,560) ÷ 2,000 = $20.89/line
Option Y becomes preferable when it pays above $20.89/line. The actual offer of $40/line is nearly double break-even, making Option Y strongly dominant.
With rework rate r, the general formula is: p = $19 + $1.75(1 + r)*
Part (e): Rework Sensitivity
Profit decreases linearly with rework rate:
- Option X: Π = $50,000 - $3,500(1 + r)
- Option Y: Π = $92,000 - $7,000(1 + r)
| Rework rate | Option X profit | Option Y profit | Advantage |
|---|---|---|---|
| 0% | $46,500 | $85,000 | $38,500 |
| 8% | $46,220 | $84,440 | $38,220 |
| 15% | $45,975 | $83,950 | $37,975 |
Sensitivity: Each 1% increase in rework reduces Option X profit by $35 and Option Y by $70. However, Option Y maintains a $37,000+ advantage across the entire range.
Even at 15% rework (nearly double the baseline), Option Y completes in 4 days with 19 days of buffer and delivers $38,000 more profit than Option X.
Common Mistakes
- Assuming deadline pressure exists when capacity is 6× larger than required
- Using overtime by default instead of evaluating marginal cost vs. benefit
- Hiring the contractor without checking whether work remains when they start
- Focusing on revenue ($92k vs $50k) rather than profit ($84k vs $46k)
- Complex scheduling when simple division shows both projects finish in days
Final Recommendation
Choose Option Y, staff with regular hours only, do not hire the contractor.
Expected profit: $84,440 with minimal schedule risk.