Optim
Optim
Walle Tilahun1
1 MIZAN TEPI UNIVERSITY
√
walleTilahun
‘
Feasible Region: The set of all feasible solutions to a linear
programming problem, defined by the intersection of the
constraints.
Decision Variable: Variables in a linear programming problem
that represent decisions to be made.‘
Basic Variable: Variables that correspond to the basic feasible
solution in a linear programming problem.‘
Slack Variable: Variables added to convert inequalities into
equations in a linear programming problem.(i.e By adding
so-called slack variables. For each of the less-than
inequalities)‘
√
walleTilahun
6y
5 7
= x2 x3 =
5 5
4
Z = 14 x1 + 13 x2 + 0x3 + 5
12 x4
2
1
= x1 7
2 x4 =
1
x
2 4 6 8 10 √
walleTilahun
√
walleTilahun
Important theorem
A linear programming problem consists of an objective function to
be optimized subject to a system of constraints.
Examples
The constraints are a system of linear inequalities that represent
certain restrictions in the problem. √
walleTilahun
Examples
The solution set to a system of inequalities is the region that
satisfies all inequalities in the system is called the feasible set
Examples
The optimal solution is the point that maximizes or minimizes the
objective function, and the optimal value is the maximum or
minimum value of the function.
√
walleTilahun
Examples
1.An unbounded set is a set that has no bound and continues
indefinitely. A Lp problem with an unbounded set may or may not
have an optimal solution, but if there is an optimal solution, it
occurs at a corner point.
2.A bounded set is a set that has a boundary around the feasible √
walleTilahun
set. A Lp problem with a bounded set always has an optimal
solution.
Walle Tilahun LINEAR OPTIMIZATION
Fundamental Theorem of Linear Programming
maximize CTX
AX ≤ B (3)
subject to
x1 , . . . , xn ≥ 0
√
walleTilahun
Remark
If the optimal solution occurs at two adjacent vertices of the
feasible set, then the linear programming problem has infinitely
many solutions. Any point on the line segment joining the two
vertices is also a solution.
√
walleTilahun
D(2,4.5)
4
x1 + 4x2 ≤ 20
C(4,3)
3x1 + 4x2 ≤ 24
2 Feasible region
x1 ≥ 0
x2 ≥ 0 B(6,0) x1
A(0,0) F(8,0)
2 4 6 8
Figure: 1
from Figure:2, given above. A. Find the maximum value and the
point where the maximum occurs.
B. Find the minimum value and the point where the minimum √
walleTilahun
occurs.
maximize 13x1 + 10x2
Walle Tilahun LINEAR OPTIMIZATION
Linear Programming General Form
Remarks:
1 maxf (x) = −min[−f (x)]
2 A1 x ≥ b ⇔ (−A1 )x ≤ −b1
3 A1 x = b1 ⇔ A1 x ≤ b1 & A1 x ≥ b1 √
walleTilahun
1 Feasible region
x1 ≥ 0 x2 ≥ 0
Figure: walle
√
walleTilahun
2 x1 ≤ 2
1 x1 +x2 ≥ 1
x1 −x2 ≥ −1
0 x1
-1 0 1 2 3 4 5
x1 ≥ 0 √
walleTilahun
-1 x2 ≥ 0
Walle Tilahun LINEAR OPTIMIZATION
unbounded LPP
maximize x1 − 4x2
−2x1 + x2 ≤ −1 (5)
subject to −x1 − 2x2 ≤ −2
x1 , x2 ≥ 0.
solution
joining the two vertices is also a solution. √
walleTilahun
√
walleTilahun
Examples
Elementary row operations:
1. swap row i and row j;
2. multiply row i by a non-zero scalar;
3.substitute row i by row i plus times row j(α ∈ R).
√
walleTilahun
Examples
Write the following a LPP in standard form and find Basic
solutions(if any?)
√
walleTilahun