Chapter 2: Linear Programming Basics
(Bertsimas & Tsitsiklis, Chapter 1)
33
Chapter 2: Linear Programming Basics (Bertsimas & Tsitsiklis, - - PowerPoint PPT Presentation
Chapter 2: Linear Programming Basics (Bertsimas & Tsitsiklis, Chapter 1) 33 Example of a Linear Program minimize 2 x 1 + 4 x 3 x 2 subject to + + 2 x 1 x 2 x 4 3 x 2 x 3 = 5 x 3 + x 4 3 0 x 1 x 3 0 Remarks.
33
◮ objective function is linear in vector of variables x = (x1, x2, x3, x4)T ◮ constraints are linear inequalities and linear equations ◮ last two constraints are special
34
◮ x ∈ Rn satisfying constraints (2.1) – (2.5) is a feasible solution. ◮ feasible solution x∗ is optimal solution if
◮ linear program is unbounded if, for all k ∈ R, there is a feasible
35
◮ maximizing cT · x is equivalent to minimizing (−c)T · x. ◮ any linear program can be written in the form
◮ rewrite ai T · x = bi as:
◮ rewrite ai T · x ≤ bi as:
◮ Linear program in standard form:
36
◮ n different foods, m different nutrients ◮ aij := amount of nutrient i in one unit of food j ◮ bi := requirement of nutrient i in some ideal diet ◮ cj := cost of one unit of food j
37
◮ elimination of free (unbounded) variables xj:
j , x− j
j − x− j ◮ elimination of non-positive variables xj:
◮ elimination of inequality constraint ai T · x ≤ bi:
◮ elimination of inequality constraint ai T · x ≥ bi:
38
2
2
2
2
2
2
2 , x− 2 , x3
39
a An affine linear function f : Rn → R given by f (x) = cT · x + d with
b If f1, . . . , fk : Rn → R are convex functions, then f : Rn → R defined
40
i=1,...,k ci T · x + di
n
n
41
0.5 1 1.5 2 2.5 3 0.5 1 1.5 2 2.5 3 42
1 1 1 43
1 2 3 1 2 3
◮ for c = (1, 1)T, the unique optimal solution is x = (0, 0)T ◮ for c = (1, 0)T, the optimal solutions are exactly the points
◮ for c = (0, 1)T, the optimal solutions are exactly the points
◮ for c = (−1, −1)T, the problem is unbounded, optimal cost is −∞ ◮ if we add the constraint x1 + x2 ≤ −1, the problem is infeasible
44
i there is a unique optimal solution ii there exist infinitely many optimal solutions, but the set of optimal
iii there exist infinitely many optimal solutions and the set of optimal
iv the problem is unbounded, i. e., the optimal cost is −∞ and no
v the problem is infeasible, i. e., the set of feasible solutions is empty
45
1 1 1 46
◮ if A ∈ Rm×n with m ≤ n and the rows of A are linearly independent,
◮ set of feasible solutions lies in this affine subspace and is only
47