Originally posted by: AnaDkn
Hello!
I am doing my phD using GAMS but I am relativelly new in this. Right now I have a Problem: Error 1001: Out of memory. Anyone could help me?
This is my LOG FILE:
--- Starting compilation
--- 6W 3J 4K linear (2).gms(326) 3 Mb
--- Starting execution: elapsed 0:00:00.003
--- 6W 3J 4K linear (2).gms(323) 4 Mb
--- Generating MIP model OILFIELD
--- 6W 3J 4K linear (2).gms(326) 4 Mb
--- 2,752 rows 1,333 columns 10,507 non-zeroes
--- 648 discrete-columns
--- Executing CPLEX: elapsed 0:00:00.049
IBM ILOG CPLEX 24.1.3 r41464 Released Jul 26, 2013 VS8 x86/MS Windows
--- GAMS/Cplex licensed for continuous and discrete problems.
Cplex 12.5.1.0
Reading parameter(s) from "C:\Users\aduckwen\Documents\Modelo OILFIELD\Optimization OILFIELD\Ejemplos sencillos Simulación-Optimización\cplex.opt"
>> threads 5
Finished reading from "C:\Users\aduckwen\Documents\Modelo OILFIELD\Optimization OILFIELD\Ejemplos sencillos Simulación-Optimización\cplex.opt"
Warning: Cplex threads 5 > #cores 4
Reading data...
Starting Cplex...
Tried aggregator 2 times.
MIP Presolve eliminated 337 rows and 13 columns.
MIP Presolve modified 3696 coefficients.
Aggregator did 150 substitutions.
Reduced MIP has 2265 rows, 1170 columns, and 8988 nonzeros.
Reduced MIP has 564 binaries, 0 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.01 sec. (8.28 ticks)
Probing fixed 18 vars, tightened 108 bounds.
Probing time = 0.02 sec. (2.04 ticks)
Cover probing fixed 0 vars, tightened 24 bounds.
Tried aggregator 1 time.
MIP Presolve eliminated 54 rows and 54 columns.
MIP Presolve modified 576 coefficients.
Reduced MIP has 2211 rows, 1116 columns, and 8730 nonzeros.
Reduced MIP has 510 binaries, 18 generals, 0 SOSs, and 0 indicators.
Presolve time = 0.03 sec. (6.35 ticks)
Probing fixed 0 vars, tightened 12 bounds.
Probing time = 0.00 sec. (2.10 ticks)
Cover probing fixed 0 vars, tightened 12 bounds.
Clique table members: 636.
MIP emphasis: balance optimality and feasibility.
MIP search method: dynamic search.
Parallel mode: deterministic, using up to 5 threads.
Tried aggregator 1 time.
No LP presolve or aggregator reductions.
Presolve time = -0.00 sec. (0.92 ticks)
Initializing dual steep norms . . .
Iteration log . . .
Iteration: 1 Dual objective = 1704300.000000
Iteration: 131 Dual objective = 855000.000000
Iteration: 285 Dual objective = 855000.000000
Perturbation started.
Iteration: 303 Dual objective = 855000.000000
Iteration: 450 Dual objective = 854999.999838
Iteration: 598 Dual objective = 836674.288836
Iteration: 741 Dual objective = 821918.700727
Removing perturbation.
Root relaxation solution time = 0.01 sec. (11.73 ticks)
Nodes Cuts/
Node Left Objective IInf Best Integer Best Bound ItCnt Gap
0 0 821918.7116 328 821918.7116 753
0 0 713740.3338 299 Cuts: 652 1266
* 0+ 0 91297.4699 713740.3338 1658 681.77%
Found incumbent of value 91297.469874 after 0.50 sec. (247.73 ticks)
0 0 665411.1451 310 91297.4699 Cuts: 615 1658 628.84%
0 0 651688.1048 316 91297.4699 Cuts: 294 1901 613.81%
0 0 650523.0810 319 91297.4699 Cuts: 205 2065 612.53%
0 0 650061.6148 324 91297.4699 Cuts: 155 2179 612.03%
0 0 649894.1953 323 91297.4699 Cuts: 81 2249 611.84%
0 0 649501.5540 325 91297.4699 Cuts: 78 2303 611.41%
0 0 649316.7539 325 91297.4699 Cuts: 63 2345 611.21%
0 0 649208.5506 325 91297.4699 Cuts: 38 2366 611.09%
0 0 649030.4938 322 91297.4699 Cuts: 16 2388 610.90%
0 0 648979.3369 321 91297.4699 Cuts: 29 2404 610.84%
0 0 648845.0153 280 91297.4699 Cuts: 6 2415 610.69%
0 0 648841.1964 299 91297.4699 Cuts: 283 2571 610.69%
* 0+ 0 220858.2327 648841.1964 2571 193.78%
Found incumbent of value 220858.232736 after 1.14 sec. (545.92 ticks)
0 2 648841.1964 290 220858.2327 648841.1964 2571 193.78%
Elapsed time = 1.15 sec. (551.84 ticks, tree = 0.01 MB, solutions = 2)
* 598 499 integral 0 243105.6034 633265.5373 14444 160.49%
Impl Bds: 54
Found incumbent of value 243105.603382 after 1.64 sec. (784.57 ticks)
1183 997 288946.4622 70 243105.6034 629284.4324 26311 158.85%
Impl Bds: 13
* 1331 1112 integral 0 263058.9227 629284.4324 28115 139.22%
Impl Bds: 5
Found incumbent of value 263058.922663 after 2.71 sec. (1362.76 ticks)
2291 1861 546311.7814 227 263058.9227 616458.9503 46643 134.34%
Impl Bds: 14
* 2708+ 1473 263186.2316 543072.3235 58634 106.35%
Found incumbent of value 263186.231639 after 9.33 sec. (4154.14 ticks)
2708 1474 543056.4477 297 263186.2316 543056.4477 58752 106.34%
2714 1478 521808.1971 280 263186.2316 531945.7363 59134 102.12%
2751 1503 478150.5808 251 263186.2316 521143.3025 61791 98.01%
3066 1490 354250.3711 89 263186.2316 521143.3025 71932 98.01%
* 3186+ 1154 273615.0856 519463.0575 74674 89.85%
Found incumbent of value 273615.085577 after 12.43 sec. (6087.64 ticks)
3186 1156 437515.3060 216 273615.0856 519463.0575 74674 89.85%
5680 2596 447649.2183 215 273615.0856 496652.4535 127943 81.52%
Cuts: 20
Elapsed time = 14.70 sec. (7236.58 ticks, tree = 2.33 MB, solutions = 9)
8865 5345 407456.6905 194 273615.0856 495705.9168 192455 81.17%
Cuts: 14
11975 8038 467036.3554 226 273615.0856 494272.7898 259502 80.65%
Cuts: 25
* 14660 10406 integral 0 279172.8544 493231.6498 319701 76.68%
Cuts: 3
Found incumbent of value 279172.854422 after 20.23 sec. (10013.72 ticks)
* 15251 10635 integral 0 282804.7207 493062.0864 330928 74.35%
Found incumbent of value 282804.720685 after 20.61 sec. (10220.00 ticks)
18262 13062 337884.2896 118 282804.7207 491699.2094 395341 73.87%
21420 15843 363509.6587 112 282804.7207 487426.4505 454070 72.35%
24853 18863 335904.1897 123 282804.7207 486959.5629 525142 72.19%
28180 21749 320506.8670 103 282804.7207 486205.1430 590301 71.92%
* 28589+22084 282816.5780 485880.7599 598598 71.80%
Cuts: 11
Found incumbent of value 282816.577956 after 31.20 sec. (15263.32 ticks)
* 28589+22084 283646.1681 485880.7599 598598 71.30%
Found incumbent of value 283646.168127 after 31.26 sec. (15283.26 ticks)
* 28589+22084 283672.6042 485880.7599 598598 71.28%
Found incumbent of value 283672.604233 after 31.26 sec. (15285.94 ticks)
* 28589+22084 284183.1525 485880.7599 598598 70.97%
Found incumbent of value 284183.152493 after 31.28 sec. (15290.57 ticks)
* 28589+22084 285482.2613 485880.7599 598598 70.20%
Found incumbent of value 285482.261277 after 31.50 sec. (15346.62 ticks)
* 28589+22084 286878.8102 485880.7599 598598 69.37%
Found incumbent of value 286878.810232 after 31.76 sec. (15432.02 ticks)
* 28589+22084 287438.4857 485880.7599 598598 69.04%
Found incumbent of value 287438.485687 after 31.76 sec. (15436.14 ticks)
* 28589+22084 287784.9937 485880.7599 598598 68.83%
Found incumbent of value 287784.993685 after 31.78 sec. (15443.58 ticks)
* 28589+22084 287952.2224 485880.7599 598598 68.74%
Found incumbent of value 287952.222449 after 31.81 sec. (15451.79 ticks)
* 28589+22084 288364.6959 485880.7599 598598 68.50%
Found incumbent of value 288364.695859 after 32.01 sec. (15504.17 ticks)
* 28589+22084 288380.3518 485880.7599 598598 68.49%
Found incumbent of value 288380.351809 after 32.01 sec. (15505.89 ticks)
* 28589+22084 288784.0044 485880.7599 598598 68.25%
Found incumbent of value 288784.004362 after 32.01 sec. (15509.72 ticks)
* 28589+22084 292544.0221 485880.7599 598598 66.09%
Found incumbent of value 292544.022143 after 32.14 sec. (15544.52 ticks)
* 28589+22084 292588.1946 485880.7599 598598 66.06%
Found incumbent of value 292588.194574 after 32.78 sec. (15745.57 ticks)
* 28589+22084 293141.4163 485880.7599 598598 65.75%
Found incumbent of value 293141.416334 after 33.82 sec. (16046.91 ticks)
* 28589+22084 293185.2244 485880.7599 598598 65.72%
Found incumbent of value 293185.224412 after 33.87 sec. (16080.19 ticks)
28589 22086 437250.9643 205 293185.2244 485880.7599 598598 65.72%
28590 22087 439788.0375 225 293185.2244 485880.7599 598763 65.72%
Elapsed time = 37.58 sec. (19753.59 ticks, tree = 22.25 MB, solutions = 21)
* 28591+22086 294982.1529 485880.7599 598997 64.72%
Found incumbent of value 294982.152891 after 37.58 sec. (15820.26 ticks)
* 28592+22087 295131.3948 485880.7599 599091 64.63%
Found incumbent of value 295131.394838 after 37.58 sec. (15706.04 ticks)
* 28592+22087 296256.5641 485880.7599 599091 64.01%
Found incumbent of value 296256.564121 after 37.58 sec. (15870.76 ticks)
* 28592+22087 296266.7309 485880.7599 599091 64.00%
Found incumbent of value 296266.730878 after 37.58 sec. (15989.52 ticks)
* 28592+22087 296900.7140 485880.7599 599091 63.65%
Found incumbent of value 296900.713995 after 37.58 sec. (15995.60 ticks)
* 28592+22087 297109.4895 485880.7599 599091 63.54%
Found incumbent of value 297109.489527 after 37.58 sec. (16018.16 ticks)
* 28592+22087 297511.4376 485880.7599 599091 63.31%
Found incumbent of value 297511.437624 after 37.61 sec. (16021.51 ticks)
* 28592+22087 298300.9664 485880.7599 599091 62.88%
Found incumbent of value 298300.966371 after 37.61 sec. (16096.62 ticks)
* 28592+22087 298306.0430 485880.7599 599091 62.88%
Found incumbent of value 298306.042983 after 37.61 sec. (16194.55 ticks)
* 28592+22087 299209.6034 485880.7599 599091 62.39%
Found incumbent of value 299209.603420 after 37.61 sec. (16345.36 ticks)
* 28592+22087 299485.2991 485880.7599 599091 62.24%
Found incumbent of value 299485.299127 after 37.61 sec. (16387.93 ticks)
* 28592+22087 299773.5840 485880.7599 599091 62.08%
Found incumbent of value 299773.583968 after 37.61 sec. (16397.22 ticks)
* 28592+22087 300605.3659 485880.7599 599091 61.63%
Found incumbent of value 300605.365881 after 37.61 sec. (17025.82 ticks)
* 28592+22087 300669.9396 485880.7599 599091 61.60%
Found incumbent of value 300669.939610 after 37.61 sec. (18197.60 ticks)
* 28592+22087 301051.6352 485880.7599 599091 61.39%
Found incumbent of value 301051.635195 after 37.61 sec. (18344.51 ticks)
* 28592+22087 301088.0654 485880.7599 599091 61.37%
Found incumbent of value 301088.065391 after 37.61 sec. (18458.28 ticks)
31637 22139 357181.5229 124 301088.0654 485037.1991 667204 61.09%
Cuts: 23
34814 24899 449775.7517 221 301088.0654 484357.3649 739810 60.87%
Cuts: 7
38056 27747 400058.2076 134 301088.0654 483891.1130 813295 60.71%
Cuts: 15
41481 30748 364712.3260 174 301088.0654 483293.4135 888479 60.52%
44956 33742 458409.4481 212 301088.0654 482593.4047 965658 60.28%
48184 36487 348760.4461 143 301088.0654 481882.2331 1034617 60.05%
51261 39186 406489.3802 138 301088.0654 481285.6560 1110153 59.85%
54368 41852 441594.6497 209 301088.0654 480852.4285 1180236 59.70%
57887 44914 360026.0284 120 301088.0654 480452.0056 1257926 59.57%
61140 47736 443108.4601 224 301088.0654 480104.9631 1332538 59.46%
Elapsed time = 56.00 sec. (29305.14 ticks, tree = 47.04 MB, solutions = 86)
64387 50533 450966.5596 197 301088.0654 479763.6214 1403779 59.34%
67854 53504 368907.5047 151 301088.0654 479430.9632 1478406 59.23%
70940 56182 358629.6778 123 301088.0654 479047.6000 1549797 59.11%
74086 58880 430148.6046 217 301088.0654 478861.0596 1618529 59.04%
77567 61854 413437.5116 190 301088.0654 478557.0549 1692281 58.94%
81199 64964 446963.2699 221 301088.0654 478328.6097 1770902 58.87%
Cuts: 7
84066 67464 374511.2634 141 301088.0654 478199.8074 1845666 58.82%
87592 70468 362763.5376 126 301088.0654 477992.5027 1920816 58.76%
90997 73427 349511.1519 129 301088.0654 477842.6637 1997266 58.71%
94391 76341 452790.9404 234 301088.0654 477708.2967 2071217 58.66%
Elapsed time = 74.66 sec. (38855.21 ticks, tree = 76.60 MB, solutions = 86)
97444 78944 439611.1857 208 301088.0654 477565.8124 2137884 58.61%
Impl Bds: 3
100466 81592 422138.2068 169 301088.0654 477401.5052 2210386 58.56%
104010 84635 387946.1550 153 301088.0654 477290.7808 2284597 58.52%
Cuts: 6
106900 87127 421941.5817 193 301088.0654 477132.5511 2357002 58.47%
MIRcuts: 2
110579 90308 425007.7865 200 301088.0654 477037.8730 2434401 58.44%
113940 93224 454413.7164 225 301088.0654 476916.4279 2507817 58.40%
117253 96054 435129.5153 194 301088.0654 476764.8987 2577634 58.35%
Cuts: 8
120837 99103 413200.8069 185 301088.0654 476625.7399 2650835 58.30%
124236 101959 410004.2000 208 301088.0654 476505.1600 2727204 58.26%
127734 104947 437257.4778 216 301088.0654 476318.3692 2799392 58.20%
Elapsed time = 93.27 sec. (48411.21 ticks, tree = 107.25 MB, solutions = 86)
130956 107694 343493.7000 125 301088.0654 476186.5282 2875746 58.16%
Cuts: 6
134102 110317 425922.2758 212 301088.0654 475976.3889 2951494 58.09%
137159 112922 466125.2263 256 301088.0654 475823.4119 3023366 58.03%
140437 115698 393921.9205 180 301088.0654 475709.4537 3098259 58.00%
Cuts: 2
143759 118542 408828.9076 173 301088.0654 475565.1389 3167124 57.95%
146608 120972 448886.5704 224 301088.0654 475451.7218 3233197 57.91%
Cuts: 8
149806 123685 326308.8094 98 301088.0654 475265.9757 3302539 57.85%
Cuts: 22
153030 126422 446285.1295 220 301088.0654 475153.4767 3371714 57.81%
156180 129045 348576.8599 99 301088.0654 474987.0108 3440486 57.76%
159347 131738 365902.3856 156 301088.0654 474904.7556 3503597 57.73%
Elapsed time = 111.68 sec. (57961.86 ticks, tree = 133.13 MB, solutions = 86)
Nodefile size = 5.00 MB (3.49 MB after compression)
162726 134621 cutoff 301088.0654 474816.9875 3568462 57.70%
165906 137278 429698.2539 194 301088.0654 474666.5960 3630088 57.65%
169092 139966 420644.8686 212 301088.0654 474595.4668 3692201 57.63%
172397 142732 448443.9828 203 301088.0654 474527.3715 3758683 57.60%
175796 145610 339583.8272 94 301088.0654 474414.8892 3821333 57.57%
179128 148405 316794.1074 89 301088.0654 474317.9615 3887133 57.53%
182293 151078 401439.9734 144 301088.0654 474209.1417 3949716 57.50%
185603 153918 429525.9387 194 301088.0654 474056.1774 4014927 57.45%
188674 156502 415596.5482 179 301088.0654 473981.1840 4070561 57.42%
192041 159351 449507.5181 208 301088.0654 473886.5966 4132797 57.39%
Elapsed time = 130.07 sec. (67509.98 ticks, tree = 160.14 MB, solutions = 86)
Nodefile size = 31.98 MB (21.55 MB after compression)
195582 162320 infeasible 301088.0654 473808.2995 4199132 57.37%
Cuts: 4
198746 165005 389469.8513 156 301088.0654 473743.9253 4262418 57.34%
202262 167998 466039.9100 228 301088.0654 473656.3688 4332204 57.31%
205165 170433 439371.4876 206 301088.0654 473540.6166 4389469 57.28%
208260 173075 356762.5051 100 301088.0654 473459.2021 4448738 57.25%
211514 175839 330674.3328 119 301088.0654 473369.1055 4510457 57.22%
214458 178334 389959.1748 151 301088.0654 473293.7478 4567586 57.19%
217647 180985 325836.1485 113 301088.0654 473230.7561 4629432 57.17%
221148 183872 303901.2870 27 301088.0654 473196.7371 4691758 57.16%
224506 186631 425018.1778 202 301088.0654 473149.3350 4751052 57.15%
Elapsed time = 150.56 sec. (77066.36 ticks, tree = 293.12 MB, solutions = 86)
Nodefile size = 165.70 MB (124.44 MB after compression)
227816 189397 416351.3667 189 301088.0654 473079.7449 4816863 57.12%
230434 191622 infeasible 301088.0654 473041.4611 4872490 57.11%
233413 194064 433512.8853 189 301088.0654 472986.2238 4927755 57.09%
236587 196734 357539.1032 98 301088.0654 472904.0580 4985289 57.07%
239975 199520 352528.6435 134 301088.0654 472843.6522 5043171 57.04%
243610 202404 389163.3039 169 301088.0654 472809.6522 5107552 57.03%
247034 205210 341535.0719 131 301088.0654 472739.6057 5165970 57.01%
250503 208043 450238.0433 217 301088.0654 472664.9176 5227778 56.99%
253927 210880 400934.9175 146 301088.0654 472631.2363 5290672 56.97%
257241 213671 429813.1546 192 301088.0654 472568.4598 5352397 56.95%
Elapsed time = 170.98 sec. (86652.60 ticks, tree = 408.12 MB, solutions = 86)
Nodefile size = 279.87 MB (212.43 MB after compression)
260331 216269 451115.3752 227 301088.0654 472508.5141 5414059 56.93%
263472 218888 425582.0239 223 301088.0654 472455.5805 5474340 56.92%
265998 221031 430109.0294 210 301088.0654 472409.7477 5524268 56.90%
269326 223837 375187.2753 149 301088.0654 472367.8258 5590053 56.89%
272376 226370 397589.4240 156 301088.0654 472328.5043 5647113 56.87%
275799 229187 334402.4917 108 301088.0654 472280.9346 5709415 56.86%
279296 232132 352411.0132 139 301088.0654 472218.8544 5775874 56.84%
281889 234310 346423.6771 142 301088.0654 472155.4469 5825675 56.82%
284829 236815 371197.3802 117 301088.0654 472108.9337 5880522 56.80%
296859 246970 350901.4641 150 301088.0654 471955.5982 6111087 56.75%
Elapsed time = 199.15 sec. (99072.46 ticks, tree = 684.06 MB, solutions = 86)
Nodefile size = 555.67 MB (440.17 MB after compression)
308806 256925 444131.8042 211 301088.0654 471770.5317 6341265 56.69%
321063 267151 383079.6844 140 301088.0654 471489.7147 6573972 56.60%
331342 275707 388656.1041 175 301088.0654 471290.4596 6758005 56.53%
342248 284732 349457.4944 123 301088.0654 471153.6740 6940106 56.48%
353592 294118 455453.1445 229 301088.0654 470968.6380 7125036 56.42%
364756 303430 343892.7639 129 301088.0654 470855.1503 7310446 56.38%
376264 312930 392489.2830 184 301088.0654 470664.8277 7498456 56.32%
386761 321747 391802.7751 148 301088.0654 470543.7092 7688073 56.28%
398018 331120 405235.6370 196 301088.0654 470344.1123 7880245 56.21%
409231 340512 318109.5252 71 301088.0654 470138.6629 8071011 56.15%
Elapsed time = 305.20 sec. (137294.99 ticks, tree = 3443.07 MB, solutions = 86)
Nodefile size = 3312.27 MB (2919.98 MB after compression)
There may be further error information in the clone logs.
GUB cover cuts applied: 2
Clique cuts applied: 44
Cover cuts applied: 2
Implied bound cuts applied: 69
Flow cuts applied: 141
Mixed integer rounding cuts applied: 288
Zero-half cuts applied: 12
Lift and project cuts applied: 101
Gomory fractional cuts applied: 7
Warning: MIP starts not constructed because of out-of-memory status.
Root node processing (before b&c):
Real time = 1.31 sec. (550.89 ticks)
Parallel b&c, 5 threads:
Real time = 315.76 sec. (140300.43 ticks)
Sync time (average) = 0.00 sec.
Wait time (average) = 0.00 sec.
------------
Total (root+branch&cut) = 317.07 sec. (140851.32 ticks)
Consider using CPLEX node files to reduce memory usage.
CPLEX Error 1001: Out of memory.
MIP status(109): error termination
Cplex Time: 317.26sec (det. 140851.32 ticks)
*** CPLEX Error 1001: Out of memory.
Fixing integer variables, and solving final LP...
Tried aggregator 1 time.
LP Presolve eliminated 2414 rows and 967 columns.
Aggregator did 274 substitutions.
Reduced LP has 64 rows, 92 columns, and 193 nonzeros.
Presolve time = 0.01 sec. (1.33 ticks)
Initializing dual steep norms . . .
Iteration log . . .
Iteration: 1 Dual objective = 355931.791778
Fixed MIP status(1): optimal
Cplex Time: 0.05sec (det. 2.56 ticks)
Unrecoverable error (integer solution available).
MIP Solution: 301088.065391 (8254237 iterations, 419902 nodes)
Final Solve: 301088.065391 (47 iterations)
Best possible: 469981.861417
Absolute gap: 168893.796026
Relative gap: 0.560945
--- Restarting execution
--- 6W 3J 4K linear (2).gms(326) 0 Mb
--- Reading solution for model OILFIELD
*** Status: Normal completion
--- Job 6W 3J 4K linear (2).gms Stop 12/01/15 08:34:21 elapsed 0:05:25.645
What Can I do?? Thanks!
Ana.
#CPLEXOptimizers#DecisionOptimization