Вы находитесь на странице: 1из 22

Universidad Nacional Mayor de San Marcos

Facultad de Ingeniera de Sistemas e Informtica


Investigacin Operativa I

Casos Especiales de
Problemas de
Programacin Lineal

Docente : Lic. Gabriel Solari Carbajal

Casos Especiales

Segn la
regin factible que
se forma

Lic. Gabriel Solari C.

2
Investigacin Operativa I

Casos Especiales
REGION FACTIBLE ACOTADA:
Una regin factible es acotada si queda representada
por una regin cerrada.
Ejemplo
Graficar el siguiente conjunto de restricciones:

2 x 1 + 5 x 2 40
2 x 1 + x 2 16
x1 , x 2 0
3
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales

REGION
FACTIBLE
ACOTADA

X2
8
6

X1
5
Lic. Gabriel Solari C.

8
4
Investigacin Operativa I

Casos Especiales
REGION FACTIBLE NO ACOTADA:
Una regin factible es no acotada
representada por una regin abierta.

si

queda

Ejemplo
Graficar el siguiente conjunto de restricciones:

- 4 x 1 + 3 x 2 12
- 2 x 1 + 7 x 2 50
x1 , x 2 0
5
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales

X2

REGION
FACTIBLE
NO ACOTADA

(10,10)

3
Lic. Gabriel Solari C.

X1

6
Investigacin Operativa I

Casos Especiales
Ejemplo
Graficar el siguiente conjunto de restricciones:

3 x 1 + 7 x 2 27
2 x1 + x 2 7
x1 , x 2 0

7
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
REGION
FACTIBLE
NO ACOTADA

X2
7

2
Lic. Gabriel Solari C.

X1

8
Investigacin Operativa I

Casos Especiales
NO SE FORMA REGION FACTIBLE:
El conjunto de restricciones no forma una regin
factible. Decimos que la regin factible es un conjunto
vaco.
Ejemplo
Graficar el siguiente conjunto de restricciones:

8 x 1 + 9 x 2 72
5 x 1 + 8 x 2 40
x1 , x 2 0
9
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
NO SE FORMA
REGION
FACTIBLE

X2
8

8 9
Lic. Gabriel Solari C.

X1

10
Investigacin Operativa I

Casos Especiales
RESTRICCION REDUNDANTE:
Una restriccin es redundante cuando no participa en la
delimitacin de la regin factible. El sistema puede ser
resuelto sin esta restriccin.
Ejemplo
Graficar el siguiente conjunto de restricciones:

8 x 1 + 9 x 2 72
5 x 1 + 8 x 2 40
x1 , x 2 0
11
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales

X2

RESTRICCIN
REDUNDANTE

8 9
Lic. Gabriel Solari C.

X1

12
Investigacin Operativa I

Casos Especiales

Segn la
solucin del
P.P.L.

13
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
SOLUCION UNICA:
El P.P.L. presenta una nica solucin ptima.
Ejemplo
Determinar la solucin ptima de:

Max Z = 5 x 1 + 5 x 2
sujeto a

2 x 1 + 5 x 2 40
2 x 1 + x 2 16
x1 , x 2 0
Lic. Gabriel Solari C.

14
Investigacin Operativa I

Casos Especiales
SOLUCIN
NICA

X2
8
6

X1
8

15
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Z

x1

x2

x3

x4

Sol.

-5

-5

x3

40

20

x4

16

-5/2

5/2

40

x3

-1

24

x1

1/2

1/2

16

5/8

15/8

55

x2

1/4

-1/4

x1

-1/8

5/8

Lic. Gabriel Solari C.

16
Investigacin Operativa I

Casos Especiales
Solucin:

x1 = 5
x2 = 6
x3 = 0
x4 = 0

Z = 55

17
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Ejemplo
Determinar la solucin ptima de:

Min Z = 5 x 1 + 5 x 2
sujeto a

Lic. Gabriel Solari C.

3 x 1 + 7 x 2 27
2 x1 + x 2 7
x1 , x 2 0
18
Investigacin Operativa I

Casos Especiales

X2
7

2
Lic. Gabriel Solari C.

X1

19
Investigacin Operativa I

Casos Especiales
Primera Fase:
Z
1
1

x1
0
3

x2
0
7

x3
0
-1

x4
0
0

w1
-1
1

w2
-1
0

Sol.

1
1
1

2
5
3

1
8
7

0
-1
-1

-1
-1
0

0
0
1

1
0
0

7
34
27

1
1
0

2
11/7
3/7

1
0
1

0
1/7
-1/7

-1
-1
0

