Solvex Tarea

Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 13

Max z= 30x + 60y

2x+5.6y<=140
6x+9y<=270
12x+18y<=480

Variables x y Solución Óptima


Solución 5 23 1530
Ganancias 30 60
Restricciones 2 5.6 138.8 <= 140
6 9 237 <= 270
12 18 474 <= 480
Max z= 40x + 50y
3x+5y<=600
x>=25
y>=25

Variables x y Solución Óptima


Solución 158 25 7570
Ganancias 40 50
Restricciones 3 5 599 <= 600
1 158 >= 25
1 25 >= 25
Max z= 3x + 5y
12x+10y<=18000
10x+15y<=18000
1.5x+4y<=3600
x>=600
Variables x y Solución Óptima
Solución 1028.57143 514.285714 5657.14286
Ganancias 3 5
Restricciones 12 10 17485.7143 <= 18000
10 15 18000 <= 18000
1.5 4 3600 <= 3600
1 1028.57143 >= 600
Min z= 2x+3y
5x+10y>=90
4x+3y>=48
5x>=1.5

Variables x y Solución Óptima


Solución 10 4 32
Costos 2 3
Restricciones 5 10 90 >= 90
4 3 52 >= 48
5 50 >= 1.5
Max z= 10000 x +15000 y
282000x+400000y <= 2000000
4x+40y<=140
x<=5
Residencias Apartamentos
Variables x y Solución Óptima
Solución 4 2 70000
Ganancias 10000 15000
Restricciones 282000 400000 1928000 <= 2000000
4 40 96 <= 140
1 4 <= 5
Max z= 3x + 2y
2x + y <= 18
2x + 3y <= 42
3x+y<=24
a b
Variables x y Solución Óptima
Solución 3 12 33
Ganancias 3 2
Restricciones 2 1 18 <= 18
2 3 42 <= 42
3 1 21 <= 24
Max z= 70x +120y
100x+200y<=10000
2x+4y>=120
10x+30y<=1200

Variables x y Solución Óptima


Solución 100 0 7000
Ganancias 70 120
Restricciones 100 200 10000 <= 10000
10 30 1000 <= 1200
2 4 200 >= 120
Min z= 140 x1 + 100 x2 + 80 x3 + 9 x4 + 13 x5 + 15 x6 + 8 x7 +140 x8
5 x1 + 6 x2 + 5 x3 + 0.5 x4 + 0.7 x5 + 0.1 x6 + 0.1 x7 + 3 x8 >= 60
3 x1 + 5 x2 + 2 x3 + 0.5 x4 + 0.2 x5 + 0.1 x6 + 0.2 x7 + 5 x8 >= 60
1 x1 + 3 x2 + 0 x3 + 0.3 x4 + 0 x5 + 0 x6 + 0.3 x7 + 4 x8 >= 28
6 x1 + 1 x2 + 4 x3 + 0.1 x4 + 0.9 x5 + 0.6 x6 + 0.1 x7 + 3 x8 >= 60
4 x1 + 1 x2 + 2 x3 + 0.1 x4 + 0.1 x5 + 0.3 x6 + 0.2 x7 + 5 x8 >= 60
2 x1 + 1 x2 + 0 x3 + 0 x4 + 0 x5 + 0.4 x6 + 0.3 x7 + 4 x8 >= 28

Variables X1 X2 X3 X4 X5 X6 X7
Solucion 1 0 8 2 0 0 0
Costos 140 100 80 9 13 15 8
Restricciones 5 6 5 0.5 0.7 0.1 0.1
3 5 2 0.5 0.2 0.1 0.2
1 3 0 0.3 0 0 0.3
6 1 4 0.1 0.9 0.6 0.1
4 1 2 0.1 0.1 0.3 0.2
2 1 0 0 0 0.4 0.3
z
X8 Solución Óptima
8 1918
140
3 70 >= 60
5 60 >= 60
4 33.6 >= 28
3 62.2 >= 60
5 60.2 >= 60
4 34 >= 28
Z min= 20 x11 + 16 x12 + 13x13 + 150x14 + 26x21 +21x22 +15x23 + 80x24 + 12x31 + 15x32 + 10x33 + 120x34
x11 + x12 + x13 + x14 <=1200
x21 + x22 + x23 + x24 <= 1700
x31 + x32 + x33 + x34 <= 900

x11 + x21 + x31 >= 1400


x12 + x22 + x32 >= 1100
x 13 + x23 + x33 >= 700
x14 + x24 + x34 >= 600

Variables x11 x12 x13 x14 x21 x22 x23


Solución 500 700 0 0 0 400 700
Costos 20 16 13 150 26 21 15
Restricciones 1 0 0 0 1 0 0
0 1 0 0 0 1 0
0 0 1 0 0 0 1
0 0 0 1 0 0 0
1 1 1 1 0 0 0
0 0 0 0 1 1 1
0 0 0 0 0 0 0
12x31 + 15x32 + 10x33 + 120x34

x24 x31 x32 x33 x34 Solución Óptima


600 900 0 0 0 98900
80 12 15 10 120
0 1 0 0 0 1400 >= 1400
0 0 1 0 0 1100 >= 1100
0 0 0 1 0 700 >= 700
1 0 0 0 1 600 >= 600
0 0 0 0 0 1200 <= 1200
1 0 0 0 0 1700 <= 1700
0 1 1 1 1 900 <= 900
Min z=25 x11 + 10 x12 + 20x13 + 40 x14 + 70 x15 + 30x21 + 35x22 + 40x23 + 25x24 + 30x25
x11 + x12 + x13 + x14 + x15 <= 50
x21 + x22 + x23 + x24 + x25 <= 90
x11 + x21 >= 40
x12 + x22 >= 30
x13 + x23 >= 20
x14 + x24 >= 40
x15 + x25 >= 10

Variables x11 x12 x13 x14 x15 x21 x22


Solución 0 30 20 0 0 40 0
Costos 25 10 20 40 70 30 35
Restricciones 1 1 1 1 1 0 0
0 0 0 0 0 1 1
1 0 0 0 0 1 0
0 1 0 0 0 0 1
0 0 1 0 0 0 0
0 0 0 1 0 0 0
0 0 0 0 1 0 0
25x24 + 30x25

x23 x24 x25 Solución Óptima


0 40 10 3200
40 25 30
0 0 0 50 <= 50
1 1 1 90 <= 90
0 0 0 40 >= 40
0 0 0 30 >= 30
1 0 0 20 >= 20
0 1 0 40 >= 40
0 0 1 10 >= 10

You might also like