greedy algorithm and matroid intersections
play

Greedy Algorithm and Matroid Intersections by Yan Alves Radtke July - PowerPoint PPT Presentation

Greedy Algorithm and Matroid Intersections by Yan Alves Radtke July 2020 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections Greedy Task Find a maximum weight spanning tree! 5 4 3 2 by Yan Alves Radtke Greedy Algorithm and


  1. Maximum weight algorithm for matroid intersections Input: M 1 and M 2 , an extreme common independent set I and a weight function w Output: An extreme common independent set J with | J | = | I | + 1 if any exists, else I Construct D M 1 , M 2 ( I ); Define X i := { x ∈ S \ I | I ∪ { x } ∈ I i } ; if X 1 -X 2 Path exists in D M 1 , M 2 ( I ) then P:=minimal weight X 1 - X 2 Path with minimal number of arcs; return I △ VP else return I end by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  2. Matchings I S \ I by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  3. Perfect Matchings I S \ I by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  4. Not Perfect Matchings I S \ I by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  5. Properties of perfect matchings If J ∈ I 1 and | J | = | I | , there exists a series of swaps that transform J into I by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  6. Properties of perfect matchings If J ∈ I 1 and | J | = | I | , there exists a series of swaps that transform J into I = ⇒ D M 1 , M 2 ( I ) has a perfect matching with only downward edges on I △ J by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  7. Properties of perfect matchings If J ∈ I 1 and | J | = | I | , there exists a series of swaps that transform J into I = ⇒ D M 1 , M 2 ( I ) has a perfect matching with only downward edges on I △ J If | J | = | I | and D M 1 , M 2 ( I ) has a unique perfect matching on I △ J with only downward edges by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  8. Properties of perfect matchings If J ∈ I 1 and | J | = | I | , there exists a series of swaps that transform J into I = ⇒ D M 1 , M 2 ( I ) has a perfect matching with only downward edges on I △ J If | J | = | I | and D M 1 , M 2 ( I ) has a unique perfect matching on I △ J with only downward edges = ⇒ J ∈ I 1 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  9. Lemma Let C ∋ α be a circuit s.t. I △ VC is not a common independent set α by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  10. Lemma Let C ∋ α be a circuit s.t. I △ VC is not a common independent set α Then there exists: Negative length circuit C ′ with VC ′ � VC or C ′ ∋ α s.t. ℓ ( C ′ ) ≤ ℓ ( C ) with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  11. Proof of Lemma α Matching by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  12. Proof of Lemma α Matching Since not independent: another matching by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  13. Proof of Lemma α Matching Since not independent: another matching by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  14. Proof of Lemma Eulerian Graph = ⇒ decomposition into circuits C 1 , C 2 ..., C j by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  15. Proof of Lemma Eulerian Graph = ⇒ decomposition into circuits C 1 , C 2 ..., C j s.t. � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  16. Proof of Lemma Eulerian Graph = ⇒ decomposition into circuits C 1 , C 2 ..., C j s.t. � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j if there is no negative weight circuit, it follows, if t ∈ C 1 , C 2 : by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  17. Proof of Lemma Eulerian Graph = ⇒ decomposition into circuits C 1 , C 2 ..., C j s.t. � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j if there is no negative weight circuit, it follows, if t ∈ C 1 , C 2 : ℓ ( C 1 ) + ℓ ( C 2 ) ≤ � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  18. Proof of Lemma Eulerian Graph = ⇒ decomposition into circuits C 1 , C 2 ..., C j s.t. � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j if there is no negative weight circuit, it follows, if t ∈ C 1 , C 2 : ℓ ( C 1 ) + ℓ ( C 2 ) ≤ � ℓ ( C i ) = 2 ℓ ( C ) i =1 ,..., j = ⇒ ℓ ( C 1 ) ≤ ℓ ( C ) or ℓ ( C 2 ) ≤ ℓ ( C ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  19. Extreme set - negative circuit theorem Statement: D M 1 , M 2 ( I ) has no negative length circuit ⇔ I is an extreme set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  20. Proof ⇒ Let J be a common independet set with | J | = | I | I \ J J \ I by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  21. Proof ⇒ � w ( J ) = w ( I ) − ℓ ( I △ J ) = w ( I ) − ℓ ( C i ) ≤ w ( I ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  22. Proof ⇒ � w ( J ) = w ( I ) − ℓ ( I △ J ) = w ( I ) − ℓ ( C i ) ≤ w ( I ) = ⇒ w ( J ) ≤ w ( I ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  23. Proof ⇒ � w ( J ) = w ( I ) − ℓ ( I △ J ) = w ( I ) − ℓ ( C i ) ≤ w ( I ) = ⇒ w ( J ) ≤ w ( I ) = ⇒ I is an extreme set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  24. Proof ⇐ Let C negative length circuit minimal nodes and I extreme set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  25. Proof ⇐ Let C negative length circuit minimal nodes and I extreme set Then w ( I △ VC ) = w ( I ) − ℓ ( VC ) > w ( I ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  26. Proof ⇐ Let C negative length circuit minimal nodes and I extreme set Then w ( I △ VC ) = w ( I ) − ℓ ( VC ) > w ( I ) Then I △ VC is not a commmon independent set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  27. Reminder of Lemma Let C ∋ t be a circuit s.t. I △ VC is not a common independent set α Then there exists: Negative length circuit C ′ with VC ′ � VC or C ′ ∋ α s.t. ℓ ( C ′ ) ≤ ℓ ( C ) with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  28. Reminder of Lemma Let C ∋ t be a circuit s.t. I △ VC is not a common independent set α Since ℓ ( C ) < 0 this implies: Negative length circuit C ′ with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  29. Proof ⇐ Let C negative length circuit minimal nodes and I extreme set Then w ( I △ VC ) = w ( I ) − ℓ ( VC ) > w ( I ) Then I △ VC is not a commmon independent set By Lemma C ′ is a negative length circuit with less nodes � by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  30. Maximum weight algorithm Input: M 1 and M 2 , an extreme common independent set I and a weight function w Output: An extreme common independent set J with | J | = | I | + 1 if any exists, else I Construct D M 1 , M 2 ( I ); Define X i := { x ∈ S \ I | I ∪ { x } ∈ I i } ; if X 1 -X 2 Path exists in D M 1 , M 2 ( I ) then P:=minimal weight X 1 - X 2 Path with minimal number of arcs; return I △ VP else return I end by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  31. Auxiliary Matroid Def. M ′ i := ( S + t , { U ⊆ S + t | U − t ∈ I i } ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  32. Auxiliary Matroid Def. M ′ i := ( S + t , { U ⊆ S + t | U − t ∈ I i } ) Claim D M ′ 2 ( I + t )[ S ] = D M 1 , M 2 ( I ) 1 , M ′ by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  33. Auxiliary Matroid Def. M ′ i := ( S + t , { U ⊆ S + t | U − t ∈ I i } ) Claim D M ′ 2 ( I + t )[ S ] = D M 1 , M 2 ( I ) 1 , M ′ Proof I + t − x + y ∈ I ′ i ⇔ I − x + y ∈ I i by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  34. Auxiliary Matroid Def. M ′ i := ( S + t , { U ⊆ S + t | U − t ∈ I i } ) Claim D M ′ 2 ( I + t )[ S ] = D M 1 , M 2 ( I ) 1 , M ′ Proof I + t − x + y ∈ I ′ i ⇔ I − x + y ∈ I i Claim N ( t ) = X 1 ∪ X 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  35. Auxiliary Matroid Def. M ′ i := ( S + t , { U ⊆ S + t | U − t ∈ I i } ) Claim D M ′ 2 ( I + t )[ S ] = D M 1 , M 2 ( I ) 1 , M ′ Proof I + t − x + y ∈ I ′ i ⇔ I − x + y ∈ I i Claim N ( t ) = X 1 ∪ X 2 Proof I + t − t + x ∈ I ′ i ⇔ I + x ∈ I ′ i ⇔ I + x ∈ I i ⇔ x ∈ X i by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  36. Proof of extremity of I △ VP t x ′ x ′ 1 2 x 1 x 2 I I x ′ x ′ 1 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  37. Proof of extremity of I △ VP w ( t ) := − ℓ ( P ) t x ′ x ′ 1 2 x 1 x 2 I I x ′ x ′ 1 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  38. Proof of extremity of I △ VP w ( t ) := − ℓ ( P ) t x ′ x ′ 1 2 x 1 x 2 I I ℓ ( P ′ ) ≥ ℓ ( P ) x ′ x ′ 1 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  39. Proof of extremity of I △ VP w ( I + t ) = w ( I ) + w ( t ) = w ( I ) − ℓ ( P ) = w ( I △ P ) = w ( J ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  40. Proof of extremity of I △ VP w ( I + t ) = w ( I ) + w ( t ) = w ( I ) − ℓ ( P ) = w ( I △ P ) = w ( J ) A relaxation of our original problem has a maximum weight of w ( J ) by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  41. Proof of extremity of I △ VP w ( I + t ) = w ( I ) + w ( t ) = w ( I ) − ℓ ( P ) = w ( I △ P ) = w ( J ) A relaxation of our original problem has a maximum weight of w ( J ) J common independent = ⇒ J is extreme common independent by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  42. Proof of independency of I △ VP w ( t ) := − ℓ ( P ) t x ′ x ′ 1 2 x 1 x 2 I I x ′ x ′ 1 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  43. Reminder of Lemma Let C ∋ t be a circuit s.t. I △ VC is not a common independent set α Then there exists: Negative length circuit C ′ with VC ′ � VC or C ′ ∋ t s.t. ℓ ( C ′ ) ≤ ℓ ( C ) with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  44. Proof of independence of I △ VP w ( t ) := − ℓ ( P ) t x ′ x ′ 1 2 x 1 x 2 I I | P ′ | > = | P | or ℓ ( P ′ ) > ℓ ( P ) x ′ x ′ 1 2 by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  45. Reminder of Lemma Let C ∋ α be a circuit s.t. I △ VC is not a common independent set α Then there exists: Negative length circuit C ′ with VC ′ � VC or C ′ ∋ t s.t. ℓ ( C ′ ) ≤ ℓ ( C ) with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  46. Reminder of Lemma Let C ∋ α be a circuit s.t. I △ VC is not a common independent set α Then there exists: Negative length circuit C ′ with VC ′ � VC or C ′ ∋ t s.t. ℓ ( C ′ ) ≤ ℓ ( C ) with VC ′ � VC by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  47. Proof of independence ( I + t △ VP + t ) = I △ VP is a common independent set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  48. Proof of independence ( I + t △ VP + t ) = I △ VP is a common independent set = ⇒ J = I △ VP is an extreme common independent set by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  49. Maximum weight algorithm Input: M 1 and M 2 , an extreme common independent set I and a weight function w Output: An extreme common independent set J with | J | = | I | + 1 if any exists, else I Construct D M 1 , M 2 ( I ); Define X i := { x ∈ S \ I | I ∪ { x } ∈ I i } ; if X 1 -X 2 Path exists in D M 1 , M 2 ( I ) then P:=minimal weight X 1 - X 2 Path with minimal number of arcs; return I △ VP else return I end by Yan Alves Radtke Greedy Algorithm and Matroid Intersections

  50. Case 2 X 1

  51. Case 2 X 1 X 2

  52. Case 2 X 1 X 2

Recommend


More recommend