0
-8/7
1/7

1
0
0

7
22/7
27/7

7,00

11/7
0
0

0
0
1

1/7
0
-2/11

-1
0
3/11

-1/7
-1
2/11

1
-1
-3/11

22/7
0
3

2,00

x2

1
1
0

x1

1/11

-7/11

-1/11

7/11

Z
w1
w2
w1
w2
x2
w2

Lic. Gabriel Solari C.

27

3,86

9,00

20
Investigacin Operativa I

10

Casos Especiales
Segunda Fase:
Z

x1

x2

x3

x4

Sol.

-5

-5

x2

-2/11

3/11

x1

1/11

-7/11

-5/11

-20/11

25

x2

-2/11

3/11

x1

1/11

-7/11

21
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Solucin:

x1 = 2
x2 = 3
x3 = 0
x4 = 0

Z = 25

Lic. Gabriel Solari C.

22
Investigacin Operativa I

11

Casos Especiales
MLTIPLES SOLUCIONES:
El P.P.L. presenta ms de una solucin ptima.
Ejemplo
Determinar la solucin ptima de:

Max Z = 4 x 1 + 10 x 2
sujeto a

2 x 1 + 5 x 2 40
2 x 1 + x 2 16
x1 , x 2 0
23
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales

MLTIPLES
SOLUCIONES

X2
8
6

X1
5
Lic. Gabriel Solari C.

8
24
Investigacin Operativa I

12

Casos Especiales
Z

x1

x2

x3

x4

Sol.

-4

-10

x3

40

8,00

x4

16

16,00

80

x2

10

2/5

1/5

x4
x2

0
1
10

8/5
0
0

0
0
1

-1/5
2
1/4

1
0
-1/4

8
80
6

x1

-1/8

5/8

25
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Solucin:

x 0
5
1

x
8
2
6

(1
)
=
+

x 0
0
3


x
8
0
4
donde

0 1
Lic. Gabriel Solari C.

26
Investigacin Operativa I

13

Casos Especiales
Ejemplo:

= 0.5
0
5 2.5


8

6 7
0.5 + (1 0.5) =
0
0
0


8
0 4

Z = 4 (2.5) + 10 (7) + 0 (0) + 0 (4) = 80


27
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
SOLUCIN NO ACOTADA:
La solucin del P.P.L. crece indefinidamente debido a
que la bsqueda se realiza sobre una regin no
acotada. Este modelo no tiene solucin.
Ejemplo
Determinar la solucin ptima de:

Max Z = 5 x 1 + 5 x 2
sujeto a

Lic. Gabriel Solari C.

- 4 x 1 + 3 x 2 12
- 2 x 1 + 7 x 2 50
x1 , x 2 0

28
Investigacin Operativa I

14

Casos Especiales
SOLUCIN
NO ACOTADA
(10,10)

X2
8

X1

Lic. Gabriel Solari C.

29
Investigacin Operativa I

Casos Especiales
Z

x1

x2

x3

x4

Sol.

-5

-5

x3

-4

12

4,00

x4

-2

50

7,14

-35/3

5/3

20

x2

-4/3

1/3

x4
x2

0
1
5

22/3
0
0

0
0
1

-7/3
-45/22
-1/11

1
35/22
2/11

22
55
8

x1

-7/22

3/22

Lic. Gabriel Solari C.

30
Investigacin Operativa I

15

Casos Especiales
La variable que debe ingresar a la base es x3, se
verifica la condicin de optimalidad, pero no es posible
seleccionar una variable de salida, no se cumple la
condicin de factibilidad. El modelo planteado no
presenta solucin.

31
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
SOLUCIN SIN REGION FACTIBLE:
El conjunto de restricciones no forma una regin
factible. Este modelo no tiene solucin.
Ejemplo
Determinar la solucin ptima de:

Max Z = 5 x 1 + 5 x 2
sujeto a

Lic. Gabriel Solari C.

8 x 1 + 9 x 2 72
5 x 1 + 8 x 2 40
x1 , x 2 0

32
Investigacin Operativa I

16

Casos Especiales

X2
8

8 9
Lic. Gabriel Solari C.

X1

33
Investigacin Operativa I

Casos Especiales
Primera Fase:
Z

x1

x2

x3

x4

w1

Sol.

-1

w1

-1

72

x4

40

-1

72

w1

-1

72

8,00

x4

40

5,00

19/8

-1

-9/8

27

w1

19/8

-1

-9/8

27

11,37

x2

5/8

1/8

8,00

-19/5

-1

-8/5

w1

-19/5

-1

-8/5

x1

8/5

1/5

