Escolar Documentos
Profissional Documentos
Cultura Documentos
a. Max z= 3x + 3y
s.a
3x + 2y <= 120
x + y <= 50
x , y >= 0
b. Max z= 2x + 2y
s.a
2x + y <= 100
x + y <= 80
x <= 42
x , y >= 0
SOLUCION DEL PROBLEMA a:
MÉTODO GRÁFICO
MÉTODO SIMPLEX/DOS FASES
Fila 2:
50 - (1 * 40) = 10
1 - (1 * 1) = 0
1 - (1 * 0.66666666666667) = 0.33333333333333
0 - (1 * 0.33333333333333) = -0.33333333333333
1 - (1 * 0) = 1
Fila Z:
0 - (-3 * 40) = 120
-3 - (-3 * 1) = 0
-3 - (-3 * 0.66666666666667) = -1
0 - (-3 * 0.33333333333333) = 1
0 - (-3 * 0) = 0
Fila 1:
40 - (0.66666666666667 * 30) = 20
1 - (0.66666666666667 * 0) = 1
0.66666666666667 - (0.66666666666667 * 1) = 0
0.33333333333333 - (0.66666666666667 * -1) = 1
0 - (0.66666666666667 * 3) = -2
Fila Z:
120 - (-1 * 30) = 150
0 - (-1 * 0) = 0
-1 - (-1 * 1) = 0
1 - (-1 * -1) = 1.1102230246252E-16
0 - (-1 * 3) = 3
Solución optima
3. MÉTODO SOLVER
Max z= 3x + 3y
s.a 3x + 2y <= 120
x + y <= 50
x , y >= 0
PLANTEAR
USAR SOLVER
SOLUCIÓN ÓPTIMA
Max z= 2x + 2y
s.a
2x + y <= 100
x + y <= 80
x <= 42
x , y >= 0
Completar los datos de la
F.O y restricciones
Operaciones intermedias
Fila pivote (Fila 3):
40 / 1 = 40
1/1=1
0/1=0
0/1=0
0/1=0
1/1=1
Fila 1:
100 – (2 * 40) = 20
2 – (2 * 1) = 0
1 – (2 * 0) = 1
1 – (2 * 0) = 1
0 – (2 * 0) = 0
0 – (2 * 1) = -2
Fila 2:
80 – (1 * 40) = 40
1 – (1 * 1) = 0
1 – (1 * 0) = 1
0 – (1 * 0) = 0
1 – (1 * 0) = 1
0 – (1 * 1) = -1
Fila Z:
0 – (-2 * 40) = 80
-2 – (-2 * 1) = 0
-2 – (-2 * 0) = -2
0 – (-2 * 0) = 0
0 – (-2 * 0) = 0
0 – (-2 * 1) = 2
Fila 2:
40 – (1 * 20) = 20
0 – (1 * 0) = 0
1 – (1 * 1) = 0
0 – (1 * 1) = -1
1 – (1 * 0) = 1
-1 – (1 * -2) = 1
Fila 3:
40 – (0 * 20) = 40
1 – (0 * 0) = 1
0 – (0 * 1) = 0
0 – (0 * 1) = 0
0 – (0 * 0) = 0
1 – (0 * -2) = 1
Fila Z:
80 – (-2 * 20) = 120
0 – (-2 * 0) = 0
-2 – (-2 * 1) = 0
0 – (-2 * 1) = 2
0 – (-2 * 0) = 0
2 – (-2 * -2) = -2
Fila 1:
20 – (-2 * 20) = 60
0 – (-2 * 0) = 0
1 – (-2 * 0) = 1
1 – (-2 * -1) = -1
0 – (-2 * 1) = 2
-2 – (-2 * 1) = 0
Fila 3:
40 – (1 * 20) = 20
1 – (1 * 0) = 1
0 – (1 * 0) = 0
0 – (1 * -1) = 1
0 – (1 * 1) = -1
1 – (1 * 1) = 0
Fila Z:
120 – (-2 * 20) = 160
0 – (-2 * 0) = 0
0 – (-2 * 0) = 0
2 – (-2 * -1) = 0
0 – (-2 * 1) = 2
-2 – (-2 * 1) = 0
Hay infinitos valores de X1, X2 para el valor óptimo Z = 160, los cuales están
contenidos en el segmento de la recta 2 X1 + 2 X2 = 160 que cumple las
restricciones del problema.
Una de ellas es:
X1 = 20
X2 = 60
MÉTODO GRÁFICO
MAXIMIZAR: Z = 2 X1 + 2 X2
2 X1 + 1 X2 ≤ 100
1 X1 + 1 X2 ≤ 80
1 X1 + 0 X2 ≤ 40
X1, X2 ≥ 0
NOTA:
En color verde los
puntos en los que se
encuentra la solución.
En color rojo los puntos
que no pertenecen a la
región factible.
SOLUCIÓN ÓPTIMA
3. MÉTODO SOLVER
MAXIMIZAR: Z = 2 X1 + 2 X2
2 X1 + 1 X2 ≤ 100
1 X1 + 1 X2 ≤ 80
1 X1 + 0 X2 ≤ 40
X1, X2 ≥ 0
Conclusión de los tres métodos: Podemos apreciar que los tres métodos por
igual nos arrojan un valor óptimo de 160, utilizando 20 de X(producto 1) y 60 de
Y (producto 2).