In: Math
Maximization by the simplex method
Solve the following linear programming problems using the simplex method.
1>.
Maximize z = x1 + 2x2 + 3x3
subject to x1 + x2 + x3 ≤ 12
2x1 + x2 + 3x3 ≤ 18
x1, x2, x3 ≥ 0
2>.
A farmer has 100 acres of land on which she plans to grow wheat and corn. Each acre of wheat requires 4 hours of labor and $20 of capital, and each acre of corn requires 16 hours of labor and $40 of capital. The farmer has at most 800 hours of labor and $2400 of capital available. If the profit from an acre of wheat is $80 and from an acre of corn is $100, how many acres of each crop should she plant to maximize her profit?
The problem is converted to canonical form by adding slack,
surplus and artificial variables as appropiate
1. As the constraint-1 is of type '≤' we should add slack variable
S1
2. As the constraint-2 is of type '≤' we should add slack variable
S2
After introducing slack variables
|
||||||||||||||||||||||||||||||||||
subject to | ||||||||||||||||||||||||||||||||||
|
||||||||||||||||||||||||||||||||||
and x1,x2,x3,S1,S2≥0
Negative minimum Zj-Cj is -1 and its column index is 2. So, the
entering variable is x2. Since all Zj-Cj≥0 |