Linear programming and the two phase method

In summary, the two-phase method is used to find a basic feasible solution (BFS) for a linear programming (LP) problem where a BFS cannot be easily identified. It involves extending the original LP problem by adding more variables and then solving the extended problem as an LP. This avoids the need for introducing artificial variables with a large M value in the objective function, which can lead to programming difficulties. The two-phase method is a clever way to avoid these difficulties and find the optimal solution for the original LP problem.
  • #1
catcherintherye
48
0
what exactly is the point of the two phase method? I have in my notes that 'if you have a program (P)

maximise [tex] xc_T x >= 0 , Ax<=b, [/tex]but b not > 0, that we use the two phase method for to find a B.F.S to start the simplex algorithm. But then the notes go on to say that we use the method to solve a minimization problem.
 
Physics news on Phys.org
  • #2
The basic idea is that if one cannot readily identify a bfs for the original LP problem then one extends the LP (by adding more variables) so that a bfs can be readily identified.

Now the extended is problem is solved as an LP. The extension is such that is the initial LP was feasible then the optimal solution of the extended LP has all the extended vaibale zero (big M value in the objective function is the reason). Now we have a bfs for the initial problem and is used to start the simplex routine for the initial problem.
 
  • #3
To put it simply, the main advantage of the two-phase Simplex method is:
in LP problems with equality in their constraints, and >= constraints (which usually occurs in a minimization problem),
we need to use big M cost coefficient in the objective function for introduction of artificial variables.
In the computer environment, how big should this value of M be? 1000000? 9999999? largest possible real number in the OS? We don't know unless we know the relative magnitude of the numbers in the problem. How are we going to program this in the Simplex algorithm with 0% logic error?

So, the two-phase method cleverly avoid this big M problem, by first considering only the artificial variables contribution to the objective function, do the Simplex until optimality is found. Then the second phase is to introduce the contribution of the decision variables back to the objective function, and do Simplex algorithm from there to reach optimality. In this way, we avoid the big M calculations!
 

What is linear programming and the two phase method?

Linear programming is a mathematical technique used to find the optimal solution to a problem that involves maximizing or minimizing a linear objective function, subject to linear constraints. The two phase method is an algorithm used to solve linear programming problems that involve inequalities and non-negative variables.

What are the key steps in the two phase method?

The two phase method involves two key steps. In the first phase, an initial feasible solution is found by introducing artificial variables and solving a modified version of the problem. In the second phase, the artificial variables are removed and the problem is solved to find the optimal solution.

What are the advantages of using the two phase method?

The two phase method is advantageous because it is guaranteed to find an optimal solution if one exists. It is also able to handle problems with inequalities and non-negative variables, which cannot be solved using other methods such as the simplex method.

What are the limitations of the two phase method?

One limitation of the two phase method is that it may require more iterations to find the optimal solution compared to other methods. It also relies on the existence of an initial feasible solution, which may be difficult to find for some problems.

How is the two phase method used in real life applications?

The two phase method has many real life applications, including production planning, resource allocation, and portfolio optimization. It is also commonly used in the fields of economics, engineering, and operations research.

Similar threads

  • Linear and Abstract Algebra
Replies
2
Views
1K
Replies
17
Views
2K
  • Linear and Abstract Algebra
Replies
9
Views
1K
  • Linear and Abstract Algebra
Replies
11
Views
1K
  • Linear and Abstract Algebra
Replies
1
Views
794
  • Linear and Abstract Algebra
Replies
3
Views
1K
  • Linear and Abstract Algebra
Replies
4
Views
2K
  • Linear and Abstract Algebra
Replies
3
Views
741
  • Linear and Abstract Algebra
Replies
3
Views
916
  • Linear and Abstract Algebra
Replies
1
Views
998
Back
Top