2015 - I
Docente : Jos AVELLANEDA PURI
avellaneda7@hotmail.com
EJERCICIOS
MTODO GRFICO DE SOLUCIN DE UN PROGRAMA LINEAL
Funcin econmica o funcin
1) Maximizar Z = x2 - 0.75x
1
objetivo
s.a.
x1 - x2 0 ... Restricciones
(1)
estructurales
-0.5x1 + x2 Restriccin
1 ..
de no-(2)
negatividad
x1,x2 0
m = tg = -c1
Solucin:
= x2
Grfico de las restricciones estructurales:
c2
Si
m:
Inecuacin (1): x1 x2 0
x1
Positivo
m = tg = -c1 = -(1) = 1 = x2 ; m positivo: x2=-1, x1=1 (-)
x2
(-1) x120 x1
x10 c2
Si: x2=0;
, Si: x1=0;
(+) x1
Negativo
x
2
x10
5
1
o
m
ti
p
3
2
P(x1,x2)
Polgono Convexo NO
Acotado
(Abierto)
-3
-2
-1
1
-1
-2
Z1
x20
6
P(x1,x2)=P(2,2)
Maximizar Z = x2 0.75x1 =20.75(2)=0.5
x1
x21x1=0;
Si:
2) Minimizar Z = x1 - 10x2
s.a.
x1 - 0.5x2 0 .... (1)
x1 - 5x2 -5 .. (2)
x1,x2 0
Solucin:
Grfico de las restricciones estructurales:
Inecuacin (1): x1 0.5x2 0
m = tg = -c1 = -(1) = 1 = 2 = x2 ; m positivo: x2=-2, x1=1
(-0.5) x0.5
1
x1
x10c2
0
2
Si: x2=0;
, Si: x1=0;
o x1x2
x21
x1-(2):
5 x1 - 5x2 -5
Inecuacin
Si: x2=0;
,
Si: x1=0; -5x2-5,
x
2
x10
5
4
Solucin NO
FACTIBLE o
Problema NO
SOLUBLE
2
Z3
2
-5
-4
-3
-2 Z2 -1
Z1
1
-1
-2
Polgono Convexo NO
Acotado
(abierto)
5
2
3
6
4
Minimizar Z = x1
10x2
x20
x1
x1
x3
x
P(x1,x2)=P(0,8)
8
2
7
6
x10
p
tim
o
5
4
3
1
Z
2
1
-1
x20
x1
1 punto
Si: x2=0;x10
0
, Si: x2x
1=0;
1 punto
x
2
x10
4
2
6
5
Z2
4
Z1
6
P(x1,xpuntos
2)=P(3,3)
-1
-2
x20
8
o
tim
1 punto
x1
x1
x2=0; 18
6=0;
Si:x2 x
1
5x1 + x2 4
Inecuacinx(3):
1
Si: x2=0; 0.8
x2 4
Si: x1=0;
m = -c1 = tg
= x2
c2
= -57 59`
x1
Si m:
x10
10
8
2
Positivo (-)
x2
P(x1,x24)
-4
-2
o
tim
p
-6
2
-2
-4
(+) x1
Negativo
(+) x2
Polgono Convexo
Acotado
2
(cerrado)
8
1
10
12
14
(+)
16 x118
P(x1,x2)=P(0,4)
Maximizar Z = 8x1 + 5x2
x20
x1
x1
x2=0; 18
Si:x2 6
x1=0;
Inecuacinx1(3):
5x1 + x2 4
Si: x2=0; 0.8
x2 4
Si: x1=0;
(-)
x2 = 5.2
x1 = 2.4
Se obtiene la siguiente solucin ptima nica:
Maximizar Z = 8x1 + 5x2 = 8(2.4) + 5(5.2) = 45.2
m = -c1 = tg
= x2
c2
= -57 59`
x1
Si m:
x10
10
8
2
Positivo (-)
x2
P(x1,x2)
(+) x1
Negativo
(+) x2
4
Polgono Convexo
Acotado
2
(cerrado)
tim
p
o
-6
-4
-2
2
-2
-4
8
1
10
12
14
(+)
16 x118
P(x1,x2)=P(2.4,5.2)
Maximizar Z = 8x1 + 5x2
x20
x1
8) Maximizar Z = -5x2
s.a.
x1 + x2 1 ... (1)
-0.5x1 - 5x2 -10 ... (2)
x1,x2 0
Solucin:
Grfico de las restricciones estructurales:
Inecuacin (1): x1 + x2 1
X21
X11
Si: x2=0;
, Si: x1=0;
x1 (2):
-0.5 x - 5 xx2
-10
Inecuacin
1
2
Si: x2=0; 20
, Si: x12=0;
x20
y
-5
x
2
x10
10
= 0
Z
8
FACTIBLE o
Problema NO
SOLUBLE
4
2
Polgono Convexo
Acotado
(cerrado)
-2
-4
-6
(+) x1
Negativo
(+)
x20 x2
-2
-4
m = -c1 = tg
= x2
c2
x1
Si m:
Positivo (-)
x2
10
12
14
16
18
(+)
20
xx1 1
(1)
(2)
(3)
(4)
Solucin:
Grfico de las restricciones estructurales:
X21
X11
Inecuacin
(1): x1 + x2 13
Si: x2=0; 3
, Si: 3x1=0;
InecuacinX(4):
x1 + 2x2
1
Si: x2=0;18
, Si: x91=0;
x20
y
x1
(-)
x2 = 5
x1 = 8
18
2 16
p
t
14
im
o
12
Si m:
Positivo (-)
x2
m = -c1 = tg
= x2
c2 41`
= -33
x1
x10
(+) x1
Negativo
(+) x2
10
8
Z
Polgono Convexo NO
Acotado
(Abierto)
(+)
P(x1,x2)
P(x1,x2)=P(8,5)
Minimizar Z = 2x1 + 3x2
4
2
-6
-4
-2
x1
10
x20
12
14
16
18
2021
x1
PRODUCCION
mina
NO
DIAS
COST
O
$/DIA
X1
2.000
X2
2.000
erimientos:
nimos
80 ton
160 ton
200 ton
X1
80
X2
40
, Si: x1=0;
Si:X2
x80
1=0;
1x00
Si:X2
1=0;
Grfico dexlas
de no-negatividad:
0 restricciones
x2
0
1
0;
y
x1, x2
2 x1
(-)
x1 = 40
x2 = 20
X2.
(10)
x10
10
Z
ti
p
o
m
8
Polgono Convexo NO
Acotado
(Abierto)
6
4
P(x1,x2)
-6
-4
-2
x20
2
-2
-4
2
3
10
1
m = -c1 = tg
= x2
c2
x1
Si m:
Positivo (-)
x2
(+) x1
Negativo
(+) x2
X(+)
1.
x1
(10)
P(x1,x2)=P(40,20)
Minimizar Z = 2.000x1 +
2.000x2