All Exams Test series for 1 year @ ₹349 only
Question

Consider an LPP given as

Max Z = 2x 1 - x 2+ 2x 3

Subject to the constraints

2x 1+ x 2 ≤ 10

x 1+ 2x 2 - 2x 3 ≤ 20

x 1+ 2x 3 ≤ 5

x 1, x 2, x 3 ≥ 0

What shall be the solution of the LPP after applying first iteration of the Simplex Method?

The correct answer is

x 1= 0, x 2= 0, x 3= 5/2, Z = 5

Understanding the Linear Programming Problem (LPP)

The given problem is a Linear Programming Problem (LPP) aiming to maximize an objective function subject to several linear constraints. The objective function and constraints are:

  • Maximize \( Z = 2x_1 - x_2 + 2x_3 \)
  • Subject to:
    • \( 2x_1 + x_2 \le 10 \)
    • \( x_1 + 2x_2 - 2x_3 \le 20 \)
    • \( x_1 + 2x_3 \le 5 \)
    • \( x_1, x_2, x_3 \ge 0 \)

We need to find the solution after applying the first iteration of the Simplex Method.

Converting LPP to Standard Form for Simplex Method

To apply the Simplex Method, we first convert the inequality constraints into equality constraints by introducing slack variables. Since all constraints are of the '≤' type, we add a non-negative slack variable to each constraint.

  • \( 2x_1 + x_2 + s_1 = 10 \) (where \( s_1 \ge 0 \))
  • \( x_1 + 2x_2 - 2x_3 + s_2 = 20 \) (where \( s_2 \ge 0 \))
  • \( x_1 + 2x_3 + s_3 = 5 \) (where \( s_3 \ge 0 \))

The objective function needs to be rewritten with all terms on the left side:

\( -2x_1 + x_2 - 2x_3 + Z = 0 \)

Now, we have the system of equations in standard form, ready for the Simplex tableau.

Setting up the Initial Simplex Tableau

We arrange the coefficients of the variables and the right-hand side values in a table called the Simplex tableau. The basic variables in the initial tableau are the slack variables (\( s_1, s_2, s_3 \)), assuming the origin (x1=0, x2=0, x3=0) is a feasible solution.

Basis \( x_1 \) \( x_2 \) \( x_3 \) \( s_1 \) \( s_2 \) \( s_3 \) RHS Ratio
\( s_1 \) 2 1 0 1 0 0 10 -
\( s_2 \) 1 2 -2 0 1 0 20 -
\( s_3 \) 1 0 2 0 0 1 5 5/2 = 2.5
Z -2 1 -2 0 0 0 0

Performing the First Iteration of Simplex Method

The goal of the Simplex Method is to iteratively move towards an optimal solution by bringing non-basic variables into the basis.

Step 1: Identify the Entering Variable.

Look at the Z-row (objective function row). Select the variable with the most negative coefficient. In this tableau, both \( x_1 \) and \( x_3 \) have a coefficient of -2. We can choose either one to enter. Let's choose \( x_3 \) as the entering variable. The \( x_3 \) column is the pivot column.

Step 2: Identify the Leaving Variable.

To find the leaving variable, we calculate the ratio of the RHS values to the corresponding coefficients in the pivot column (\( x_3 \)). We only consider positive coefficients in the pivot column.

  • For row \( s_1 \): Coefficient of \( x_3 \) is 0. No ratio calculated.
  • For row \( s_2 \): Coefficient of \( x_3 \) is -2 (negative). No ratio calculated.
  • For row \( s_3 \): Coefficient of \( x_3 \) is 2. Ratio = \( 5 / 2 = 2.5 \).

The minimum positive ratio is 2.5, which corresponds to the \( s_3 \) row. Therefore, \( s_3 \) is the leaving variable. The \( s_3 \) row is the pivot row.

Step 3: Identify the Pivot Element.

The pivot element is the element at the intersection of the pivot row ( \( s_3 \) row) and the pivot column ( \( x_3 \) column), which is 2.

Step 4: Perform Row Operations.

The goal is to make the pivot element 1 and all other elements in the pivot column 0. The new pivot row becomes the row for the entering variable (\( x_3 \)).

  • Make Pivot Element 1: Divide the pivot row (\( s_3 \) row) by the pivot element (2).
    \( \text{New } R_{x_3} = R_{s_3} / 2 \)
  • Make other elements in Pivot Column 0:
    • For \( s_1 \) row: Coefficient of \( x_3 \) is 0, no operation needed.
    • For \( s_2 \) row: Coefficient of \( x_3 \) is -2. Add 2 times the new \( x_3 \) row to the \( s_2 \) row.
      \( \text{New } R_{s_2} = R_{s_2} + 2 \times \text{New } R_{x_3} \)
    • For Z row: Coefficient of \( x_3 \) is -2. Add 2 times the new \( x_3 \) row to the Z row.
      \( \text{New } R_Z = R_Z + 2 \times \text{New } R_{x_3} \)

