Iterative Improvement

Start with feasible solution

Linear Programming

Problem to optimize a linear function of several variables subject to linear constraints.

TODO general form, objective function, nonnegativity constraints

Example:

Maximize 3x+5y

subject to: x+y x+3y x,y

We can draw a figure in 2D space and find the feasible region.

TODO Draw this.

Extreme Point Theorem:

Any LP problem with a nonempty, bounded feasible region has an optimal solution.

Solving LP

Three outcomes:

  1. Has a finite optimal solution
  2. Unbounded
  3. Infeasible

Simplex

Classic LP problem solver.

Standard Form of LP Problem

Works on maximization problems. All constraints (except the nonnegativity constraints) must be linear equations.

All variables must be nonnegative

Basic Feasible Solutions

A basic solution to a system of m linear equations in n unknowns is obtained by setting n\to m variables to 0 an dsolving the resulting system to get the values of the other m variables.

x+y+u = 4 x+3y + v = 6

(0,0,4,6) is a basic feasible solution.

Simplex Tableau

TODO what is happening

Maximum Flow Problem

Problem of maximizing the flow of a material through a transportation network.

Formally, this is represented with a connected, weighted digraph with n verticies numbered 1 to n.

Note — There can only be one source, and one sink.

Definition of Flow

Assignemnt of real number x_{ij} to edges (i,j) of a given network that satisfy the following:

  1. Flow-Conservation Requirements: Total amount of material entering an intermediate vertex must equal the toal amount of material leaving it.

TODO

  1. Capacity Constraints:

TODO

No material can be lost or added by going through intermediate verticies, so total amount of material leaving the source must end up at the sink.

This means our objective function is TODO, which we want to maximize

As a LP Problem

Maximize TODO

subject to

TODO

Ford-Fulkerson

A solution to flow maximization.

Steps:

  1. Start with zero flow
  2. On each iteration, try to find a flow-augmenting path from source to sink, which TODO
  3. If flow-augmenting path is found, adjust the flow along the edges TODO
  4. TODO

Exciting news: Final is not cumulative

CHAPTER 8: Dynamic Programming, namely:

CHAPTER 9: Greedy Technique, namely:

CHAPTER 10: Linear Programming (iterative development), namely:

OVERALL: I really only care about the Homework assignments.