



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Algorithmic Methods 18.10.
Professor: Yossi Azar Scribe: Alexei Kovelman
Definition: The goal of linear programming (LP) is to find a maximum (minimum) of a given (linear) objective function, given linear con- straints (equalities or inequalities). This is deliberately general as many problems can be modeled as linear programming problems; let’s take a look at some examples.
The diet problem: You are the proud owner of a chicken farm and you’re given the task of preparing chicken food: there are four brands of chicken food: a, b, g, d, each containing a certain percentage of one of the three food groups A,B,C:
a b g d A 20 9 4 8 B 9 8 18 10 C 10 15 3 9 Price 60 48 40 52
Chicken must consume a certain amount of each food group daily; in our example they must consume (100, 80, 92) daily - that is, 100 units of food group A, 80 of food group B, etc. Each brand also has a price tag (see table above), and given that the farm is on a tight budget, the goal is to minimize the total price of daily feeding while providing the chicken with the necessary food groups. Now let’s describe the problem as an LP problem:
The max-flow problem: Let G(V, E) be a (directed) graph, s, t ∈ E be the source and sink of the desired flow, let c : E → R+^ be the capacity of the edges of E; we want to find a maximum flow f from source s to sink t that satisfies the following constraints:
v:(u,v)∈E f^ (u, v) =^
v:(v,u)∈E f^ (v, u)^ ∀u^ ∈ V {s, t}
The max-flow problem is easy to describe as an LP problem:
e:e=(u,v)∈E fe^ −^
e:e=(v,u)∈E fe^ = 0^ ∀u^ ∈^ V^ {s, t} (flow conservation for u ∈ V {s, t}).
e:e=(s,v)∈E fe^ −^
e:e=(v,s)∈E fe^ =^ d (Note: the corresponding equality for the sink t is redundant but may be added).
The multi-commodity max-flow problem: This is a generalization of the max-flow problem:
We can convert equalities to inequalities in the following manner: given an equality −→a · −→x = b, convert it into:
Thus we see that the polyhedral form is equivalent to the general form, and both the canonical and standard forms are special cases of the polyhedral form. In order to prove all-around equivalence, we need two things:
Vector space: a set closed to addition of vectors and multiplication of vec- tor and scalar that satisfies certain axioms (associativity/commutativity of addition, etc).
Linear independence: a set of vectors is independent iff none the vectors in the set can be written as a linear combination of the other vectors in the set.
Dimension: for vector space V , the dimension of V is the cardinality (size) of the largest independent set.
Affine space: given a vector space V, its subspace S and vector t ∈ V , an affine space is defined by {y + t|y ∈ S}.
Matrix rank: the dimension of the matrix’ rows (columns).
Vector orthogonality: vectors u,v are said to be orthogonal iff u · v = 0.
Nullspace: for matrix A, the nullspace (kernel) of A is the set of vectors x such that Ax = 0; the nullspace is a linear subspace.
Length: length of vector u is defined as: ||u|| =
u · u.
Bounded set: a set T is bounded iff there exists v such that ||x|| ≤ v∀x ∈ T.
Hyperplane: defined as {x|a · x = b}.
Half-space: defined as {x|a · x ≥ b}.
Polyhedron: an intersection of a finite number of half-spaces.
Polytope: a bounded, non-empty polyhedron.
Convex combination: a convex combination of vectors X is
i λixi^ such that 0 ≤ λi ≤ 1 ,
i λi^ = 1.
Strictly convex combination: as above, but: 0 < λi < 1.
Convex set: a set S is said to be convex if any convex combination of vectors in S is contained in S (it is sufficient to show for two vectors).
Intersection of convex sets is a convex set.
Polyhedron vertex: a vector in a polyhedron that cannot be written as a strictly convex combination of any other vectors in the polyhedron.
Definition: we are given an LP problem in its standard form; Amxn is the matrix of equalities; assume that the rows of A are linearly inde- pendent (since we’re dealing with equalities, we remove the rows that are linearly dependent with other rows without affecting the result); also assume that m < n (otherwise the solution is exactly one point); rank(A) = m; f = {x ≥ 0 |Ax = b} is the feasible region of A. We take m linearly independent columns and suppose that the other columns are assigned the value of 0; we then solve the remaining mxm set of linear equations and recover the (unique) solution x; such x is called a basic solution of A; if x ≥ 0 then x is feasible and a vertex and will be called basic feasible solution (bfs for short). Each bfs has at least n − m zeroes; if a bfs has more that n − m zeros, it will be called a degenerate bfs.
Claim: A bfs that is the result of two different selections of columns in a standard-form LP problem is degenerate.
Proof: Let J 1 , J 2 be two different selections of non-zero columns in a standard- form LP problem; let x be the solution to both J 1 and J 2 ; the number of non-zeros in x is at most the size of the intersection of J 1 and J 2 - and that size is strictly less that n − m, making x degenerate.
Theorem C: In a standard-form LP problem x is a vertex if and only if x is a bfs.
The proof appears in the notes of the next lecture.