Let's calculate the new rows:

  • New \( x_3 \) row (from \( s_3 \)): \( [1/2, 0, 1, 0, 0, 1/2, 5/2] \)
  • New \( s_2 \) row: \( [1, 2, -2, 0, 1, 0, 20] + 2 \times [1/2, 0, 1, 0, 0, 1/2, 5/2] \) \( = [1, 2, -2, 0, 1, 0, 20] + [1, 0, 2, 0, 0, 1, 5] \) \( = [2, 2, 0, 0, 1, 1, 25] \)
  • New Z row: \( [-2, 1, -2, 0, 0, 0, 0] + 2 \times [1/2, 0, 1, 0, 0, 1/2, 5/2] \) \( = [-2, 1, -2, 0, 0, 0, 0] + [1, 0, 2, 0, 0, 1, 5] \) \( = [-1, 1, 0, 0, 0, 1, 5] \)

The \( s_1 \) row remains \( [2, 1, 0, 1, 0, 0, 10] \).

Simplex Tableau after First Iteration

Basis \( x_1 \) \( x_2 \) \( x_3 \) \( s_1 \) \( s_2 \) \( s_3 \) RHS
\( s_1 \) 2 1 0 1 0 0 10
\( s_2 \) 2 2 0 0 1 1 25
\( x_3 \) 1/2 0 1 0 0 1/2 5/2
Z -1 1 0 0 0 1 5

Solution from the Tableau after First Iteration

In this tableau, the basic variables are \( s_1, s_2, \) and \( x_3 \). Their values are given by the corresponding RHS values:

  • \( s_1 = 10 \)
  • \( s_2 = 25 \)
  • \( x_3 = 5/2 \)

The non-basic variables are \( x_1, x_2, \) and \( s_3 \). Their values are 0:

  • \( x_1 = 0 \)
  • \( x_2 = 0 \)
  • \( s_3 = 0 \)

The value of the objective function Z is found in the bottom right corner of the tableau:

  • \( Z = 5 \)

Therefore, the solution after the first iteration of the Simplex Method is \( x_1 = 0, x_2 = 0, x_3 = 5/2 \), with the objective function value \( Z = 5 \).

This tableau is not yet optimal because there is still a negative coefficient (-1 for \( x_1 \)) in the Z-row. Further iterations would be needed to reach optimality, but the question asks only for the result after the *first* iteration.

Revision Table: Simplex Method First Iteration Summary

Step Action Outcome for this LPP (First Iteration)
1 Identify Entering Variable \( x_3 \) (column with most negative Z-row coefficient)
2 Identify Leaving Variable \( s_3 \) (row with minimum positive Ratio = RHS / Pivot Column Coefficient)
3 Identify Pivot Element 2 (intersection of \( s_3 \) row and \( x_3 \) column)
4 Perform Row Operations Make Pivot Element 1; make other elements in Pivot Column 0
Result Solution after Iteration 1 \( x_1 = 0, x_2 = 0, x_3 = 5/2, Z = 5 \)

Additional Information on Simplex Method Concepts

The Simplex Method is an algebraic procedure for solving linear programming problems. It works by moving from one basic feasible solution (corner point of the feasible region) to another, in a way that improves the value of the objective function, until the optimal solution is reached.

  • Basic Feasible Solution (BFS): A solution where the number of non-zero variables is equal to the number of constraints (excluding non-negativity). These solutions correspond to the corner points of the feasible region.
  • Entering Variable: The non-basic variable selected to enter the basis in the next iteration. Chosen based on the greatest potential to improve the objective function value (most negative coefficient in the Z-row for maximization).
  • Leaving Variable: The basic variable selected to leave the basis. Chosen using the minimum ratio test to ensure that the non-negativity constraints are not violated in the next BFS.
  • Optimality Condition: For a maximization problem, the optimal solution is reached when all coefficients in the Z-row are non-negative. For a minimization problem, it's when all coefficients are non-positive (or use a modified rule).
  • Degeneracy: Occurs when the minimum ratio is zero or when there is a tie in the minimum ratio test, potentially leading to cycling (though rare in practice).
Was this answer helpful?

Important Questions from Linear Programming

  1. In an Linear programming problem, the restrictions or limitations under which the objective function is to be optimised are called

  2. For the linear programming problem:

    Maximum Z = 3X1 + 2X2

    Subject to

    -2X1 + 3X2 ≤ 9

    X1 – 5X2 ≥ - 20

    X1, X2 ≥ 0

    The above problem has

  3. The headquarters of the Eastern Railway Zone is located at _______.

  4. Consider the following Linear programming problem (LPP):

    Maximize z = x 1+ x 2

    Subject to the constraints:

    x 1+ 2x 2≤ 2000

    x 1+ x 2≤ 1500

    x 2≤ 600

    and x 1, x 2≥ 0

    The solution of the above LPP is:
  5. Consider the following statements with respect to duality in LPP

    (a) The final simplex table giving optimal solution of the primal also contains optimal solution of its dual in itself.

    (b) If either the primal or the dual problem has a finite optimal solution, then the other problem also has a finite optimal solution.

    (c) If either problem has an unbounded optimum solution, then the other problem has no feasible solution at all

    Which of the statements is (are) correct?
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App