Vous êtes sur la page 1sur 10

Programmation linéaire

Exo 1 Série 3
Algo. de simplexe

Pr Adil BELLABDAOUI
Exo 1 Série 2 TD ENSIAS

Max Z = x1 + 3 x2

sujet à
x1 + x2  14
-2 x1 + 3 x2  12
2 x1 - x2  12
et
x1  0, x2  0

Forme standard
Max Z = x1 + 3 x2

sujet à
x1 + x2 + x3 = 14
-2 x1 + 3 x2 + + x4 = 12
2 x1 - x2 + x5 = 12
et
xj  0, pour j =1, 2, 3, 4, 5

Programmation linéaire
Séance Corrections des exercices, page 2
© 2021 Bellabdaoui
Méthode de simplexe
Tableau initiale

x1 x2 x3 x4 x5 bi
x3 1 1 1 0 0 14
x4 -2 3 0 1 0 12
x5 2 -1 0 0 1 12
cj 1 3 0 0 0 z-0

1. Solution initiale :
B={x3, x4, x5}
x = (0, 0, 14, 12, 12)
z=0

Programmation linéaire
Séance Corrections des exercices, page 3
© 2021 Bellabdaoui
Méthode de simplexe

x1 x2 x3 x4 x5 bi
x3 1 1 1 0 0 14 14/1
x4 -2 3 0 1 0 12 12/3
x5 2 -1 0 0 1 12
cj 1 3 0 0 0 z-0

Programmation linéaire
Séance Corrections des exercices, page 4
© 2021 Bellabdaoui
Méthode de simplexe
1ère itéartion x1 x2 x3 x4 x5 bi
x3 1 1 1 0 0 14 14/1
x4 -2 3 0 1 0 12 12/3
x5 2 -1 0 0 1 12
cj 1 3 0 0 0 z-0

x1 x2 x3 x4 x5 bi
x3 0
x2 1
x5 0
cj 0

Programmation Linéaire
Séance Corrections des exercices, page 5
© 2021 Bellabdaoui
Méthode de simplexe
Tableau initiale x1 x2 x3 x4 x5 bi
x3 1 1 1 0 0 14 14/1
x4 -2 3 0 1 0 12 12/3
x5 2 -1 0 0 1 12
cj 1 3 0 0 0 z-0

x1 x2 x3 x4 x5 bi
x3 0
x2 -2/3 1 0 1/3 0 4
x5 0
cj 0

Programmation Linéaire
Séance Corrections des exercices, page 6
© 2021 Bellabdaoui
Méthode de simplexe
1ère itération x1 x2 x3 x4 x5 bi
x3 1 1 1 0 0 14 14/1
x4 -2 3 0 1 0 12 12/3
x5 2 -1 0 0 1 12
cj 1 3 0 0 0 z-0

x1 x2 x3 x4 x5 bi
x3 5/3 0 1 -1/3 0 10
x2 -2/3 1 0 1/3 0 4 1ère itération :
x5 4/3 0 0 1/3 1 16 B={x3, x2, x5}
x = (0, 4, 10, 0, 16)
cj 3 0 0 -1 0 z - 12 z = 12

Programmation Linéaire
Séance Corrections des exercices, page 7
© 2021 Bellabdaoui
Méthode de simplexe
2ème itération

x1 x2 x3 x4 x5 bi
x3 5/3 0 1 -1/3 0 10 6
x2 -2/3 1 0 1/3 0 4
x5 4/3 0 0 1/3 1 16 12
cj 3 0 0 -1 0 z - 12

Programmation Linéaire
Séance Corrections des exercices, page 8
© 2021 Bellabdaoui
Méthode de simplexe
2ème itération x1 x2 x3 x4 x5 bi
x3 5/3 0 1 -1/3 0 10 6
x2 -2/3 1 0 1/3 0 4
x5 4/3 0 0 1/3 1 16 12
cj 3 0 0 -1 0 z - 12

x1 x2 x3 x4 x5 bi
x1 1 0 3/5 -1/5 0 6
x2 0 1 2/3 1/5 0 8 2ème itération :
x5 0 0 -4/5 3/5 1 8 B={x1, x2, x5}
x = (6, 8, 0, 0, 8)
cj 0 0 -9/5 -2/5 0 z - 30 z = 30

Programmation Linéaire
Séance Corrections des exercices, page 9
© 2021 Bellabdaoui
Méthode de simplexe
Interprétation graphique

x2 1. Solution initiale :
x = (0, 0, 14, 12, 12)
16 z=0
2. 1ère itération :
x = (4, 0, 10, 0, 16)
12
z = 12
(6,8) 3. 2ème itération :
8 x = (6, 8, 0, 0, 8)
z = 30
(4,0)
4

(0,0)
4

Programmation Linéaire
Séance Corrections des exercices, page 10
© 2021 Bellabdaoui

Vous aimerez peut-être aussi