-
Notifications
You must be signed in to change notification settings - Fork 0
/
datos.py
52 lines (40 loc) · 3.76 KB
/
datos.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
c_inicial = [
[0, 64657.6, 137944.8, 175168, 229135.2, 245879.2, 268290.4, 301649.6, 326636.8, 366832.4, 451830.4, 623134.4, 234416, 356003.2, 40700.8, 291088],
[64657.6, 0, 75476.8, 112828.8, 166796, 183540, 205951.2, 239310.4, 264297.6, 279882.4, 385756, 560795.2, 172076.8, 293664, 92349.6, 228748.8],
[137944.8, 75476.8, 0, 128.8, 102524.8, 125580, 141680, 1720768, 200155.2, 215611.2, 321613.6, 496652.8, 107676.8, 229521.6, 165765.6, 164606.4],
[175168, 112828.8, 128.8, 0, 54224.8, 70968.8, 93380, 126739.2, 151726.4, 158295.2, 273184.8, 448224, 59376.8, 181092.8, 202988.8, 116177.6],
[229135.2, 166796, 102524.8, 54224.8, 0, 25631.2, 48042.4, 81530.4, 106517.6, 121973.6, 229908, 402886.4, 14812, 135755.2, 257600, 70968.8],
[245879.2, 183540, 125580, 70968.8, 25631.2, 0, 22411.2, 55770.4, 80757.6, 96342.4, 202216, 383695.2, 18160.8, 110124, 273828.8, 45208.8],
[268290.4, 205951.2, 141680, 93380, 48042.4, 22411.2, 0, 32457.6, 60149.6, 75605.6, 181608, 356518.4, 34389.6, 85523.2, 296755.2, 24600.8],
[301649.6, 239310.4, 1720768, 126739.2, 81530.4, 55770.4, 32457.6, 0, 28722.4, 44307.2, 214709.6, 325220, 67877.6, 58088.8, 329470.4, 20479.2],
[326636.8, 264297.6, 200155.2, 151726.4, 106517.6, 80757.6, 60149.6, 28722.4, 0, 46239.2, 127512.0, 295596.0, 92864.8, 35420.0, 354457.6, 45466.4],
[366822.4, 279882.4, 215611.2, 158295.2, 121973.6, 96342.4, 75605.6, 44307.2, 46239.2, 0, 81401.6, 279882.4, 133050.4, 30396.8, 394772.0, 85780.8],
[451830.4, 385756.0, 321613.6, 273184.8, 229908.0, 202216.0, 181608.0, 214709.6, 127512.0, 81401.6, 0, 181092.8, 217929.6, 115404.8, 479651.2, 170660.0],
[623134.4, 560795.2, 496652.8, 448224.0, 402886.4, 383695.2, 356518.4, 325220.0, 295596.0, 279882.4, 181092.8, 0, 389233.6, 280140.0, 650955.2, 343252.0],
[234416.0, 172076.8, 107676.8, 59376.8, 14812.0, 18160.8, 34389.6, 67877.6, 92864.8, 133050.4, 217929.6, 389233.6, 0, 389233.6, 262108.0, 57316.0],
[356003.2, 293664.0, 229521.6, 181092.8, 135755.2, 110124.0, 85523.2, 58088.8, 35420.0, 30396.8, 115404.8, 280140.0, 389233.6, 0, 383695.2, 74704.0],
[40700.8, 92349.6, 165765.6, 202988.8, 257600.0, 273828.8, 296755.2, 329470.4, 354457.6, 394772.0, 479651.2, 650955.2, 262108.0, 383695.2, 0, 319166.4],
[291088.0, 228748.8, 164606.4, 116177.6, 70968.8, 45208.8, 24600.8, 20479.2, 45466.4, 85780.8, 170660.0, 343252.0, 57316.0, 74704.0, 319166.4, 0],
]
m_c_inicial = [12150, 12150, 10800, 10800, 13500, 10800, 9450, 10800, 10800, 9450, 9450, 12150, 12150, 9450, 12150, 9450, 175500]
i_inicial = [321734, 337680, 296408]
i_f_inicial = [498972132, 773878100.6, 295312083.8]
m_i = 164292
p_inicial = [311000, 315000, 310000]
p_f_inicial = [371409729.7, 903834288, 487709723.2]
m_p = 150413.625
demanda_inicial = [
[1277, 2346, 1105, 2926, 7013, 3532, 4035, 6012, 3697, 3200, 398, 643, 27468, 1486, 873, 1856],
[1955, 3593, 1692, 4480, 10738, 5408, 6179, 9206, 5660, 4900, 610, 985, 42061, 2276, 1337, 2842],
[758, 1393, 656, 1737, 4164, 2097, 2396, 3570, 2195, 1900, 237, 382, 16309, 882, 518, 1102],
]
c_a = 8991.452
m_a = [
56896.2792, 104569.9687, 49255.71692, 130397.2777, 312556.9368, 157415.1401, 179859.0423, 267960.6591, 164759.3528, 142638.9073, 17755.69288, 28663.91597, 1224272.053, 66238.93871, 38911.25637, 82723.42189
]
a_0 = [
[4551.7, 8365.6, 3940.5, 10431.8, 25004.6, 12593.2, 14388.7, 21436.9, 13180.7, 11411.1, 1420.5, 2293.1, 97941.8, 5299.1, 3112.9, 6617.9],
[6969.8, 12809.8, 6033.8, 15973.7, 38288.2, 19283.4, 22032.7, 32825.2, 20183.0, 17473.3, 2175.1, 3511.3, 149973.3, 8114.3, 4766.6, 10133.6],
[2702,6, 4967.1, 2339.6, 6193.9, 14846.5, 7477.2, 8543.3, 12728.1, 7826.1, 6775.3, 843.4, 1361.5, 58152.9, 3146.3, 1848.3, 3929.4],
]
n = 1000000