Extra Credit - Project Selection
Extra Credit - Project Selection
Decision Variables:
P1 = Project P1 candidate
P2 = Project P2 candidate
P3 = Project P3 candidate
P4 = Project P4 candidate
P5 = Project P5 candidate
Objective Function:
Maximize Z = Max 1800P1 + 1600P2 + 3500P3 + 1300P4 + 1700P5
Constraints:
Labor = 15P1 + 10P2 + 20P3 + 8P4 + 11P5 <= 20 (units in 1000)
Budget = 500P1 + 600P2 + 1000P3 + 500P4 + 700P5 <= 1000 (units in 1000)
Binary = P1, P2, P3, P4, P5 = Binary
Lindo Format:
Max 1800P1 + 1600P2 + 3500P3 + 1300P4 + 1700P5
s.t.
Budget) 500P1 + 600P2 + 1000P3 + 500P4 + 700P5 <= 1000
Labor) 15P1 + 10P2 + 20P3 + 8P4 + 11P5 <= 20
Project)p1+p2+p3+p4+p5 = 1
End
INT 5
Lindo Solution
Global optimal solution found.
Objective value: 3500.000
Objective bound: 3500.000
Infeasibilities: 0.000000
Extended solver steps: 0
Total solver iterations: 0
Elapsed runtime seconds: 0.12
Total variables: 5
Nonlinear variables: 0
Integer variables: 5
Total constraints: 4
Nonlinear constraints: 0
Total nonzeros: 20
Nonlinear nonzeros: 0
The highest profit possible is $3500 ($3500000, or $1,000 units). Because Project P3 produced a "1" value while
others produced a "0," it must be carried out.