1 / 43

Linear Programming in Low Dimensions

Linear Programming in Low Dimensions. Presented by Nati Srebro. Linear Programming. Linear Programming in 2D. Linear Programming in 2D. An Infeasible Linear Program. An Unbounded LP. An Unbounded LP. Unique optimum Optimal edge Unbounded Infeasible. Types of LPs. Find the optimum

zaynah
Download Presentation

Linear Programming in Low Dimensions

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. Linear Programming in Low Dimensions Presented by Nati Srebro

  2. Linear Programming

  3. Linear Programming in 2D

  4. Linear Programming in 2D

  5. An Infeasible Linear Program

  6. An Unbounded LP

  7. An Unbounded LP

  8. Unique optimum Optimal edge Unbounded Infeasible Types of LPs • Find the optimum • Find an optimum • Find unbounded ray • Declare as unfeasible

  9. ?

  10. Adding a New Constraint If its not broken– don’t fix it !

  11. Adding a New Constraint ????

  12. Adding a New Constraint

  13. Adding a New Constraint

  14. Adding a New Constraint

  15. Adding a New Constraint

  16. Adding a New Constraint

  17. Adding a New Constraint

  18. Adding a New Constraint

  19. Adding a New Constraint

  20. Is a bad sign…. Adding a New Constraint

  21. Adding a New Constraint • Check is optimum is feasible • Optimum is feasible: We’re fine, don’t do anything • Optimum isn’t feasible: Find optimum on new constraint (line) No feasible points on new constraint: LP isn’t feasible O(1) O(n)

  22. Incremental Algorithm • Add new constraints one by one,keeping track of current optimum

  23. Initialization Find two constraints that together bound the LP

  24. Initialization • Constraint h closest to top half-plane

  25. Initialization • Constraint h closest to top half-plane • For every other constraint, check if it bounds the LP with h • If no constraint is good--- LP is unbounded or unfeasible because of parallel constraints

  26. Incremental Algorithm • Find two constraints that bound LP • If none exist, LP is unbounded • Add all other constraints one by one, keeping track of current optimum O(n) O(n2)

  27. Adding a New Constraint • Check is optimum is feasible • Optimum is feasible: We’re fine, don’t do anything • Optimum isn’t feasible: Find optimum on new constraint (line) No feasible points on new constraint: LP isn’t feasible O(1) O(n) Maybe we only rarely have to update optimum ?

  28. O(n) updates…

  29. But…

  30. Update time duringround i Update time duringround i Update at roundi Use a random permutation ! Expected time spent updating:

  31. non-initial constraints Probability of update at round i First i constraints: Update only if ith constraint is one of two defining constraints

  32. Expected Run-Time Analysis Update time duringround i Update time duringround i Update at roundi Expectation is over algorithm randomness, not over input Expected time spent updating:

  33. Cool man, but what about higher dimensions ? • Incrementally add new constraints • Probability of update: d/(i-d) • On update: solve d-1 dimensional LP

More Related