Sunteți pe pagina 1din 9

Max f=x1+3x2

Sujeta a: -X1+X2<=1
x1+x2<=2
x1,x2>=0

GRAFICO
x1 x2 pendientintercepto
0 1 1 1 x1 x2
-1 0 0 0
2 3 0 1
0.5 1.5
0 2 -1 2 2 0
2 0

-2 0
4 0

0 0
0 4
4.5

3.5

f 2.5
0
2
3
5 1.5
2
1

0.5

0
-3 -2 -1 0 1 2 3 4 5
METODO GRAFICO
DATOS Crudo 1
Crudo 1 Crudo 2 Maxima cantidad (bbl) Crudo 2
Gasolina 70% 31% 6000 Gasolina
Kerosene 6% 9% 2400 Kerosene
Fuel Oil 24% 60% 12000 Fuel Oil
Beneficio ($ 1 0.7

x1 x2 f
L1 0.7 0.31 6000
L2 0.06 0.09 2400
L3 0.24 0.6 12000

x1 x2 x1 x2 f
L1 0 19354.84 0 0 0
8571.429 0 0 19354.84 13548.39
8571.429 0 8571.43
L2 0 26666.67
40000 0 x3 6000.0
x4 1741.9
L3 0 20000 x5 11612.9
50000 0

L4,L5 0 26666.67
0 0
50000 0

METODO TABLA

x1 x2 xa xb xc f b
xa 0.7 0.31 1 0 0 0 6000
xb 0.06 0.09 0 1 0 0 2400
xc 0.24 0.6 0 0 1 0 12000
f -1 -0.7 0 0 0 1 0

x1 x2 xa xb xc f b
x1 1 0.442857 1.428571 0 0 0 8571.429
xb 0 0.063429 -0.085714 1 0 0 1885.714
xc 0 0.493714 -0.342857 0 1 0 9942.857
f 0 -0.257143 1.428571 0 0 1 8571.429

x1 x2 xa xb xc f b
x2 2.258065 1 3.225806 0 0 0 19354.84
xb -0.143226 0 -0.290323 1 0 0 658.0645
xc -1.114839 0 -1.935484 0 1 0 387.0968
f 0.580645 0 2.258065 0 0 1 13548.39

x1 x2 xa xb xc f b
0.7 0.31 1 0 0 0 6000
0.06 0.09 0 1 0 0 2400
0.24 0.6 0 0 1 0 12000
-1 -0.7 0 0 0 1 0

METODO SOLVER

Crudo 1 Crudo 2 Maxima cantidad (bbl)Produccion


Gasolina 70% 31% <= 6000 6000
Kerosene 6% 9% <= 2400 1741.935
Fuel Oil 24% 60% <= 12000 11612.9

Beneficio ($ 1 0.7 FO 13548.39


x1
x2
x3
x4
x5

30000

25000

20000

15000 L1
x1
L2
10000 L3

5000 L4,L5

0
0 10000 20000 30000 40000 50000 60000

x2

x1 0
x2 0

x1 8571.429
x2 0

x1 0
x2 19354.84
x1 0
x2 6000

roduccion
x1 x2
0 19354.84
x1 x2 x1
FO 1 2 1.2

L1 -1 3< 10
L2 1 1 <= 6
L3 1 -1 <= 2
L4 1 3 >= 6
L5 2 1 >= 4
L6 1 0 >= 0
L7 0 1 >= 0
6 5.333333
L1 0 3.333333 pendiente inter
-10 0 0.333333 3.333333

L2 0 6 pendiente inter
6 0 -1 6

L3 0 -2 pendiente inter
2 0 1 -2
6 4
L4 0 2 pendiente inter
6 0 -0.333333 2

L5 0 4 pendiente inter
2 0 -2 4

L6 0 6
0 0
L7 0 0
6 0
x2 f
1.6 4.4 x1 x2 f
4 2 8
3.6 3 1 5
2.8 6 0 6
-0.4
6
4
1.2
1.6

6.5

5.5

4.5

3.5

2.5

1.5

0.5

0
0 0.5 1 1.5 2 2.5 3 3.5 4 4.5 5
-0.5

-1

-1.5

-2

-2.5
L1
L2
L3
L4
L5
L6,L7

3.5 4 4.5 5 5.5 6 6.5

S-ar putea să vă placă și