Beruflich Dokumente
Kultur Dokumente
Session 1 p.1/27
Session 1 p.3/27
min cT x
A 1 x b1
A 2 x = b2
A 3 x b3
A 1 x b1
=
A 2 x b2
A 2 x b2
A 3 x b3
min cT x
=
A 1 x b1
A2 x b2
Session 1 p.5/27
min cT y cT z
=
Ay Az b
y, z 0
Session 1 p.6/27
min cT x
Ax b
x0
Ax + s = b
x, s 0
Session 1 p.7/27
min x 2y
x+y 3
0x2
0y2
x + y + s1 = 3
=
x + s2 = 2
y + s3 = 2
x, y, s1 , s2 , s3 0
Session 1 p.8/27
Session 1 p.10/27
Session 1 p.10/27
Session 1 p.12/27
y2
x+y 3
(1, 2)
(2, 1)
x0
y0
x2
x
Session 1 p.14/27
min x + 2y
x+y 3
x+y 3
0x2
y2
x0
x2
x
Unbounded LP
min x + 2y
Session 1 p.15/27
min x 2y
y2
x+y 3
0x2
(1, 2)
x+y 3
y2
LP is bounded,
but set of feasible
solutions is not
x0
x2
x
Session 1 p.16/27
Bases (1)
Let us denote by a1 , ..., an the columns of A
A matrix of m columns (ak1 , ..., akm ) is a basis
if the columns are linearly independent
If (ak1 , ..., akm ) is a basis,
then the variables (xk1 , ..., xkm ) are called basic
We usually denote
by B the list of indices (k1 , ..., km ), and
by R the list of indices (1, 2, ..., n) B; and
by B the matrix (ai | i B), and
by R the matrix (ai | i R)
xB the basic variables, xR the non-basic ones
Session 1 p.17/27
Bases (2)
min x 2y
x + y + s1 = 3
x + s2 = 2
y + s3 = 2
x, y, s1 , s2 , s3 0
1 1 1 0 0
A= 1 0 0 1 0
0 1 0 0 1
1 0 0
B= 0 1 0
0 0 1
1 1
R= 1 0
0 1
Session 1 p.18/27
Bases (3)
If B is a basis, then the following holds
BxB + RxR = b
Hence:
xB = B 1 b B 1 RxR
Bases (4)
Basis (s1 , s2 , s3 ) is feasible
min x 2y
x + y + s1 = 3
x + s2 = 2
y + s3 = 2
x, y, s1 , s2 , s3 0
s1 = 3 x y
s2 = 2 x
s3 = 2 y
1 0 0
B= 0 1 0
0 0 1
B = 2
2
1 1
R= 1 0
0 1
R =
0
0
Session 1 p.20/27
Bases (5)
Basis (x, y, s1 ) is not feasible
min x 2y
x + y + s1 = 3
x + s2 = 2
y + s3 = 2
x, y, s1 , s2 , s3 0
x = 2 s2
y = 2 s3
s1 = 1 + s2 + s3
1 1 1
B= 1 0 0
0 1 0
B = 2
1
0 0
R= 1 0
0 1
R =
0
0
Session 1 p.21/27
Bases (6)
A basis is called degenerate when at least one component
of its basic solution xB is null
min x 2y
x + y + s1 = 4
x + s2 = 2
y + s3 = 2
x, y, s1 , s2 , s3 0
1 1 0
R= 0 0
0 1
B= 1 0 1
0 1 0
x = 2 + s3 s1
y = 2 s3
s =s s
2
1
3
1 0
B = 2
0
Session 1 p.22/27
Session 1 p.23/27
y
y2
(0, 2) 1
x+y 3
xB1 = (y, s1 , s2 )
xB2 = (x, y, s2 )
xB3 = (x, y, s3 )
xB4 = (x, s1 , s3 )
(1, 2)
(2, 1)
x0
x2
5
(0, 0)
y0
(2, 0)
xB5 = (s1 , s2 , s3 )
Session 1 p.24/27
r
X
i v i +
i=1
s
X
j rj
j=1
Pr
i=1 i
= 1 and i , j 0.
Session 1 p.25/27
Session 1 p.26/27
where
Pr
i=1 i
i=1 i c
vi +
j=1 j c
rj
= 1 and i , j 0.
i=1 i c
vi >
i=1 i c
x =c x
Session 1 p.27/27