Professional Documents
Culture Documents
>
s +
s +
d. negativida No 0. X , X
12 3X 2X
8 X 2X
2 1
2 1
2 1
Convertimos en igualdades
= +
= +
12 X 3 2X
8 X 2X
2 1
2 1
Agregando variables de holgura.
2 1 h X 3 2X
8 h X 2X
2 2 1
1 2 1
= + +
= + +
0 h 0 h 0 X 2 X
h 0 h 0 X 2 X
2 1 2 1
2 1 2 1
= +
+ + =
Z
Z
Grados de libertad = # de variables - # de ecuaciones.
4 Variables - 2 Ecuaciones = 2 Grados de libertad.
12 h y 8 h
0 X X
2 1
2 1
= =
= =
0 0h h 0 X 2 X
0h h 0 X 2 X
2 1 2 1
2 1 2 1
=
+ + + =
Z
Z
TABLA INICIAL.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
2 1 1 0 8
h
2
2 3 0 1 12
Z -1 -2 0 0 0
PRIMERA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
4/3 0 1 -1/3 4
X
2
2/3 1 0 1/3 4
Z 1/3 0 0 2/3 8
Maximizamos la funcin objetivo:
1
X
2
X
. 2
2 1
X X +
0 0 0
0 4 8
Solucin: 4 X 0, X , 8
2 1
= = = Z
2. MAXIMIZAR.
Z= -x1 + 3x2
Sujeto a:
x1 + x2 6
-x1 + x2 4
x1, x2 0
MAXIMIZAR
2 1
3X X - + = Z
SUJETO A:
>
s +
s +
d. negativida No 0. X , X
4 X X -
6 X X
2 1
2 1
2 1
Convertimos en igualdades
= +
= +
4 X X -
6 X X
2 1
2 1
Agregando variables de holgura.
4 h X X -
6 h X X
2 2 1
1 2 1
= + +
= + +
0 h 0 h 0 X 3 X
h 0 h 0 X 3 X -
2 1 2 1
2 1 2 1
= + +
+ + =
Z
Z
Grados de libertad = # de variables - # de ecuaciones.
4 Variables - 2 Ecuaciones = 2 Grados de libertad.
4 h y 6 h
0 X X
2 1
2 1
= =
= =
0 h 0 h 0 X 3 X
h 0 h 0 X 3 X -
2 1 2 1
2 1 2 1
= + +
+ + =
Z
Z
TABLA INICIAL.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
1 1 1 0 6
h
2
-1 1 0 1 4
Z 1 -3 0 0 0
PRIMERA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
2 0 1 -1 2
X
2
-1 1 0 1 4
Z -2 0 0 3 12
SEGUNDA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
X
1
1 0 -1/2 1
X
2
0 1 1/2 5
Z 0 0 1 2 14
Maximizamos la funcin objetivo:
1
X
2
X
. 3
2 1
X X +
0 0 0
0 4 12
1 5 14
Solucin: 5 X 1, X , 14
2 1
= = = Z
3. MAXIMIZAR.
Z= 8x1 + 2x2
Sujeto a:
x1 x2 1
x1 + 2x2 8
x1 + x2 5
x1, x2 0
MAXIMIZAR
2 1
2X 8X + = Z
SUJETO A:
>
s +
s +
s
d. negativida No 0. X , X
5 X X
8 X 2 X
1 X X
2 1
2 1
2 1
2 1
Agregando variables de holgura.
Convertimos en igualdades
= +
= +
=
5 X X
8 X 2 X
1 X X
2 1
2 1
2 1
5 h X X
8 h X 2 X
1 h X X
3 2 1
2 2 1
1 2 1
= + +
= + +
= +
0 h 0 h 0 h 0 X 2 8X
h 0 h 0 h 0 X 2 8X
3 2 1 2 1
3 2 1 2 1
=
+ + + + =
Z
Z
Grados de libertad = # de variables - # de ecuaciones.
5 Variables - 3 Ecuaciones = 2 Grados de libertad.
5 h y 8 h , 1 h
0 X X
2 2 1
2 1
= = =
= =
0 h 0 h 0 h 0 X 2 8X
h 0 h 0 h 0 X 2 8X
3 2 1 2 1
3 2 1 2 1
=
+ + + + =
Z
Z
TABLA INICIAL.
Variables
bsicas
X
1
X
2
h
1
h
2
h
3
Solucin
h
1
1 -1 1 0 0 1
h
2
1 2 0 1 0 8
h
3
1 1 0 0 1 5
Z -8 -2 0 0 0 0
PRIMERA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
h
3
Solucin
X
1
1 -1 1 0 0 1
h
2
0 3 -1 1 0 7
h
3
0 2 -1 0 1 4
Z 0 -10 8 0 0 8
SEGUNDA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
h
3
Solucin
X
1
1 0 0 1/2 3
h
2
0 0 1 -3/2 1
X
2
0 1 -1/2 0 1/2 2
Z 0 0 3 0 5 28
Maximizamos la funcin objetivo:
1
X
2
X
. 2 8
2 1
X X +
0 0 0
1 0 8
3 2 28
Solucin: 2 X 3, X , 28
2 1
= = = Z
4. Una compaa de carga maneja envos para 2 compaas, A y B, que se
encuentran en la misma ciudad. La empresa A enva cajas que pesan 3
libras cada una y tiene un volumen de 2 pies; la B enva cajas de 1 pie con
peso de 5 libras cada una. Tanto A como B hacen envos a los mismos
destinos. El costo de trasporte para cada caja de A es $7500 y para B es
$5000. la compaa transportadora tiene un camin con espacio de carga
para 2400 pies y capacidad mxima de 9200 libras. En un viaje, Cuntas
cajas de cada empresa debe transportar el camin para que la compaa
de transportes obtenga el mximo ingreso? cual es este mximo?
SOLUCIN:
PESO(libras) VOLUMEN(pies) COSTO
COMPAA A 3 2 7500
COMPAA B 5 1 5000
9200 2400
MAXIMIZAR
2 1
5000X 7500X + = Z
SUJETO A:
>
s +
s +
d. negativida No 0. X , X
2400 X 2X
9200 X 5 3X
2 1
2 1
2 1
Convertimos en igualdades
= +
= +
2400 X 2X
9200 X 5 3X
2 1
2 1
Agregando variables de holgura.
400 2 h X 2X
200 9 h 5X 3X
2 2 1
1 2 1
= + +
= + +
0 h 0 h 0 X 5000 7500X
h 0 h 0 X 5000 X 500 7
2 1 2 1
2 1 2 1
=
+ + + =
Z
Z
Grados de libertad = # de variables - # de ecuaciones.
4 Variables - 2 Ecuaciones = 2 Grados de libertad.
2400 h y 200 9 h
0 X X
2 1
2 1
= =
= =
0 h 0 h 0 X 5000 7500X
h 0 h 0 X 5000 X 500 7
2 1 2 1
2 1 2 1
=
+ + + =
Z
Z
TABLA INICIAL.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
3 5 1 0 9200
h
2
2 1 0 1 2400
Z -7500 -5000 0 0 0
PRIMERA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
h
1
0 7/2 1 -3/2 5600
X
1
1 1/2 0 1/2 1200
Z 0 -1250 0 3750 9000.000
SEGUNDA ITERACION.
Variables
bsicas
X
1
X
2
h
1
h
2
Solucin
X
2
0 1 2/7 -3/7 1600
X
1
1 0 -1/14 5/7 400
Z 0 0 2.500/7 22.500/7 11000.000
Maximizamos la funcin objetivo:
1
X
2
X
2 1
5000X 7500X +
0 0 0
1200 0 9000.000
400 1600 11.000.000
Solucin: 1600 X 400, X , 11'000.000
2 1
= = = Z
5. Una compaa fabrica 3 productos X, Y, Z. cada producto requiere de los
tiempos de mquina y tiempo de terminado como se muestran en la tabla.
Los nmeros de horas de tiempo de maquinas y de tiempo de terminado
disponibles por mes son 900 y 5000 respectivamente. La utilidad por
unidad, X, Y y Z es $3000, $4000 y $6000 respectivamente. Cul es la
utilidad mxima al mes que puede obtenerse?
TIEMPO DE MAQUINA TIEMPO DE TERMINADO
X 1 4
Y 2 4
Z 3 8
SOLUCIN:
PRODUCTOS TIEMPO DE
MAQUINA
TIEMPO DE
TERMINADO
UTILIDAD
X 1 4 $3.000
Y 2 4 $4.000
Z 3 8 $6.000
TOTAL 900 5000
MAXIMIZAR 6000Z 4000Y 3000X + + = Z
SUJETO A:
>
s + +
s + +
d. negativida No 0. X , X
5000 8Z 4Y 4X
900 3Z 2Y X
2 1
1
1
Convertimos en igualdades
s + +
s + +
5000 8Z 4Y 4X
900 3Z 2Y X
1
1
Agregando variables de holgura.
5000 h 8Z 4Y 4
00 9 h 3Z 2Y X
2
1
= + + +
= + + +
X
0 h 0 h 0 6000 4000 3000
h 0 h 0 6000 4000 3000
2 1
2 1
=
+ + + + =
Z Y X Z
Z Y X Z
Grados de libertad = # de variables - # de ecuaciones.
5 Variables - 2 Ecuaciones = 3 Grados de libertad.
5000 h y 00 9 h
0 Z Y X
2 1
= =
= = =
0 h 0 h 0 6000 4000 3000
h 0 h 0 6000 4000 3000
2 1
2 1
=
+ + + + =
Z Y X Z
Z Y X Z
TABLA INICIAL.
Variables
bsicas
X
Y
Z
h
1
h
2
Solucin
h
1
1 2 3 1 0 900
h
2
4 4 8 0 1 5000
Z -3000 -4000 0 0 0 0
PRIMERA ITERACION.
Variables
bsicas
X
Y
Z
h
1
h
2
Solucin
Y 1/2 1 3/2 1/2 0 450
h
2
2 0 2 -2 1 3200
Z -1.000 0 6.000 2.000 0 1800.000
SEGUNDA ITERACION.
Variables
bsicas
X
Y
Z
h
1
h
2
Solucin
X 1 2 3 1 0 900
h
2
0 -4 -4 -4 1 1400
Z 0 2.0000 9.000 3.000 0 2700.000
Maximizamos la funcin objetivo:
X Y Z
6000Z 4000Y 3000X + +
0 0 0 0
0 450 0 1800.000
900 0 0 27000.000
Solucin:
0 Z 0, Y 900, X , 2'700.000 = = = = Z
FASE 3:
Desarrolle los ejercicios que se presentarn en "Noticias del Aula", basado
en el sofware presentado en leccin 31. En el trabajo final, el grupo debe
presentar pantallazos de resultados obtenidos por el mtodo GRAFICO y
SIMPLEX y adems un anlisis de los resultados obtenidos.
CONCLUSIN
Al finalizar esta segunda unidad del curso de Programacin Lineal hemos logrado
afianzar los conocimientos de los diferentes mtodos empleados para solucionar
problemas operacionales, con los que se lograra utilizar herramientas para la
bsqueda de la solucin ptima a problemas simples y complejos.
BIBLIOGRAFA
Modulo Programacin Lineal,
http://es.wikipedia.org
http://www.gestiondeoperaciones.net
http://www.phpsimplex.com/