Professional Documents
Culture Documents
s s
)
`
) = = m i a
a
b
a
b
is
is
i
ks
k
1 ; 0 / Min / j K
k
2010 Bellabdaoui
Mthode du simplex : mthode des 2 phases
VARIABLES ARTIFICIELLES
Cas dune inquation >
a
i1
x
1
+ a
i2
x
2
+ a
i3
x
3
+ + a
in
x
n
> b
i
Ajout dune variable dcart
a
i1
x
1
+ a
i2
x
2
+ a
i3
x
3
+ + a
in
x
n
x
m
= b
i
Coefficient de la variable dcart ngatif ne peut servir comme
variable de base
Ajout dune variable artificielle
a
i1
x
1
+ a
i2
x
2
+ a
i3
x
3
+ + a
in
x
n
x
m
+ x
a
= b
i
Recherche oprationnelle applique la gestion des systmes industriels
Sance 3, page 5
2010 Bellabdaoui
Divers
VARIABLES ARTIFICIELLES
Cas =
Lajout dune variable artificielle permet linsertion dune variable
de base dans la solution de dpart
Les variables artificielles sont limines de la solution en leur
assignant une pnalit importante dans la fonction objective
RSOLUTION
Mthode des deux phases
Recherche oprationnelle applique la gestion des systmes industriels
Sance 3, page 6
2010 Bellabdaoui
Exemple de mthode de 2 phases
Maximiser
Z = x
1
+ 2x
2
Sujet
2x
1
+ x
2
> 4
x
1
+ x
2
s 8
-x
1
+ x
2
s 4
x
1
s 5
x
1
> 0, x
2
> 0
Recherche oprationnelle applique la gestion des systmes industriels
Sance 3, page 7
2010 Bellabdaoui
Exercice
(P) :PL sous forme standard
Max z = x
1
+ 2x
2
Sujet
2x
1
+ x
2
x
3
= 4
x
1
+ x
2
+ x
4
= 8
-x
1
+ x
2
+x
5
= 4
x
1
+x
6
= 5
x
i
> 0, i = 1,,6
(PA) : PL auxiliaire
Min w = t
1
Sujet
2x
1
+ x
2
x
3
+ t
1
= 4
x
1
+ x
2
+ x
4
= 8
-x
1
+ x
2
+x
5
= 4
x
1
+x
6
= 5
x
i
> 0, i = 1,,6
t
1
> 0,
Recherche oprationnelle applique la gestion des systmes industriels
Sance 3, page 8
Min w - 4 = -2x
1
- x
2
+ x
3
Sujet
2x
1
+ x
2
x
3
+ t
1
= 4
x
1
+ x
2
+ x
4
= 8
-x
1
+ x
2
+x
5
= 4
x
1
+x
6
= 5
x
i
> 0, i = 1,,6
t
1
> 0,
2010 Bellabdaoui
Solution compte
x
1
x
2
x
3
x
4
x
5
x
6
t
1
b
i
t
1
2 1 -1 0 0 0 1 4
x
4
1 1 0 1 0 0 0 8
x
5
-1 1 0 0 1 0 0 4
x
6
1 0 0 0 0 1 0 5
c
j
-2 -1 1 0 0 0 0 w-4
Recherche oprationnelle applique la gestion des systmes industriels
Sance 2, page 9
x
1
x
2
x
3
x
4
x
5
x
6
t
1
b
i
t
1
2 1 -1 0 0 0 1 4
x
4
1 1 0 1 0 0 0 8
x
5
-1 1 0 0 1 0 0 4
x
6
1 0 0 0 0 1 0 5
c
j
-2 -1 1 0 0 0 0 w-4
2010 Bellabdaoui
Solution compte
x
1
x
2
x
3
x
4
x
5
x
6
t
1
b
i
x
1
1 1/2 -1/2 0 0 0 1/2 2
x
4
0 1/2 1/2 1 0 0 -1:2 6
x
5
0 3/2 -1/2 0 1 0 1/2 6
x
6
0 -1/2 1/2 0 0 1 -1/2 3
c
j
0 0 0 0 0 0 1 w
Recherche oprationnelle applique la gestion des systmes industriels
Sance 2, page 10
x
1
x
2
x
3
x
4
x
5
x
6
t
1
b
i
x
1
1 1/2 -1/2 0 0 0 1/2 2
x
4
0 1/2 1/2 1 0 0 -1:2 6
x
5
0 3/2 -1/2 0 1 0 1/2 6
x
6
0 -1/2 1/2 0 0 1 -1/2 3
c
j
0 0 0 0 0 0 1 w
2010 Bellabdaoui
Solution compte
Recherche oprationnelle applique la gestion des systmes industriels
Sance 2, page 11
x
1
x
2
x
3
x
4
x
5
x
6
b
i
x
1
1 1/2 -1/2 0 0 0 2
x
4
0 1/2 1/2 1 0 0 6
x
5
0 3/2 -1/2 0 1 0 6
x
6
0 -1/2 1/2 0 0 1 3
c
j
0 3/2 1/2 0 0 0 z-2
z = x
1
+ 2x
2
2 = x
1
+ 1/2 x
2
-1/2 x
3
z 2 = 3/2 x
2
+1/2 x
3
x
1
x
2
x
3
x
4
x
5
x
6
b
i
x
2
2 1 -2 0 0 0 4
x
4
-1 0 1 1 0 0 4
x
5
-3 0 1 0 1 0 0
x
6
1 0 0 0 0 1 5
c
j
-3 0 2 0 0 0 z-8
2010 Bellabdaoui
x
1
x
2
x
3
x
4
x
5
x
6
b
i
x
2
-4 1 0 0 2 0 4
x
4
2 0 0 1 -1 0 4
x
3
-3 0 1 0 1 0 0
x
6
1 0 0 0 0 1 5
c
j
3 0 0 0 -2 0 z-8
Solution compte
Recherche oprationnelle applique la gestion des systmes industriels
Sance 2, page 12
z = x
1
+ 2x
2
2 = x
1
+ 1/2 x
2
-1/2 x
3
z 2 = 3/2 x
2
+1/2 x
3
x
1
x
2
x
3
x
4
x
5
x
6
b
i
x
2
0 1 0 2 0 0 6
x
1
1 0 0 1/2 -1/2 0 2
x
3
0 0 1 3/2 -1/2 0 6
x
6
0 0 0 -1/2 1/2 1 3
c
j
0 0 0 -3/2 -1/2 0 z-14
2010 Bellabdaoui
Interprtation graphique
Recherche oprationnelle applique la gestion des systmes industriels
Sance 3, page 13
2 4 6 8 10
2
4
6
8
x
2
x
1
0
2x
1
+ x
2
= 4
x
1
= 5
x
1
+ x
2
= 8
-x
1
+ x
2
= 4
X
1
= 2
X
2
= 6
Z = 14