Lic. Gabriel Solari C.

34
Investigacin Operativa I

17

Casos Especiales
Se alcanza un tablero ptimo, pero la variable artificial
no ha salido de la base. El modelo planteado no
presenta regin factible.

35
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
SOLUCIN DEGENERADA:
Una vez localizada la variable que ingresa, (condicin
de optimalidad, para casos de empate, se elige
arbitrariamente cualquiera de ellas).
Para la variable de salida, (condicin de factibilidad), si
ocurre un empate en los cocientes entre 2 o ms
variables bsicas, puede ocasionar un problema de
ciclaje, o el retorno a una solucin anterior.
Tambin origina que algunas variable bsicas tomen el
valor cero.

Lic. Gabriel Solari C.

36
Investigacin Operativa I

18

Casos Especiales
Ejemplo
Determinar la solucin ptima de:

Max Z = 4x1 + 10x 2


sujeto a

5 x1 + 6 x 2 30
5 x1 + 8 x 2 40
x1 , x 2 0
37
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales

X2

1
Lic. Gabriel Solari C.

X1

38
Investigacin Operativa I

19

Casos Especiales
Z
x3

Z
1
0

x1
-4
5

x2
-10
6

x3
0
1

x4
0
0

Sol.
0
30

x4
Z
x2

0
1
10

5
4.333
0.833

8
0
1

0
1.667
0.167

1
0
0

40
50
5

x4

-1.667

-1.333

La solucin ptima resulta:

x2 = 5
x4 = 0

x1 = 0

Z = 50

x3 = 0

39
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Z
x3

Z
1
0

x1
-4
5

x2
-10
6

x3
0
1

x4
0
0

Sol.
0
30

x4
Z
x3

0
1
0

5
2.25
1.25

8
0
0

0
0
1

1
1.25
-0.75

40
50
0

x2

10

0.625

0.125

La solucin ptima resulta:

x2 = 5

x3 = 0
Lic. Gabriel Solari C.

x1 = 0
x4 = 0

Z = 50
40
Investigacin Operativa I

20

Casos Especiales
Ejemplo de E.M.L. Beale
Determinar la solucin ptima de:

Max Z = 0.75 x1 20 x 2 + 0.5 x 3 6 x 4


sujeto a

0.25 x1 8 x 2 x 3 + 9 x 4 0
0.5 x1 12 x 2 0.5 x 3 + 3 x 4 0
x3 1
x1 , x 2 , x 3 , x 4 0
41
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Z
1
0

x1
-0.75
0.25

x2
20
-8

x3
-0.5
-1

x4
6
9

x5
0
1

x6
0
0

x7
0
0

Sol.
0
0

Z
x5
x6

0.5

-12

-0.5

x7
Z
x1

0
1
0.75

0
0
1

0
-4
-32

1
-3.5
-4

0
33
36

0
3
4

0
0
0

1
0
0

1
0
0

x6

1.5

-15

-2

x7
Z
x1

0
1
0.75

0
0
1

0
0
0

1
-2
8

0
18
-84

0
1
-12

0
1
8

1
0
0

1
0
0

x2

-20

0.375

-3.75

-0.5

0.25

x7

Lic. Gabriel Solari C.

42
Investigacin Operativa I

21

Casos Especiales
Z
x3

1
0.5

0.25
0.125

x2

-20

-0.047

x7
Z
x3

0
1
0.5

-0.125
-0.5
-2.5

x4

-6

-0.250

x7
Z
x5

0
1
0

x4
x7
Z
x5

0
0

0
1

-3
-10.5

-2
-1.5

3
1

0
0

0
0

0.188

0.063

-0.125

0
16
56

0
0
1

10.5
0
0

1.5
-1
2

-1
1
-6

1
0
0

1
0
0

0.095

5.333

0.333

-0.667

2.5
-1.75
-1.25

-56
44
28

0
0.5
0.5

0
0
0

-2
0
1

6
-2
-3

1
0
0

1
0
0

-6

0.167

-4

-0.167

0.333

0
1
0

0
-0.75
0.25

0
20
-8

1
-0.5
-1

0
6
9

0
0
1

0
0
0

1
0
0

1
0
0

x6

0.5

-12

-0.5

x7

43
Investigacin Operativa I

Lic. Gabriel Solari C.

Casos Especiales
Despus de 6 iteraciones se alcanza el tablero inicial.
Decimos que ha ocurrido un ciclaje. Para resolver el
ciclaje se utilizan las reglas lexicogrficas.

Lic. Gabriel Solari C.

44
Investigacin Operativa I

22

Вам также может понравиться