solve by m method Maximize z = 3x1 + 2x2 + 3x3 subject to 2x1 + x2 + x3 … 2 3x1 + 4x2 +…
- User
solve by m method Maximize z = 3x1 + 2x2 + 3x3 subject to 2x1 + x2 + x3 … 2 3x1 + 4x2 + 2x3 Ú 8 x1, x2, x3 Ú 0
- Assistant
solve by m method Maximize z = 3x1 + 2x2 + 3x3 subject to 2x1 + x2 + x3 … 2 3x1 + 4x2 + 2x3 Ú 8 x1, x2, x3 Ú 0
To solve the linear programming (LP) problem using the Big M Method, we'll follow a systematic approach. The problem is formulated as follows:
Maximize: [ z = 3x_1 + 2x_2 + 3x_3 ]
Subject to: [ \begin{align*} 2x_1 + x_2 + x_3 &\geq 2 \quad \text{(Constraint 1)} \ 3x_1 + 4x_2 + 2x_3 &\leq 8 \quad \text{(Constraint 2)} \ x_1, x_2, x_3 &\geq 0 \end{align*} ]
Constraint 1: (2x_1 + x_2 + x_3 \geq 2)
Constraint 2: (3x_1 + 4x_2 + 2x_3 \leq 8)
Introduce Big M (a very large positive number) to penalize artificial variables in the objective function.
Objective Function with Big M: [ z - 3x_1 - 2x_2 - 3x_3 - M a_1 = 0 ]
Initial Tableau:
| Basic Variable | (x_1) | (x_2) | (x_3) | (s_1) | (s_2) | (a_1) | RHS |
|---|---|---|---|---|---|---|---|
| (a_1) | 2 | 1 | 1 | -1 | 0 | 1 | 2 |
| (s_2) | 3 | 4 | 2 | 0 | 1 | 0 | 8 |
| (z) | -3 + 2M | -2 + M | -3 + M | -M | 0 | 0 | 0 |
Iteration 1:
Identify Entering Variable:
Determine Leaving Variable:
Pivot on (x_1) in (a_1) Row:
Updated Tableau:
| Basic Variable | (x_1) | (x_2) | (x_3) | (s_1) | (s_2) | (a_1) | RHS |
|---|---|---|---|---|---|---|---|
| (x_1) | 1 | 0.5 | 0.5 | -0.5 | 0 | 0.5 | 1 |
| (s_2) | 0 | 2.5 | 0.5 | -1.5 | 1 | -1.5 | 5 |
| (z) | 0 | -0.5 | -1.5 | 1.5 | 0 | 1.5 - M | 3 |
Iteration 2:
Identify Entering Variable:
Determine Leaving Variable:
Pivot on (x_3) in (x_1) Row:
Updated Tableau:
| Basic Variable | (x_1) | (x_2) | (x_3) | (s_1) | (s_2) | (a_1) | RHS |
|---|---|---|---|---|---|---|---|
| (x_3) | -2 | -1 | 1 | -1 | 0 | 3 | 2 |
| (s_2) | -1 | 2 | 0 | -2 | 1 | 0 | 4 |
| (z) | 3 | 1 | 0 | 3 | 0 | 0 | 6 |
In the updated (z)-row, all coefficients of non-basic variables ((x_1), (x_2), (s_1), (s_2)) are either zero or positive, indicating that we cannot increase (z) further. Hence, the current solution is optimal.
From the final tableau:
Basic Variables:
Non-Basic Variables:
Optimal Solution: [ \begin{align*} x_1 &= 0 \ x_2 &= 0 \ x_3 &= 2 \ \end{align*} ]
Maximum Value of (z): [ z = 3(0) + 2(0) + 3(2) = 6 ]
The optimal solution to the given LP problem is: [ \boxed{ \begin{array}{ll} x_1 = 0, \ x_2 = 0, \ x_3 = 2, \ \text{Maximum } z = 6. \end{array} } ]
This solution satisfies all constraints: [ \begin{align*} 2(0) + 0 + 2 &= 2 \geq 2 \quad \text{(Constraint 1)} \ 3(0) + 4(0) + 2(2) &= 4 \leq 8 \quad \text{(Constraint 2)} \end{align*} ]
Not yet included in a published release.