Linear Programming
- Handwritten note
- Definition
- Minimize objective function c1x1+c2x2+⋯+cnxn.
- Subject to constraints
a11x1+a12x2+⋯+a1nxn≤bn, …
- Optimization under linear constraints!
Solution
- A solution with feasible region
- Form feasible region
- In convex cases, we know that the solution must be on the endpoints. We may
simply find out all the values and compare.
- Or, probe at one of the endpoint, and binary search to find the minimum.
- Another solution without feasible region, similar to prune-and-search
- Pair constraints (half-plane boundaries) in arbitrary manner.
- Probe anywhere, the local slope tells us where the minimum is at, this
allows us to eliminate half of the half-planes.
- Repeat the process.
- Similarly for the upper convex hull.