Start with feasible solution
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.
Any LP problem with a nonempty, bounded feasible region has an optimal solution.
Three outcomes:
Classic LP problem solver.
Works on maximization problems. All constraints (except the nonnegativity constraints) must be linear equations.
All variables must be nonnegative
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.
TODO what is happening
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.
Assignemnt of real number x_{ij} to edges (i,j) of a given network that satisfy the following:
TODO
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
Maximize TODO
subject to
TODO
A solution to flow maximization.
Steps:
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.