1 / 24

Lecture 21 Primal-Dual in Algorithms

Lecture 21 Primal-Dual in Algorithms. Primal Type. At each iteration, a feasible solution is updated to approach the optimal. Dual Type. At each iteration, a non-feasible “solution” is modified to approach to the feasibility.

Télécharger la présentation

Lecture 21 Primal-Dual in Algorithms

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. Lecture 21Primal-Dual in Algorithms

  2. Primal Type • At each iteration, a feasible solution is updated to approach the optimal.

  3. Dual Type • At each iteration, a non-feasible “solution” is modified to approach to the feasibility. • E.g., Kruskal Algorithm and Prim Algorithm for minimum spanning tree.

  4. Primal-Type Algorithm for Minimum Spanning Tree

  5. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Example 4 2 6 1 5 3 7

  6. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a Cycle 4 2 6 1 5 3 7

  7. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete the longest edge 4 2 6 1 5 3 7

  8. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a cycle 4 2 6 1 5 3 7

  9. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete a longest edge 4 2 6 1 5 3 7

  10. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a cycle 4 2 6 1 5 3 7

  11. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete a longest edge 4 2 6 1 5 3 7

  12. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a cycle 4 2 6 1 5 3 7

  13. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete a longest edge 4 2 6 1 5 3 7

  14. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a cycle 4 2 6 1 5 3 7

  15. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete a longest edge 4 2 6 1 5 3 7

  16. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Find a cycle 4 2 6 1 5 3 7

  17. 10 8 2 4 6 35 15 1 25 20 30 17 21 40 3 5 7 15 11 Delete a longest edge 4 2 6 1 5 3 7

  18. Maximum Flow Primal-type • Ford-Fulkerson algorithm • Hopcroft–Karp algorithm Dual-type • Push-relabel algorithm Goldberg-Tarjan algorithm

  19. Transportation Problem

  20. Primal-Type Algorithm for Chinese Postman Problem

  21. Primal-Dual Method for LP

  22. Primal-Dual Type

More Related