RTUComputer ScienceYr 2024 · Sem 32024

Q5Advanced Engineering Mathematics

Question

10 marks

Answer

A detailed walkthrough of the Two-Phase Simplex Method, explaining the necessity of artificial variables and the process of constructing an initial basic feasible solution.

The standard Simplex method is a highly efficient algorithm for solving Linear Programming Problems (LPPs). However, it fundamentally requires an Initial Basic Feasible Solution (IBFS) to begin its iterative search. When an LPP has constraints of the type "less than or equal to" (), we introduce positive slack variables, which conveniently form an identity matrix and serve as the IBFS. However, when constraints are of the type "greater than or equal to" () or strictly "equal to" (), we must subtract surplus variables. These surplus variables have a coefficient of -1, so they cannot form the required identity matrix. To force an IBFS, we introduce "Artificial Variables". The Two-Phase Method is a mathematically rigorous algorithm designed to systematically handle and eventually eliminate these artificial variables.

1. Standardizing the Given Problem

Consider the given problem: Maximize Subject to:

We convert these inequalities into strict equations. For the first two () constraints, we subtract non-negative surplus variables (). For the third () constraint, we add a non-negative slack variable ().

Because and have negative coefficients, they cannot serve as initial basic variables (setting would make and , violating the non-negativity constraint). Therefore, we must add artificial variables and to the first two equations to create a valid starting basis.

Our Initial Basic Feasible Solution is now .

2. Phase I: Elimination of Artificial Variables

The primary, sole objective of Phase I is to forcefully drive the artificial variables out of the basis. We do this by completely ignoring the original objective function and creating a new, temporary objective function that heavily penalizes the existence of artificial variables. We seek to minimize the sum of the artificial variables.

Phase I Objective: Minimize (or Maximize ).

We construct a Simplex tableau using this new objective function . We then perform standard Simplex iterations (pivot operations). The goal is to make the value of exactly equal to zero. If the optimal value of Phase I is , it mathematically proves that all artificial variables have been driven to zero, meaning they have left the basis. The resulting solution is a basic feasible solution to the original problem without artificial variables. (Note: If Phase I ends and , it mathematically proves that the original problem has no feasible solution).

3. Phase II: Optimization of the Original Objective

Once Phase I successfully concludes with , we immediately transition to Phase II. The procedure is as follows:

  • Discard the temporary objective function .
  • Physically delete the columns corresponding to the artificial variables ( and ) from the final Simplex tableau of Phase I, as they are no longer needed.
  • Restore the original objective function: Maximize .
  • Recalculate the objective row (-row or row) using the original coefficients.
  • Resume standard Simplex iterations. Continue pivoting until all values in the objective row indicate optimality (for maximization, all ).

This two-phase approach guarantees that the algorithm first finds a mathematically valid starting point in the multi-dimensional feasible region, and then seamlessly navigates along the edges of that region to find the absolute optimal vertex.

Back to Paper