Linear programming and the two phase method

Click For Summary
SUMMARY

The two-phase method in linear programming is essential for finding a basic feasible solution (B.F.S) when the original problem lacks one, particularly in minimization problems with equality and greater-than-or-equal-to constraints. This method extends the linear program by adding artificial variables, allowing for the identification of a B.F.S without relying on a potentially problematic big M value in the objective function. The first phase focuses solely on the artificial variables, optimizing until an optimal solution is reached, followed by the second phase where decision variables are reintroduced to finalize the solution. This approach effectively circumvents complications associated with the big M method.

PREREQUISITES
  • Understanding of linear programming concepts
  • Familiarity with the Simplex algorithm
  • Knowledge of artificial variables in optimization
  • Basic grasp of minimization and maximization problems
NEXT STEPS
  • Study the implementation of the Simplex algorithm in Python
  • Explore the concept of artificial variables in depth
  • Learn about the big M method and its limitations
  • Investigate alternative methods for solving linear programming problems
USEFUL FOR

Students and professionals in operations research, optimization specialists, and anyone involved in solving linear programming problems, particularly those dealing with complex constraints.

catcherintherye
Messages
47
Reaction score
0
what exactly is the point of the two phase method? I have in my notes that 'if you have a program (P)

maximise xc_T x >= 0 , Ax<=b,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
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.
 
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!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
1K
  • · Replies 0 ·
Replies
0
Views
2K
  • · Replies 19 ·
Replies
19
Views
4K
  • · Replies 17 ·
Replies
17
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 2 ·
Replies
2
Views
11K
  • · Replies 11 ·
Replies
11
Views
2K