Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Linear programming and the two phase method

  1. Apr 20, 2007 #1
    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.
     
  2. jcsd
  3. Apr 22, 2007 #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.
     
  4. Nov 25, 2008 #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!
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?



Similar Discussions: Linear programming and the two phase method
  1. Linear Programming (Replies: 2)

  2. Two Phase Method (Replies: 2)

Loading...