crazy picture maximum matching and simplex
play

Crazy Picture. Maximum matching and simplex. z y x Maximum - PowerPoint PPT Presentation

Crazy Picture. Maximum matching and simplex. z y x Maximum matching and simplex. max x + y + z x 1 z x + z 1 z + y 1 x y 1 z x 0 y 0 y y z 0 x Maximum matching and simplex. max x + y + z x 1 z x + z 1


  1. Proof. For a convex body P and a point b , b ∈ A or there is point p where ( x − p ) T ( b − p ) < 0 x p b Proof: Choose p to be closest point to b in P . Done or ∃ x ∈ P with ( x − p ) T ( b − p ) ≥ 0 ( x − p ) T ( b − p ) ≥ 0 x − p and − − − → → ≤ 90 ◦ angle between − − − → p b − p . b Must be closer point b on line from p to x . P x

  2. Proof. For a convex body P and a point b , b ∈ A or there is point p where ( x − p ) T ( b − p ) < 0 x p b Proof: Choose p to be closest point to b in P . Done or ∃ x ∈ P with ( x − p ) T ( b − p ) ≥ 0 ( x − p ) T ( b − p ) ≥ 0 x − p and − − − → → ≤ 90 ◦ angle between − − − → p b − p . b Must be closer point b on line from p to x . P All points on line to x are in polytope. x

  3. Proof. For a convex body P and a point b , b ∈ A or there is point p where ( x − p ) T ( b − p ) < 0 x p b Proof: Choose p to be closest point to b in P . Done or ∃ x ∈ P with ( x − p ) T ( b − p ) ≥ 0 ( x − p ) T ( b − p ) ≥ 0 x − p and − − − → → ≤ 90 ◦ angle between − − − → p b − p . b Must be closer point b on line from p to x . P All points on line to x are in polytope. x Contradicts choice of p as closest point to b in polytope.

  4. More formally. p Squared distance to b from p +( x − p ) µ b P x

  5. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x P x

  6. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x

  7. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p .

  8. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x

  9. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify:

  10. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify: | p − b | 2 − 2 µ | p − b || x − p | cos θ +( µ | x − p | ) 2 .

  11. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify: | p − b | 2 − 2 µ | p − b || x − p | cos θ +( µ | x − p | ) 2 . Derivative with respect to µ ...

  12. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify: | p − b | 2 − 2 µ | p − b || x − p | cos θ +( µ | x − p | ) 2 . Derivative with respect to µ ... − 2 | p − b || x − p | cos θ + 2 ( µ | x − p | 2 ) .

  13. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify: | p − b | 2 − 2 µ | p − b || x − p | cos θ +( µ | x − p | ) 2 . Derivative with respect to µ ... − 2 | p − b || x − p | cos θ + 2 ( µ | x − p | 2 ) . which is negative for a small enough value of µ

  14. More formally. p Squared distance to b from p +( x − p ) µ b point between p and x ( | p − b |− µ | x − p | cos θ ) 2 +( µ | x − p | sin θ ) 2 P x θ is the angle between x − p and b − p . p | p − b |− ℓ cos θ ℓ cos θ b θ ℓ sin θ ℓ = µ | x − p | Distance to new point. p + µ ( x − p ) x Simplify: | p − b | 2 − 2 µ | p − b || x − p | cos θ +( µ | x − p | ) 2 . Derivative with respect to µ ... − 2 | p − b || x − p | cos θ + 2 ( µ | x − p | 2 ) . which is negative for a small enough value of µ (for positive cos θ . )

  15. Generalization: exercise. Theorems of Alternatives.

  16. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it.

  17. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5.

  18. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0.

  19. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A .

  20. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A .

  21. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A . y is normal.

  22. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A . y is normal. y in nullspace for column span.

  23. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A . y is normal. y in nullspace for column span. y T b � = 0 = ⇒ b not in column span.

  24. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A . y is normal. y in nullspace for column span. y T b � = 0 = ⇒ b not in column span. There is a separating hyperplane between any two convex bodies.

  25. Generalization: exercise. Theorems of Alternatives. Linear Equations: There is a separating hyperplane between a point and an affine subspace not containing it. From Ax = b use row reduction to get, e.g., 0 � = 5. That is, find y where y T A = 0 and y T b � = 0. Space is image of A . Affine subspace is columnspan of A . y is normal. y in nullspace for column span. y T b � = 0 = ⇒ b not in column span. There is a separating hyperplane between any two convex bodies. Idea: Let closest pair of points in two bodies define direction.

  26. Ax = b , x ≥ 0 � � � � 1 0 1 1 x = 0 1 1 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  27. Ax = b , x ≥ 0 � � � � 1 0 1 1 x = 0 1 1 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  28. Ax = b , x ≥ 0 � � � � 1 0 1 1 x = 0 1 1 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  29. Ax = b , x ≥ 0 � � � � 1 0 1 1 x = 0 1 1 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  30. Ax = b , x ≥ 0 � � � � 1 0 1 1 x = 0 1 1 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  31. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  32. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  33. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1

  34. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1 y where y T ( b − Ax ) < y T ( 0 ) < 0 for all x ≥ 0

  35. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1 y where y T ( b − Ax ) < y T ( 0 ) < 0 for all x ≥ 0 → y T b < 0 and y T A ≥ 0.

  36. Ax = b , x ≥ 0 � � � � 1 0 1 − 1 x = 0 1 1 − 1 Coordinates s = b − Ax . x 3 x ≥ 0 where s = 0? s 2 s 1 x 2 x 1 y where y T ( b − Ax ) < y T ( 0 ) < 0 for all x ≥ 0 → y T b < 0 and y T A ≥ 0. Farkas A: Solution for exactly one of:

Recommend


More recommend