1 / 21

5.7 Initialization Revisited

5.7 Initialization Revisited. Motivation : a solution for the transformed system is feasible for the original system if and only if all the artificial variables are equal to zero . Two methods are available for this purpose: Big M Two-Phase

dinesh
Download Presentation

5.7 Initialization Revisited

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 5.7 Initialization Revisited • Motivation: a solution for the transformed system is feasible for the original system if and only if all the artificial variables are equal to zero. • Two methods are available for this purpose: Big M Two-Phase • They look quite different but are essentially equivalent.

  2. Big M • Associate with each artificial variable a very unattractive cost coefficient (cj). • Since we try to optimize the objective function, the optimal solution generated by such a model will make the artificial variables as small as possible. • If the problem is feasible, the smallest feasible value of any artificial variable is zero.

  3. Thus, if the problems is feasible, this approach will yield an optimal solution with all the artificial variables equal to zero.

  4. Example (5.41)

  5. Initial tableau isnotin canonical form: • Have to set the reduced costs of the artificial variables to zero. • We use (legal)row operations for this purpose.

  6. Note that, as expected, all the artificial variables are nonbasic (thus equal to zero). • The optimal solution is x=(6,6,0,4,0,0)

  7. Remark • Once an artificial variable is out of the basis, we never put it back into the basis. • Thus, once an artificial variable is out of the basis, we can “ignore” its column. • If you want to handle M numerically (i.e set it to a given value) make sure that it is not too large, but also not too small • The Big M method is “not nice”. • What happens if opt=min ?

  8. 2-Phase Method • Phase 1: Find a basic feasible solution to the original problem (i.e. take the artificial variables out of the basis). • Phase 2: Find an optimal solution to the original problem, ignoring the artificial variables.

  9. Phase 1 • Let w := sum of the artificial variables w* := minimumvalue of w subject to the constraints. • Because the artificial variables must satisfy the nonnegativity constraint, w*=0 if and only if all the artificial variables are equal to zero. • Thus, the goal in Phase 1 is tominimize w (regardless of what is the value of opt in the original problem)

  10. Case 1: w*>0 The problem is not feasible!!! (why!) • Case 2: w*=0 and all the artificial variables are non-basic A basic feasible solution to the original problem has been generated. Continue with Phase 2. • Case 3: w*=0, but at least one artificial variable is in the basis. Using pivot operations, take all the artificial variables out of the basis.

  11. 5.7.3 Example

  12. Phase 1

  13. We have to restore the canonical form (by legal row operations)

  14. 0 0 corrections!!!

  15. End of Phase 1: All the artificial variables are out of the basis.

  16. Phase 2 • We now have to restore the original objective function: z’ = -3x1- 5x2 3 5 0 0

  17. 3 5 0 0 • This is not in canonical form, so we use legal row operations to restore the canonical form.

  18. Remark • Read the material in the lecture notes concerning the relationship between the Big M method and the 2-Phase Method and make sure you understand why there are “equivalent” and why the 2 Phase Method is better. (end of section 5.7)

  19. 5.8 Algorithm Complexity • Worst case is very bad • In practice : surprisingly well!!!

More Related