MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

Home // Instances // Documentation // Download // Statistics


Instance: crudeoil_pooling_ct2

Scheduling of the unloading crude of incoming marine vessels to a refinery and transfer of the crudes from storage to charging tanks to the crude oil distillation units.
Continuous time formulation. Maximization of gross margin.
Formats ams gms lp mod osil pip
Primal Bounds
10246.21996000 p1 ( gdx sol )
(infeas: 1e-13)
Dual Bounds
10247.24458000 (ANTIGONE)
10246.21996000 (BARON)
10550.36388000 (COUENNE)
10448.53564000 (LINDO)
10255.36099000 (SCIP)
References Castro, Pedro, Crude Oil Pooling Problem, 2016.
Source CT_MINLP_EX2_5_4a73d31.gms from minlp.org model 270
Application Pooling Problem
Added to library 12 Sep 2017
Problem type MBQCP
#Variables 403
#Binary Variables 108
#Integer Variables 0
#Nonlinear Variables 70
#Nonlinear Binary Variables 0
#Nonlinear Integer Variables 0
Objective Sense max
Objective type linear
Objective curvature linear
#Nonzeros in Objective 84
#Nonlinear Nonzeros in Objective 0
#Constraints 732
#Linear Constraints 662
#Quadratic Constraints 70
#Polynomial Constraints 0
#Signomial Constraints 0
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature indefinite
#Nonzeros in Jacobian 2439
#Nonlinear Nonzeros in Jacobian 140
#Nonzeros in (Upper-Left) Hessian of Lagrangian 140
#Nonzeros in Diagonal of Hessian of Lagrangian 0
#Blocks in Hessian of Lagrangian 15
Minimal blocksize in Hessian of Lagrangian 4
Maximal blocksize in Hessian of Lagrangian 6
Average blocksize in Hessian of Lagrangian 4.666667
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Infeasibility of initial point 1000
Sparsity Jacobian Sparsity of Objective Gradient and Jacobian
Sparsity Hessian of Lagrangian Sparsity of Hessian of Lagrangian

$offlisting
*  
*  Equation counts
*      Total        E        G        L        N        X        C        B
*        733      209      266      258        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        404      296      108        0        0        0        0        0
*  FX      2
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       2524     2384      140        0
*
*  Solve m using MINLP maximizing objvar;


Variables  b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17,b18,b19
          ,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30,b31,b32,b33,b34,b35,b36
          ,b37,b38,b39,b40,b41,b42,b43,b44,b45,b46,b47,b48,b49,b50,b51,b52,b53
          ,b54,b55,b56,b57,b58,b59,b60,b61,b62,b63,b64,b65,b66,b67,b68,b69,b70
          ,b71,b72,b73,b74,b75,b76,b77,b78,b79,b80,b81,b82,b83,b84,b85,b86,b87
          ,b88,b89,b90,b91,b92,b93,b94,b95,b96,b97,b98,b99,b100,b101,b102,b103
          ,b104,b105,b106,b107,b108,x109,x110,x111,x112,x113,x114,x115,x116
          ,x117,x118,x119,x120,x121,x122,x123,x124,x125,x126,x127,x128,x129
          ,x130,x131,x132,x133,x134,x135,x136,x137,x138,x139,x140,x141,x142
          ,x143,x144,x145,x146,x147,x148,x149,x150,x151,x152,x153,x154,x155
          ,x156,x157,x158,x159,x160,x161,x162,x163,x164,x165,x166,x167,x168
          ,x169,x170,x171,x172,x173,x174,x175,x176,x177,x178,x179,x180,x181
          ,x182,x183,x184,x185,x186,x187,x188,x189,x190,x191,x192,x193,x194
          ,x195,x196,x197,x198,x199,x200,x201,x202,x203,x204,x205,x206,x207
          ,x208,x209,x210,x211,x212,x213,x214,x215,x216,x217,x218,x219,x220
          ,x221,x222,x223,x224,x225,x226,x227,x228,x229,x230,x231,x232,x233
          ,x234,x235,x236,x237,x238,x239,x240,x241,x242,x243,x244,x245,x246
          ,x247,x248,x249,x250,x251,x252,x253,x254,x255,x256,x257,x258,x259
          ,x260,x261,x262,x263,x264,x265,x266,x267,x268,x269,x270,x271,x272
          ,x273,x274,x275,x276,x277,x278,x279,x280,x281,x282,x283,x284,x285
          ,x286,x287,x288,x289,x290,x291,x292,x293,x294,x295,x296,x297,x298
          ,x299,x300,x301,x302,x303,x304,x305,x306,x307,x308,x309,x310,x311
          ,x312,x313,x314,x315,x316,x317,x318,x319,x320,x321,x322,x323,x324
          ,x325,x326,x327,x328,x329,x330,x331,x332,x333,x334,x335,x336,x337
          ,x338,x339,x340,x341,x342,x343,x344,x345,x346,x347,x348,x349,x350
          ,x351,x352,x353,x354,x355,x356,x357,x358,x359,x360,x361,x362,x363
          ,x364,x365,x366,x367,x368,x369,x370,x371,x372,x373,x374,x375,x376
          ,x377,x378,x379,x380,x381,x382,x383,x384,x385,x386,x387,x388,x389
          ,x390,x391,x392,x393,x394,x395,x396,x397,x398,x399,x400,x401,x402
          ,x403,objvar;

Positive Variables  x109,x110,x111,x112,x113,x114,x115,x116,x117,x118,x119
          ,x120,x121,x122,x123,x124,x125,x126,x127,x128,x129,x130,x131,x132
          ,x133,x134,x135,x136,x137,x138,x139,x140,x141,x142,x143,x144,x145
          ,x146,x147,x148,x149,x150,x151,x152,x153,x154,x155,x156,x157,x158
          ,x159,x160,x161,x162,x163,x164,x165,x166,x167,x168,x169,x170,x171
          ,x172,x173,x174,x175,x176,x177,x178,x179,x180,x181,x182,x183,x184
          ,x185,x186,x187,x188,x189,x190,x191,x192,x193,x194,x195,x196,x197
          ,x198,x199,x200,x201,x202,x203,x204,x205,x206,x207,x208,x209,x210
          ,x211,x212,x213,x214,x215,x216,x217,x218,x219,x220,x221,x222,x223
          ,x224,x225,x226,x227,x228,x229,x230,x231,x232,x233,x234,x235,x236
          ,x237,x238,x239,x240,x241,x242,x243,x244,x245,x246,x247,x248,x249
          ,x250,x251,x252,x253,x254,x255,x256,x257,x258,x259,x260,x261,x262
          ,x263,x264,x265,x266,x267,x268,x269,x270,x271,x272,x273,x274,x275
          ,x276,x277,x278,x279,x280,x281,x282,x283,x284,x285,x286,x287,x288
          ,x289,x290,x291,x292,x293,x294,x295,x296,x297,x298,x299,x300,x301
          ,x302,x303,x304,x305,x306,x307,x308,x309,x310,x311,x312,x313,x314
          ,x315,x316,x317,x318,x319,x320,x321,x322,x323,x324,x325,x326,x327
          ,x328,x329,x330,x331,x332,x333,x334,x335,x336,x337,x338,x339,x340
          ,x341,x342,x343,x344,x345,x346,x347,x348,x349,x350,x351,x352,x353
          ,x354,x355,x356,x357,x358,x359,x360,x361,x362,x363,x364,x365,x366
          ,x367,x368,x369,x370,x371,x372,x373,x374,x375,x376,x377,x378,x379
          ,x380,x381,x382,x383,x384,x385,x386,x387,x388,x389,x390,x391,x392
          ,x393,x394,x395,x396,x398,x399,x400,x401,x402;

Binary Variables  b1,b2,b3,b4,b5,b6,b7,b8,b9,b10,b11,b12,b13,b14,b15,b16,b17
          ,b18,b19,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30,b31,b32,b33,b34
          ,b35,b36,b37,b38,b39,b40,b41,b42,b43,b44,b45,b46,b47,b48,b49,b50,b51
          ,b52,b53,b54,b55,b56,b57,b58,b59,b60,b61,b62,b63,b64,b65,b66,b67,b68
          ,b69,b70,b71,b72,b73,b74,b75,b76,b77,b78,b79,b80,b81,b82,b83,b84,b85
          ,b86,b87,b88,b89,b90,b91,b92,b93,b94,b95,b96,b97,b98,b99,b100,b101
          ,b102,b103,b104,b105,b106,b107,b108;

Equations  e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,e11,e12,e13,e14,e15,e16,e17,e18,e19
          ,e20,e21,e22,e23,e24,e25,e26,e27,e28,e29,e30,e31,e32,e33,e34,e35,e36
          ,e37,e38,e39,e40,e41,e42,e43,e44,e45,e46,e47,e48,e49,e50,e51,e52,e53
          ,e54,e55,e56,e57,e58,e59,e60,e61,e62,e63,e64,e65,e66,e67,e68,e69,e70
          ,e71,e72,e73,e74,e75,e76,e77,e78,e79,e80,e81,e82,e83,e84,e85,e86,e87
          ,e88,e89,e90,e91,e92,e93,e94,e95,e96,e97,e98,e99,e100,e101,e102,e103
          ,e104,e105,e106,e107,e108,e109,e110,e111,e112,e113,e114,e115,e116
          ,e117,e118,e119,e120,e121,e122,e123,e124,e125,e126,e127,e128,e129
          ,e130,e131,e132,e133,e134,e135,e136,e137,e138,e139,e140,e141,e142
          ,e143,e144,e145,e146,e147,e148,e149,e150,e151,e152,e153,e154,e155
          ,e156,e157,e158,e159,e160,e161,e162,e163,e164,e165,e166,e167,e168
          ,e169,e170,e171,e172,e173,e174,e175,e176,e177,e178,e179,e180,e181
          ,e182,e183,e184,e185,e186,e187,e188,e189,e190,e191,e192,e193,e194
          ,e195,e196,e197,e198,e199,e200,e201,e202,e203,e204,e205,e206,e207
          ,e208,e209,e210,e211,e212,e213,e214,e215,e216,e217,e218,e219,e220
          ,e221,e222,e223,e224,e225,e226,e227,e228,e229,e230,e231,e232,e233
          ,e234,e235,e236,e237,e238,e239,e240,e241,e242,e243,e244,e245,e246
          ,e247,e248,e249,e250,e251,e252,e253,e254,e255,e256,e257,e258,e259
          ,e260,e261,e262,e263,e264,e265,e266,e267,e268,e269,e270,e271,e272
          ,e273,e274,e275,e276,e277,e278,e279,e280,e281,e282,e283,e284,e285
          ,e286,e287,e288,e289,e290,e291,e292,e293,e294,e295,e296,e297,e298
          ,e299,e300,e301,e302,e303,e304,e305,e306,e307,e308,e309,e310,e311
          ,e312,e313,e314,e315,e316,e317,e318,e319,e320,e321,e322,e323,e324
          ,e325,e326,e327,e328,e329,e330,e331,e332,e333,e334,e335,e336,e337
          ,e338,e339,e340,e341,e342,e343,e344,e345,e346,e347,e348,e349,e350
          ,e351,e352,e353,e354,e355,e356,e357,e358,e359,e360,e361,e362,e363
          ,e364,e365,e366,e367,e368,e369,e370,e371,e372,e373,e374,e375,e376
          ,e377,e378,e379,e380,e381,e382,e383,e384,e385,e386,e387,e388,e389
          ,e390,e391,e392,e393,e394,e395,e396,e397,e398,e399,e400,e401,e402
          ,e403,e404,e405,e406,e407,e408,e409,e410,e411,e412,e413,e414,e415
          ,e416,e417,e418,e419,e420,e421,e422,e423,e424,e425,e426,e427,e428
          ,e429,e430,e431,e432,e433,e434,e435,e436,e437,e438,e439,e440,e441
          ,e442,e443,e444,e445,e446,e447,e448,e449,e450,e451,e452,e453,e454
          ,e455,e456,e457,e458,e459,e460,e461,e462,e463,e464,e465,e466,e467
          ,e468,e469,e470,e471,e472,e473,e474,e475,e476,e477,e478,e479,e480
          ,e481,e482,e483,e484,e485,e486,e487,e488,e489,e490,e491,e492,e493
          ,e494,e495,e496,e497,e498,e499,e500,e501,e502,e503,e504,e505,e506
          ,e507,e508,e509,e510,e511,e512,e513,e514,e515,e516,e517,e518,e519
          ,e520,e521,e522,e523,e524,e525,e526,e527,e528,e529,e530,e531,e532
          ,e533,e534,e535,e536,e537,e538,e539,e540,e541,e542,e543,e544,e545
          ,e546,e547,e548,e549,e550,e551,e552,e553,e554,e555,e556,e557,e558
          ,e559,e560,e561,e562,e563,e564,e565,e566,e567,e568,e569,e570,e571
          ,e572,e573,e574,e575,e576,e577,e578,e579,e580,e581,e582,e583,e584
          ,e585,e586,e587,e588,e589,e590,e591,e592,e593,e594,e595,e596,e597
          ,e598,e599,e600,e601,e602,e603,e604,e605,e606,e607,e608,e609,e610
          ,e611,e612,e613,e614,e615,e616,e617,e618,e619,e620,e621,e622,e623
          ,e624,e625,e626,e627,e628,e629,e630,e631,e632,e633,e634,e635,e636
          ,e637,e638,e639,e640,e641,e642,e643,e644,e645,e646,e647,e648,e649
          ,e650,e651,e652,e653,e654,e655,e656,e657,e658,e659,e660,e661,e662
          ,e663,e664,e665,e666,e667,e668,e669,e670,e671,e672,e673,e674,e675
          ,e676,e677,e678,e679,e680,e681,e682,e683,e684,e685,e686,e687,e688
          ,e689,e690,e691,e692,e693,e694,e695,e696,e697,e698,e699,e700,e701
          ,e702,e703,e704,e705,e706,e707,e708,e709,e710,e711,e712,e713,e714
          ,e715,e716,e717,e718,e719,e720,e721,e722,e723,e724,e725,e726,e727
          ,e728,e729,e730,e731,e732,e733;


e1..  - x251 - x252 - x253 - x254 - x255 - x256 - x257 - x258 - x259 - x260
      - x261 - x262 - x263 - x264 - x265 - x266 - x267 - x268 - 3*x293 - 3*x294
      - 3*x295 - 3*x296 - 3*x297 - 3*x298 - 3*x299 - 3*x300 - 3*x301 - 3*x302
      - 3*x303 - 3*x304 - 3*x305 - 3*x306 - 3*x307 - 3*x308 - 3*x309 - 3*x310
      - 3*x311 - 3*x312 - 3*x313 - 3*x314 - 3*x315 - 3*x316 - 5*x335 - 5*x336
      - 5*x337 - 5*x338 - 5*x339 - 5*x340 - 5*x341 - 5*x342 - 5*x343 - 5*x344
      - 5*x345 - 5*x346 - 5*x347 - 5*x348 - 5*x349 - 5*x350 - 5*x351 - 5*x352
      - 1.67*x353 - 1.67*x354 - 1.67*x355 - 1.67*x356 - 1.67*x357 - 1.67*x358
      - 3*x359 - 3*x360 - 3*x361 - 3*x362 - 3*x363 - 3*x364 - 3*x365 - 3*x366
      - 3*x367 - 3*x368 - 3*x369 - 3*x370 - 4.33*x371 - 4.33*x372 - 4.33*x373
      - 4.33*x374 - 4.33*x375 - 4.33*x376 + objvar =E= 0;

e2..    x121 =E= 1000;

e3..  - x121 + x122 + x233 =E= 0;

e4..  - x122 + x123 + x234 =E= 0;

e5..  - x123 + x124 + x235 =E= 0;

e6..  - x124 + x125 + x236 =E= 0;

e7..  - x125 + x126 + x237 =E= 0;

e8..  - x126 + x127 + x238 =E= 0;

e9..    x128 =E= 200;

e10..  - x128 + x129 - x233 + x239 + x245 =E= 0;

e11..  - x129 + x130 - x234 + x240 + x246 =E= 0;

e12..  - x130 + x131 - x235 + x241 + x247 =E= 0;

e13..  - x131 + x132 - x236 + x242 + x248 =E= 0;

e14..  - x132 + x133 - x237 + x243 + x249 =E= 0;

e15..  - x133 + x134 - x238 + x244 + x250 =E= 0;

e16..    x135 =E= 0;

e17..  - x135 + x136 - x239 + x251 =E= 0;

e18..  - x136 + x137 - x240 + x252 =E= 0;

e19..  - x137 + x138 - x241 + x253 =E= 0;

e20..  - x138 + x139 - x242 + x254 =E= 0;

e21..  - x139 + x140 - x243 + x255 =E= 0;

e22..  - x140 + x141 - x244 + x256 =E= 0;

e23..    x142 =E= 0;

e24..  - x142 + x143 - x245 + x257 + x263 =E= 0;

e25..  - x143 + x144 - x246 + x258 + x264 =E= 0;

e26..  - x144 + x145 - x247 + x259 + x265 =E= 0;

e27..  - x145 + x146 - x248 + x260 + x266 =E= 0;

e28..  - x146 + x147 - x249 + x261 + x267 =E= 0;

e29..  - x147 + x148 - x250 + x262 + x268 =E= 0;

e30..    x149 =E= 1000;

e31..  - x149 + x150 + x269 =E= 0;

e32..  - x150 + x151 + x270 =E= 0;

e33..  - x151 + x152 + x271 =E= 0;

e34..  - x152 + x153 + x272 =E= 0;

e35..  - x153 + x154 + x273 =E= 0;

e36..  - x154 + x155 + x274 =E= 0;

e37..    x156 =E= 500;

e38..  - x156 + x157 - x269 + x275 + x281 + x287 =E= 0;

e39..  - x157 + x158 - x270 + x276 + x282 + x288 =E= 0;

e40..  - x158 + x159 - x271 + x277 + x283 + x289 =E= 0;

e41..  - x159 + x160 - x272 + x278 + x284 + x290 =E= 0;

e42..  - x160 + x161 - x273 + x279 + x285 + x291 =E= 0;

e43..  - x161 + x162 - x274 + x280 + x286 + x292 =E= 0;

e44..    x163 =E= 0;

e45..  - x163 + x164 - x275 + x293 =E= 0;

e46..  - x164 + x165 - x276 + x294 =E= 0;

e47..  - x165 + x166 - x277 + x295 =E= 0;

e48..  - x166 + x167 - x278 + x296 =E= 0;

e49..  - x167 + x168 - x279 + x297 =E= 0;

e50..  - x168 + x169 - x280 + x298 =E= 0;

e51..    x170 =E= 0;

e52..  - x170 + x171 - x281 + x299 + x305 =E= 0;

e53..  - x171 + x172 - x282 + x300 + x306 =E= 0;

e54..  - x172 + x173 - x283 + x301 + x307 =E= 0;

e55..  - x173 + x174 - x284 + x302 + x308 =E= 0;

e56..  - x174 + x175 - x285 + x303 + x309 =E= 0;

e57..  - x175 + x176 - x286 + x304 + x310 =E= 0;

e58..    x177 =E= 0;

e59..  - x177 + x178 - x287 + x311 =E= 0;

e60..  - x178 + x179 - x288 + x312 =E= 0;

e61..  - x179 + x180 - x289 + x313 =E= 0;

e62..  - x180 + x181 - x290 + x314 =E= 0;

e63..  - x181 + x182 - x291 + x315 =E= 0;

e64..  - x182 + x183 - x292 + x316 =E= 0;

e65..    x184 =E= 1000;

e66..  - x184 + x185 + x317 =E= 0;

e67..  - x185 + x186 + x318 =E= 0;

e68..  - x186 + x187 + x319 =E= 0;

e69..  - x187 + x188 + x320 =E= 0;

e70..  - x188 + x189 + x321 =E= 0;

e71..  - x189 + x190 + x322 =E= 0;

e72..    x191 =E= 700;

e73..  - x191 + x192 - x317 + x323 + x329 =E= 0;

e74..  - x192 + x193 - x318 + x324 + x330 =E= 0;

e75..  - x193 + x194 - x319 + x325 + x331 =E= 0;

e76..  - x194 + x195 - x320 + x326 + x332 =E= 0;

e77..  - x195 + x196 - x321 + x327 + x333 =E= 0;

e78..  - x196 + x197 - x322 + x328 + x334 =E= 0;

e79..    x198 =E= 0;

e80..  - x198 + x199 - x323 + x335 + x341 =E= 0;

e81..  - x199 + x200 - x324 + x336 + x342 =E= 0;

e82..  - x200 + x201 - x325 + x337 + x343 =E= 0;

e83..  - x201 + x202 - x326 + x338 + x344 =E= 0;

e84..  - x202 + x203 - x327 + x339 + x345 =E= 0;

e85..  - x203 + x204 - x328 + x340 + x346 =E= 0;

e86..    x205 =E= 0;

e87..  - x205 + x206 - x329 + x347 =E= 0;

e88..  - x206 + x207 - x330 + x348 =E= 0;

e89..  - x207 + x208 - x331 + x349 =E= 0;

e90..  - x208 + x209 - x332 + x350 =E= 0;

e91..  - x209 + x210 - x333 + x351 =E= 0;

e92..  - x210 + x211 - x334 + x352 =E= 0;

e93..    x212 =E= 300;

e94..  - x212 + x213 + x353 =E= 0;

e95..  - x213 + x214 + x354 =E= 0;

e96..  - x214 + x215 + x355 =E= 0;

e97..  - x215 + x216 + x356 =E= 0;

e98..  - x216 + x217 + x357 =E= 0;

e99..  - x217 + x218 + x358 =E= 0;

e100..    x219 =E= 500;

e101..  - x219 + x220 + x359 + x365 =E= 0;

e102..  - x220 + x221 + x360 + x366 =E= 0;

e103..  - x221 + x222 + x361 + x367 =E= 0;

e104..  - x222 + x223 + x362 + x368 =E= 0;

e105..  - x223 + x224 + x363 + x369 =E= 0;

e106..  - x224 + x225 + x364 + x370 =E= 0;

e107..    x226 =E= 300;

e108..  - x226 + x227 + x371 =E= 0;

e109..  - x227 + x228 + x372 =E= 0;

e110..  - x228 + x229 + x373 =E= 0;

e111..  - x229 + x230 + x374 =E= 0;

e112..  - x230 + x231 + x375 =E= 0;

e113..  - x231 + x232 + x376 =E= 0;

e114..    x129 =L= 1000;

e115..    x130 =L= 1000;

e116..    x131 =L= 1000;

e117..    x132 =L= 1000;

e118..    x133 =L= 1000;

e119..    x134 =L= 1000;

e120..    x157 =L= 1000;

e121..    x158 =L= 1000;

e122..    x159 =L= 1000;

e123..    x160 =L= 1000;

e124..    x161 =L= 1000;

e125..    x162 =L= 1000;

e126..    x192 =L= 1000;

e127..    x193 =L= 1000;

e128..    x194 =L= 1000;

e129..    x195 =L= 1000;

e130..    x196 =L= 1000;

e131..    x197 =L= 1000;

e132..    x136 + x164 + x213 =L= 1000;

e133..    x137 + x165 + x214 =L= 1000;

e134..    x138 + x166 + x215 =L= 1000;

e135..    x139 + x167 + x216 =L= 1000;

e136..    x140 + x168 + x217 =L= 1000;

e137..    x141 + x169 + x218 =L= 1000;

e138..    x143 + x171 + x199 + x220 =L= 1000;

e139..    x144 + x172 + x200 + x221 =L= 1000;

e140..    x145 + x173 + x201 + x222 =L= 1000;

e141..    x146 + x174 + x202 + x223 =L= 1000;

e142..    x147 + x175 + x203 + x224 =L= 1000;

e143..    x148 + x176 + x204 + x225 =L= 1000;

e144..    x178 + x206 + x227 =L= 1000;

e145..    x179 + x207 + x228 =L= 1000;

e146..    x180 + x208 + x229 =L= 1000;

e147..    x181 + x209 + x230 =L= 1000;

e148..    x182 + x210 + x231 =L= 1000;

e149..    x183 + x211 + x232 =L= 1000;

e150..    x129 =G= 0;

e151..    x130 =G= 0;

e152..    x131 =G= 0;

e153..    x132 =G= 0;

e154..    x133 =G= 0;

e155..    x134 =G= 0;

e156..    x157 =G= 0;

e157..    x158 =G= 0;

e158..    x159 =G= 0;

e159..    x160 =G= 0;

e160..    x161 =G= 0;

e161..    x162 =G= 0;

e162..    x192 =G= 0;

e163..    x193 =G= 0;

e164..    x194 =G= 0;

e165..    x195 =G= 0;

e166..    x196 =G= 0;

e167..    x197 =G= 0;

e168..    x136 + x164 + x213 =G= 0;

e169..    x137 + x165 + x214 =G= 0;

e170..    x138 + x166 + x215 =G= 0;

e171..    x139 + x167 + x216 =G= 0;

e172..    x140 + x168 + x217 =G= 0;

e173..    x141 + x169 + x218 =G= 0;

e174..    x143 + x171 + x199 + x220 =G= 0;

e175..    x144 + x172 + x200 + x221 =G= 0;

e176..    x145 + x173 + x201 + x222 =G= 0;

e177..    x146 + x174 + x202 + x223 =G= 0;

e178..    x147 + x175 + x203 + x224 =G= 0;

e179..    x148 + x176 + x204 + x225 =G= 0;

e180..    x178 + x206 + x227 =G= 0;

e181..    x179 + x207 + x228 =G= 0;

e182..    x180 + x208 + x229 =G= 0;

e183..    x181 + x209 + x230 =G= 0;

e184..    x182 + x210 + x231 =G= 0;

e185..    x183 + x211 + x232 =G= 0;

e186..  - 0.01*x136 + 0.01*x164 - 0.0033*x213 =L= 0;

e187..  - 0.01*x137 + 0.01*x165 - 0.0033*x214 =L= 0;

e188..  - 0.01*x138 + 0.01*x166 - 0.0033*x215 =L= 0;

e189..  - 0.01*x139 + 0.01*x167 - 0.0033*x216 =L= 0;

e190..  - 0.01*x140 + 0.01*x168 - 0.0033*x217 =L= 0;

e191..  - 0.01*x141 + 0.01*x169 - 0.0033*x218 =L= 0;

e192..    0.002*x136 - 0.018*x164 - 0.0047*x213 =L= 0;

e193..    0.002*x137 - 0.018*x165 - 0.0047*x214 =L= 0;

e194..    0.002*x138 - 0.018*x166 - 0.0047*x215 =L= 0;

e195..    0.002*x139 - 0.018*x167 - 0.0047*x216 =L= 0;

e196..    0.002*x140 - 0.018*x168 - 0.0047*x217 =L= 0;

e197..    0.002*x141 - 0.018*x169 - 0.0047*x218 =L= 0;

e198..  - 0.025*x143 - 0.005*x171 + 0.015*x199 - 0.005*x220 =L= 0;

e199..  - 0.025*x144 - 0.005*x172 + 0.015*x200 - 0.005*x221 =L= 0;

e200..  - 0.025*x145 - 0.005*x173 + 0.015*x201 - 0.005*x222 =L= 0;

e201..  - 0.025*x146 - 0.005*x174 + 0.015*x202 - 0.005*x223 =L= 0;

e202..  - 0.025*x147 - 0.005*x175 + 0.015*x203 - 0.005*x224 =L= 0;

e203..  - 0.025*x148 - 0.005*x176 + 0.015*x204 - 0.005*x225 =L= 0;

e204..    0.013*x143 - 0.007*x171 - 0.017*x199 - 0.004*x220 =L= 0;

e205..    0.013*x144 - 0.007*x172 - 0.017*x200 - 0.004*x221 =L= 0;

e206..    0.013*x145 - 0.007*x173 - 0.017*x201 - 0.004*x222 =L= 0;

e207..    0.013*x146 - 0.007*x174 - 0.017*x202 - 0.004*x223 =L= 0;

e208..    0.013*x147 - 0.007*x175 - 0.017*x203 - 0.004*x224 =L= 0;

e209..    0.013*x148 - 0.007*x176 - 0.017*x204 - 0.004*x225 =L= 0;

e210..  - 0.018*x178 + 0.002*x206 - 0.0047*x227 =L= 0;

e211..  - 0.018*x179 + 0.002*x207 - 0.0047*x228 =L= 0;

e212..  - 0.018*x180 + 0.002*x208 - 0.0047*x229 =L= 0;

e213..  - 0.018*x181 + 0.002*x209 - 0.0047*x230 =L= 0;

e214..  - 0.018*x182 + 0.002*x210 - 0.0047*x231 =L= 0;

e215..  - 0.018*x183 + 0.002*x211 - 0.0047*x232 =L= 0;

e216..    0.002*x178 - 0.008*x206 - 0.0047*x227 =L= 0;

e217..    0.002*x179 - 0.008*x207 - 0.0047*x228 =L= 0;

e218..    0.002*x180 - 0.008*x208 - 0.0047*x229 =L= 0;

e219..    0.002*x181 - 0.008*x209 - 0.0047*x230 =L= 0;

e220..    0.002*x182 - 0.008*x210 - 0.0047*x231 =L= 0;

e221..    0.002*x183 - 0.008*x211 - 0.0047*x232 =L= 0;

e222..    0.02*x164 + 0.0067*x213 =G= 0;

e223..    0.02*x165 + 0.0067*x214 =G= 0;

e224..    0.02*x166 + 0.0067*x215 =G= 0;

e225..    0.02*x167 + 0.0067*x216 =G= 0;

e226..    0.02*x168 + 0.0067*x217 =G= 0;

e227..    0.02*x169 + 0.0067*x218 =G= 0;

e228..    0.01*x136 - 0.01*x164 + 0.0033*x213 =G= 0;

e229..    0.01*x137 - 0.01*x165 + 0.0033*x214 =G= 0;

e230..    0.01*x138 - 0.01*x166 + 0.0033*x215 =G= 0;

e231..    0.01*x139 - 0.01*x167 + 0.0033*x216 =G= 0;

e232..    0.01*x140 - 0.01*x168 + 0.0033*x217 =G= 0;

e233..    0.01*x141 - 0.01*x169 + 0.0033*x218 =G= 0;

e234..  - 0.015*x143 + 0.005*x171 + 0.025*x199 + 0.005*x220 =G= 0;

e235..  - 0.015*x144 + 0.005*x172 + 0.025*x200 + 0.005*x221 =G= 0;

e236..  - 0.015*x145 + 0.005*x173 + 0.025*x201 + 0.005*x222 =G= 0;

e237..  - 0.015*x146 + 0.005*x174 + 0.025*x202 + 0.005*x223 =G= 0;

e238..  - 0.015*x147 + 0.005*x175 + 0.025*x203 + 0.005*x224 =G= 0;

e239..  - 0.015*x148 + 0.005*x176 + 0.025*x204 + 0.005*x225 =G= 0;

e240..    0.022*x143 + 0.002*x171 - 0.008*x199 + 0.005*x220 =G= 0;

e241..    0.022*x144 + 0.002*x172 - 0.008*x200 + 0.005*x221 =G= 0;

e242..    0.022*x145 + 0.002*x173 - 0.008*x201 + 0.005*x222 =G= 0;

e243..    0.022*x146 + 0.002*x174 - 0.008*x202 + 0.005*x223 =G= 0;

e244..    0.022*x147 + 0.002*x175 - 0.008*x203 + 0.005*x224 =G= 0;

e245..    0.022*x148 + 0.002*x176 - 0.008*x204 + 0.005*x225 =G= 0;

e246..  - 0.01*x178 + 0.01*x206 + 0.0033*x227 =G= 0;

e247..  - 0.01*x179 + 0.01*x207 + 0.0033*x228 =G= 0;

e248..  - 0.01*x180 + 0.01*x208 + 0.0033*x229 =G= 0;

e249..  - 0.01*x181 + 0.01*x209 + 0.0033*x230 =G= 0;

e250..  - 0.01*x182 + 0.01*x210 + 0.0033*x231 =G= 0;

e251..  - 0.01*x183 + 0.01*x211 + 0.0033*x232 =G= 0;

e252..    0.01*x178 + 0.0033*x227 =G= 0;

e253..    0.01*x179 + 0.0033*x228 =G= 0;

e254..    0.01*x180 + 0.0033*x229 =G= 0;

e255..    0.01*x181 + 0.0033*x230 =G= 0;

e256..    0.01*x182 + 0.0033*x231 =G= 0;

e257..    0.01*x183 + 0.0033*x232 =G= 0;

e258..    b19 + b61 =L= 1;

e259..    b20 + b62 =L= 1;

e260..    b21 + b63 =L= 1;

e261..    b22 + b64 =L= 1;

e262..    b23 + b65 =L= 1;

e263..    b24 + b66 =L= 1;

e264..    b31 + b61 =L= 1;

e265..    b32 + b62 =L= 1;

e266..    b33 + b63 =L= 1;

e267..    b34 + b64 =L= 1;

e268..    b35 + b65 =L= 1;

e269..    b36 + b66 =L= 1;

e270..    b25 + b67 + b73 =L= 1;

e271..    b26 + b68 + b74 =L= 1;

e272..    b27 + b69 + b75 =L= 1;

e273..    b28 + b70 + b76 =L= 1;

e274..    b29 + b71 + b77 =L= 1;

e275..    b30 + b72 + b78 =L= 1;

e276..    b37 + b67 + b73 =L= 1;

e277..    b38 + b68 + b74 =L= 1;

e278..    b39 + b69 + b75 =L= 1;

e279..    b40 + b70 + b76 =L= 1;

e280..    b41 + b71 + b77 =L= 1;

e281..    b42 + b72 + b78 =L= 1;

e282..    b49 + b67 + b73 =L= 1;

e283..    b50 + b68 + b74 =L= 1;

e284..    b51 + b69 + b75 =L= 1;

e285..    b52 + b70 + b76 =L= 1;

e286..    b53 + b71 + b77 =L= 1;

e287..    b54 + b72 + b78 =L= 1;

e288..    b43 + b79 =L= 1;

e289..    b44 + b80 =L= 1;

e290..    b45 + b81 =L= 1;

e291..    b46 + b82 =L= 1;

e292..    b47 + b83 =L= 1;

e293..    b48 + b84 =L= 1;

e294..    b55 + b79 =L= 1;

e295..    b56 + b80 =L= 1;

e296..    b57 + b81 =L= 1;

e297..    b58 + b82 =L= 1;

e298..    b59 + b83 =L= 1;

e299..    b60 + b84 =L= 1;

e300..    x127 =E= 0;

e301..    x155 =E= 0;

e302..    x190 =E= 0;

e303..    x251 + x252 + x253 + x254 + x255 + x256 + x293 + x294 + x295 + x296
        + x297 + x298 + x353 + x354 + x355 + x356 + x357 + x358 =E= 1000;

e304..    x257 + x258 + x259 + x260 + x261 + x262 + x263 + x264 + x265 + x266
        + x267 + x268 + x299 + x300 + x301 + x302 + x303 + x304 + x305 + x306
        + x307 + x308 + x309 + x310 + x335 + x336 + x337 + x338 + x339 + x340
        + x341 + x342 + x343 + x344 + x345 + x346 + x359 + x360 + x361 + x362
        + x363 + x364 + x365 + x366 + x367 + x368 + x369 + x370 =E= 1000;

e305..    x311 + x312 + x313 + x314 + x315 + x316 + x347 + x348 + x349 + x350
        + x351 + x352 + x371 + x372 + x373 + x374 + x375 + x376 =E= 1000;

e306..    b85 + b86 + b88 + b91 =E= 1;

e307..    b87 + b89 + b92 + b94 =E= 1;

e308..    b90 + b93 + b95 + b96 =E= 1;

e309..    b97 + b98 + b100 + b103 =E= 1;

e310..    b99 + b101 + b104 + b106 =E= 1;

e311..    b102 + b105 + b107 + b108 =E= 1;

e312..    b1 + b7 + b13 =L= 1;

e313..    b2 + b8 + b14 =L= 1;

e314..    b3 + b9 + b15 =L= 1;

e315..    b4 + b10 + b16 =L= 1;

e316..    b5 + b11 + b17 =L= 1;

e317..    b6 + b12 + b18 =L= 1;

e318..    b61 + b67 =E= 1;

e319..    b62 + b68 =E= 1;

e320..    b63 + b69 =E= 1;

e321..    b64 + b70 =E= 1;

e322..    b65 + b71 =E= 1;

e323..    b66 + b72 =E= 1;

e324..    b73 + b79 =E= 1;

e325..    b74 + b80 =E= 1;

e326..    b75 + b81 =E= 1;

e327..    b76 + b82 =E= 1;

e328..    b77 + b83 =E= 1;

e329..    b78 + b84 =E= 1;

e330..    b1 - b85 =L= 0;

e331..    b2 - b85 - b86 =L= 0;

e332..    b3 - b85 - b86 - b88 =L= 0;

e333..    b4 - b85 - b86 - b88 - b91 =L= 0;

e334..    b5 - b85 - b86 - b88 - b91 =L= 0;

e335..    b6 - b85 - b86 - b88 - b91 =L= 0;

e336..    b7 =L= 0;

e337..    b8 - b87 =L= 0;

e338..    b9 - b87 - b89 =L= 0;

e339..    b10 - b87 - b89 - b92 =L= 0;

e340..    b11 - b87 - b89 - b92 - b94 =L= 0;

e341..    b12 - b87 - b89 - b92 - b94 =L= 0;

e342..    b13 =L= 0;

e343..    b14 =L= 0;

e344..    b15 - b90 =L= 0;

e345..    b16 - b90 - b93 =L= 0;

e346..    b17 - b90 - b93 - b95 =L= 0;

e347..    b18 - b90 - b93 - b95 - b96 =L= 0;

e348..    b1 - b97 - b98 - b100 - b103 =L= 0;

e349..    b2 - b98 - b100 - b103 =L= 0;

e350..    b3 - b100 - b103 =L= 0;

e351..    b4 - b103 =L= 0;

e352..    b5 =L= 0;

e353..    b6 =L= 0;

e354..    b7 - b99 - b101 - b104 - b106 =L= 0;

e355..    b8 - b99 - b101 - b104 - b106 =L= 0;

e356..    b9 - b101 - b104 - b106 =L= 0;

e357..    b10 - b104 - b106 =L= 0;

e358..    b11 - b106 =L= 0;

e359..    b12 =L= 0;

e360..    b13 - b102 - b105 - b107 - b108 =L= 0;

e361..    b14 - b102 - b105 - b107 - b108 =L= 0;

e362..    b15 - b102 - b105 - b107 - b108 =L= 0;

e363..    b16 - b105 - b107 - b108 =L= 0;

e364..    b17 - b107 - b108 =L= 0;

e365..    b18 - b108 =L= 0;

e366..  - b61 - b68 + x109 =G= -1;

e367..  - b62 - b69 + x110 =G= -1;

e368..  - b63 - b70 + x111 =G= -1;

e369..  - b64 - b71 + x112 =G= -1;

e370..  - b65 - b72 + x113 =G= -1;

e371..  - b73 - b80 + x114 =G= -1;

e372..  - b74 - b81 + x115 =G= -1;

e373..  - b75 - b82 + x116 =G= -1;

e374..  - b76 - b83 + x117 =G= -1;

e375..  - b77 - b84 + x118 =G= -1;

e376..  - b62 - b67 + x109 =G= -1;

e377..  - b63 - b68 + x110 =G= -1;

e378..  - b64 - b69 + x111 =G= -1;

e379..  - b65 - b70 + x112 =G= -1;

e380..  - b66 - b71 + x113 =G= -1;

e381..  - b74 - b79 + x114 =G= -1;

e382..  - b75 - b80 + x115 =G= -1;

e383..  - b76 - b81 + x116 =G= -1;

e384..  - b77 - b82 + x117 =G= -1;

e385..  - b78 - b83 + x118 =G= -1;

e386..    x109 + x110 + x111 + x112 + x113 - x119 =E= -1;

e387..    x114 + x115 + x116 + x117 + x118 - x120 =E= -1;

e388..  - 1000*b1 + x233 =L= 0;

e389..  - 1000*b2 + x234 =L= 0;

e390..  - 1000*b3 + x235 =L= 0;

e391..  - 1000*b4 + x236 =L= 0;

e392..  - 1000*b5 + x237 =L= 0;

e393..  - 1000*b6 + x238 =L= 0;

e394..  - 1000*b7 + x269 =L= 0;

e395..  - 1000*b8 + x270 =L= 0;

e396..  - 1000*b9 + x271 =L= 0;

e397..  - 1000*b10 + x272 =L= 0;

e398..  - 1000*b11 + x273 =L= 0;

e399..  - 1000*b12 + x274 =L= 0;

e400..  - 1000*b13 + x317 =L= 0;

e401..  - 1000*b14 + x318 =L= 0;

e402..  - 1000*b15 + x319 =L= 0;

e403..  - 1000*b16 + x320 =L= 0;

e404..  - 1000*b17 + x321 =L= 0;

e405..  - 1000*b18 + x322 =L= 0;

e406..  - 1000*b19 + x239 =L= 0;

e407..  - 1000*b20 + x240 =L= 0;

e408..  - 1000*b21 + x241 =L= 0;

e409..  - 1000*b22 + x242 =L= 0;

e410..  - 1000*b23 + x243 =L= 0;

e411..  - 1000*b24 + x244 =L= 0;

e412..  - 1000*b25 + x245 =L= 0;

e413..  - 1000*b26 + x246 =L= 0;

e414..  - 1000*b27 + x247 =L= 0;

e415..  - 1000*b28 + x248 =L= 0;

e416..  - 1000*b29 + x249 =L= 0;

e417..  - 1000*b30 + x250 =L= 0;

e418..  - 1000*b31 + x275 =L= 0;

e419..  - 1000*b32 + x276 =L= 0;

e420..  - 1000*b33 + x277 =L= 0;

e421..  - 1000*b34 + x278 =L= 0;

e422..  - 1000*b35 + x279 =L= 0;

e423..  - 1000*b36 + x280 =L= 0;

e424..  - 1000*b37 + x281 =L= 0;

e425..  - 1000*b38 + x282 =L= 0;

e426..  - 1000*b39 + x283 =L= 0;

e427..  - 1000*b40 + x284 =L= 0;

e428..  - 1000*b41 + x285 =L= 0;

e429..  - 1000*b42 + x286 =L= 0;

e430..  - 1000*b43 + x287 =L= 0;

e431..  - 1000*b44 + x288 =L= 0;

e432..  - 1000*b45 + x289 =L= 0;

e433..  - 1000*b46 + x290 =L= 0;

e434..  - 1000*b47 + x291 =L= 0;

e435..  - 1000*b48 + x292 =L= 0;

e436..  - 1000*b49 + x323 =L= 0;

e437..  - 1000*b50 + x324 =L= 0;

e438..  - 1000*b51 + x325 =L= 0;

e439..  - 1000*b52 + x326 =L= 0;

e440..  - 1000*b53 + x327 =L= 0;

e441..  - 1000*b54 + x328 =L= 0;

e442..  - 1000*b55 + x329 =L= 0;

e443..  - 1000*b56 + x330 =L= 0;

e444..  - 1000*b57 + x331 =L= 0;

e445..  - 1000*b58 + x332 =L= 0;

e446..  - 1000*b59 + x333 =L= 0;

e447..  - 1000*b60 + x334 =L= 0;

e448..  - 1000*b61 + x251 + x293 + x353 =L= 0;

e449..  - 1000*b62 + x252 + x294 + x354 =L= 0;

e450..  - 1000*b63 + x253 + x295 + x355 =L= 0;

e451..  - 1000*b64 + x254 + x296 + x356 =L= 0;

e452..  - 1000*b65 + x255 + x297 + x357 =L= 0;

e453..  - 1000*b66 + x256 + x298 + x358 =L= 0;

e454..  - 1000*b67 + x257 + x299 + x335 + x359 =L= 0;

e455..  - 1000*b68 + x258 + x300 + x336 + x360 =L= 0;

e456..  - 1000*b69 + x259 + x301 + x337 + x361 =L= 0;

e457..  - 1000*b70 + x260 + x302 + x338 + x362 =L= 0;

e458..  - 1000*b71 + x261 + x303 + x339 + x363 =L= 0;

e459..  - 1000*b72 + x262 + x304 + x340 + x364 =L= 0;

e460..  - 1000*b73 + x263 + x305 + x341 + x365 =L= 0;

e461..  - 1000*b74 + x264 + x306 + x342 + x366 =L= 0;

e462..  - 1000*b75 + x265 + x307 + x343 + x367 =L= 0;

e463..  - 1000*b76 + x266 + x308 + x344 + x368 =L= 0;

e464..  - 1000*b77 + x267 + x309 + x345 + x369 =L= 0;

e465..  - 1000*b78 + x268 + x310 + x346 + x370 =L= 0;

e466..  - 1000*b79 + x311 + x347 + x371 =L= 0;

e467..  - 1000*b80 + x312 + x348 + x372 =L= 0;

e468..  - 1000*b81 + x313 + x349 + x373 =L= 0;

e469..  - 1000*b82 + x314 + x350 + x374 =L= 0;

e470..  - 1000*b83 + x315 + x351 + x375 =L= 0;

e471..  - 1000*b84 + x316 + x352 + x376 =L= 0;

e472..  - b1 + x233 =G= 0;

e473..  - b2 + x234 =G= 0;

e474..  - b3 + x235 =G= 0;

e475..  - b4 + x236 =G= 0;

e476..  - b5 + x237 =G= 0;

e477..  - b6 + x238 =G= 0;

e478..  - b7 + x269 =G= 0;

e479..  - b8 + x270 =G= 0;

e480..  - b9 + x271 =G= 0;

e481..  - b10 + x272 =G= 0;

e482..  - b11 + x273 =G= 0;

e483..  - b12 + x274 =G= 0;

e484..  - b13 + x317 =G= 0;

e485..  - b14 + x318 =G= 0;

e486..  - b15 + x319 =G= 0;

e487..  - b16 + x320 =G= 0;

e488..  - b17 + x321 =G= 0;

e489..  - b18 + x322 =G= 0;

e490..  - b19 + x239 =G= 0;

e491..  - b20 + x240 =G= 0;

e492..  - b21 + x241 =G= 0;

e493..  - b22 + x242 =G= 0;

e494..  - b23 + x243 =G= 0;

e495..  - b24 + x244 =G= 0;

e496..  - b25 + x245 =G= 0;

e497..  - b26 + x246 =G= 0;

e498..  - b27 + x247 =G= 0;

e499..  - b28 + x248 =G= 0;

e500..  - b29 + x249 =G= 0;

e501..  - b30 + x250 =G= 0;

e502..  - b31 + x275 =G= 0;

e503..  - b32 + x276 =G= 0;

e504..  - b33 + x277 =G= 0;

e505..  - b34 + x278 =G= 0;

e506..  - b35 + x279 =G= 0;

e507..  - b36 + x280 =G= 0;

e508..  - b37 + x281 =G= 0;

e509..  - b38 + x282 =G= 0;

e510..  - b39 + x283 =G= 0;

e511..  - b40 + x284 =G= 0;

e512..  - b41 + x285 =G= 0;

e513..  - b42 + x286 =G= 0;

e514..  - b43 + x287 =G= 0;

e515..  - b44 + x288 =G= 0;

e516..  - b45 + x289 =G= 0;

e517..  - b46 + x290 =G= 0;

e518..  - b47 + x291 =G= 0;

e519..  - b48 + x292 =G= 0;

e520..  - b49 + x323 =G= 0;

e521..  - b50 + x324 =G= 0;

e522..  - b51 + x325 =G= 0;

e523..  - b52 + x326 =G= 0;

e524..  - b53 + x327 =G= 0;

e525..  - b54 + x328 =G= 0;

e526..  - b55 + x329 =G= 0;

e527..  - b56 + x330 =G= 0;

e528..  - b57 + x331 =G= 0;

e529..  - b58 + x332 =G= 0;

e530..  - b59 + x333 =G= 0;

e531..  - b60 + x334 =G= 0;

e532..  - b61 + x251 + x293 + x353 =G= 0;

e533..  - b62 + x252 + x294 + x354 =G= 0;

e534..  - b63 + x253 + x295 + x355 =G= 0;

e535..  - b64 + x254 + x296 + x356 =G= 0;

e536..  - b65 + x255 + x297 + x357 =G= 0;

e537..  - b66 + x256 + x298 + x358 =G= 0;

e538..  - b67 + x257 + x299 + x335 + x359 =G= 0;

e539..  - b68 + x258 + x300 + x336 + x360 =G= 0;

e540..  - b69 + x259 + x301 + x337 + x361 =G= 0;

e541..  - b70 + x260 + x302 + x338 + x362 =G= 0;

e542..  - b71 + x261 + x303 + x339 + x363 =G= 0;

e543..  - b72 + x262 + x304 + x340 + x364 =G= 0;

e544..  - b73 + x263 + x305 + x341 + x365 =G= 0;

e545..  - b74 + x264 + x306 + x342 + x366 =G= 0;

e546..  - b75 + x265 + x307 + x343 + x367 =G= 0;

e547..  - b76 + x266 + x308 + x344 + x368 =G= 0;

e548..  - b77 + x267 + x309 + x345 + x369 =G= 0;

e549..  - b78 + x268 + x310 + x346 + x370 =G= 0;

e550..  - b79 + x311 + x347 + x371 =G= 0;

e551..  - b80 + x312 + x348 + x372 =G= 0;

e552..  - b81 + x313 + x349 + x373 =G= 0;

e553..  - b82 + x314 + x350 + x374 =G= 0;

e554..  - b83 + x315 + x351 + x375 =G= 0;

e555..  - b84 + x316 + x352 + x376 =G= 0;

e556..  - 0.002*x233 - x397 + x398 =G= 0;

e557..  - 0.002*x234 - x398 + x399 =G= 0;

e558..  - 0.002*x235 - x399 + x400 =G= 0;

e559..  - 0.002*x236 - x400 + x401 =G= 0;

e560..  - 0.002*x237 - x401 + x402 =G= 0;

e561..  - 0.002*x238 - x402 + x403 =G= 0;

e562..  - 0.002*x269 - x397 + x398 =G= 0;

e563..  - 0.002*x270 - x398 + x399 =G= 0;

e564..  - 0.002*x271 - x399 + x400 =G= 0;

e565..  - 0.002*x272 - x400 + x401 =G= 0;

e566..  - 0.002*x273 - x401 + x402 =G= 0;

e567..  - 0.002*x274 - x402 + x403 =G= 0;

e568..  - 0.002*x317 - x397 + x398 =G= 0;

e569..  - 0.002*x318 - x398 + x399 =G= 0;

e570..  - 0.002*x319 - x399 + x400 =G= 0;

e571..  - 0.002*x320 - x400 + x401 =G= 0;

e572..  - 0.002*x321 - x401 + x402 =G= 0;

e573..  - 0.002*x322 - x402 + x403 =G= 0;

e574..  - 0.002*x239 - x397 + x398 =G= 0;

e575..  - 0.002*x240 - x398 + x399 =G= 0;

e576..  - 0.002*x241 - x399 + x400 =G= 0;

e577..  - 0.002*x242 - x400 + x401 =G= 0;

e578..  - 0.002*x243 - x401 + x402 =G= 0;

e579..  - 0.002*x244 - x402 + x403 =G= 0;

e580..  - 0.002*x245 - x397 + x398 =G= 0;

e581..  - 0.002*x246 - x398 + x399 =G= 0;

e582..  - 0.002*x247 - x399 + x400 =G= 0;

e583..  - 0.002*x248 - x400 + x401 =G= 0;

e584..  - 0.002*x249 - x401 + x402 =G= 0;

e585..  - 0.002*x250 - x402 + x403 =G= 0;

e586..  - 0.002*x275 - x397 + x398 =G= 0;

e587..  - 0.002*x276 - x398 + x399 =G= 0;

e588..  - 0.002*x277 - x399 + x400 =G= 0;

e589..  - 0.002*x278 - x400 + x401 =G= 0;

e590..  - 0.002*x279 - x401 + x402 =G= 0;

e591..  - 0.002*x280 - x402 + x403 =G= 0;

e592..  - 0.002*x281 - x397 + x398 =G= 0;

e593..  - 0.002*x282 - x398 + x399 =G= 0;

e594..  - 0.002*x283 - x399 + x400 =G= 0;

e595..  - 0.002*x284 - x400 + x401 =G= 0;

e596..  - 0.002*x285 - x401 + x402 =G= 0;

e597..  - 0.002*x286 - x402 + x403 =G= 0;

e598..  - 0.002*x287 - x397 + x398 =G= 0;

e599..  - 0.002*x288 - x398 + x399 =G= 0;

e600..  - 0.002*x289 - x399 + x400 =G= 0;

e601..  - 0.002*x290 - x400 + x401 =G= 0;

e602..  - 0.002*x291 - x401 + x402 =G= 0;

e603..  - 0.002*x292 - x402 + x403 =G= 0;

e604..  - 0.002*x323 - x397 + x398 =G= 0;

e605..  - 0.002*x324 - x398 + x399 =G= 0;

e606..  - 0.002*x325 - x399 + x400 =G= 0;

e607..  - 0.002*x326 - x400 + x401 =G= 0;

e608..  - 0.002*x327 - x401 + x402 =G= 0;

e609..  - 0.002*x328 - x402 + x403 =G= 0;

e610..  - 0.002*x329 - x397 + x398 =G= 0;

e611..  - 0.002*x330 - x398 + x399 =G= 0;

e612..  - 0.002*x331 - x399 + x400 =G= 0;

e613..  - 0.002*x332 - x400 + x401 =G= 0;

e614..  - 0.002*x333 - x401 + x402 =G= 0;

e615..  - 0.002*x334 - x402 + x403 =G= 0;

e616..  - 0.002*x257 - 0.002*x263 - 0.002*x299 - 0.002*x305 - 0.002*x335
        - 0.002*x341 - 0.002*x359 - 0.002*x365 - x397 + x398 =G= 0;

e617..  - 0.002*x258 - 0.002*x264 - 0.002*x300 - 0.002*x306 - 0.002*x336
        - 0.002*x342 - 0.002*x360 - 0.002*x366 - x398 + x399 =G= 0;

e618..  - 0.002*x259 - 0.002*x265 - 0.002*x301 - 0.002*x307 - 0.002*x337
        - 0.002*x343 - 0.002*x361 - 0.002*x367 - x399 + x400 =G= 0;

e619..  - 0.002*x260 - 0.002*x266 - 0.002*x302 - 0.002*x308 - 0.002*x338
        - 0.002*x344 - 0.002*x362 - 0.002*x368 - x400 + x401 =G= 0;

e620..  - 0.002*x261 - 0.002*x267 - 0.002*x303 - 0.002*x309 - 0.002*x339
        - 0.002*x345 - 0.002*x363 - 0.002*x369 - x401 + x402 =G= 0;

e621..  - 0.002*x262 - 0.002*x268 - 0.002*x304 - 0.002*x310 - 0.002*x340
        - 0.002*x346 - 0.002*x364 - 0.002*x370 - x402 + x403 =G= 0;

e622..  - 0.002*x251 - 0.002*x257 - 0.002*x293 - 0.002*x299 - 0.002*x335
        - 0.002*x353 - 0.002*x359 - x397 + x398 =G= 0;

e623..  - 0.002*x252 - 0.002*x258 - 0.002*x294 - 0.002*x300 - 0.002*x336
        - 0.002*x354 - 0.002*x360 - x398 + x399 =G= 0;

e624..  - 0.002*x253 - 0.002*x259 - 0.002*x295 - 0.002*x301 - 0.002*x337
        - 0.002*x355 - 0.002*x361 - x399 + x400 =G= 0;

e625..  - 0.002*x254 - 0.002*x260 - 0.002*x296 - 0.002*x302 - 0.002*x338
        - 0.002*x356 - 0.002*x362 - x400 + x401 =G= 0;

e626..  - 0.002*x255 - 0.002*x261 - 0.002*x297 - 0.002*x303 - 0.002*x339
        - 0.002*x357 - 0.002*x363 - x401 + x402 =G= 0;

e627..  - 0.002*x256 - 0.002*x262 - 0.002*x298 - 0.002*x304 - 0.002*x340
        - 0.002*x358 - 0.002*x364 - x402 + x403 =G= 0;

e628..  - 0.002*x263 - 0.002*x305 - 0.002*x311 - 0.002*x341 - 0.002*x347
        - 0.002*x365 - 0.002*x371 - x397 + x398 =G= 0;

e629..  - 0.002*x264 - 0.002*x306 - 0.002*x312 - 0.002*x342 - 0.002*x348
        - 0.002*x366 - 0.002*x372 - x398 + x399 =G= 0;

e630..  - 0.002*x265 - 0.002*x307 - 0.002*x313 - 0.002*x343 - 0.002*x349
        - 0.002*x367 - 0.002*x373 - x399 + x400 =G= 0;

e631..  - 0.002*x266 - 0.002*x308 - 0.002*x314 - 0.002*x344 - 0.002*x350
        - 0.002*x368 - 0.002*x374 - x400 + x401 =G= 0;

e632..  - 0.002*x267 - 0.002*x309 - 0.002*x315 - 0.002*x345 - 0.002*x351
        - 0.002*x369 - 0.002*x375 - x401 + x402 =G= 0;

e633..  - 0.002*x268 - 0.002*x310 - 0.002*x316 - 0.002*x346 - 0.002*x352
        - 0.002*x370 - 0.002*x376 - x402 + x403 =G= 0;

e634..  - 0.02*x251 - 0.02*x257 - 0.02*x293 - 0.02*x299 - 0.02*x335 - 0.02*x353
        - 0.02*x359 - x397 + x398 =L= 0;

e635..  - 0.02*x252 - 0.02*x258 - 0.02*x294 - 0.02*x300 - 0.02*x336 - 0.02*x354
        - 0.02*x360 - x398 + x399 =L= 0;

e636..  - 0.02*x253 - 0.02*x259 - 0.02*x295 - 0.02*x301 - 0.02*x337 - 0.02*x355
        - 0.02*x361 - x399 + x400 =L= 0;

e637..  - 0.02*x254 - 0.02*x260 - 0.02*x296 - 0.02*x302 - 0.02*x338 - 0.02*x356
        - 0.02*x362 - x400 + x401 =L= 0;

e638..  - 0.02*x255 - 0.02*x261 - 0.02*x297 - 0.02*x303 - 0.02*x339 - 0.02*x357
        - 0.02*x363 - x401 + x402 =L= 0;

e639..  - 0.02*x256 - 0.02*x262 - 0.02*x298 - 0.02*x304 - 0.02*x340 - 0.02*x358
        - 0.02*x364 - x402 + x403 =L= 0;

e640..  - 0.02*x263 - 0.02*x305 - 0.02*x311 - 0.02*x341 - 0.02*x347 - 0.02*x365
        - 0.02*x371 - x397 + x398 =L= 0;

e641..  - 0.02*x264 - 0.02*x306 - 0.02*x312 - 0.02*x342 - 0.02*x348 - 0.02*x366
        - 0.02*x372 - x398 + x399 =L= 0;

e642..  - 0.02*x265 - 0.02*x307 - 0.02*x313 - 0.02*x343 - 0.02*x349 - 0.02*x367
        - 0.02*x373 - x399 + x400 =L= 0;

e643..  - 0.02*x266 - 0.02*x308 - 0.02*x314 - 0.02*x344 - 0.02*x350 - 0.02*x368
        - 0.02*x374 - x400 + x401 =L= 0;

e644..  - 0.02*x267 - 0.02*x309 - 0.02*x315 - 0.02*x345 - 0.02*x351 - 0.02*x369
        - 0.02*x375 - x401 + x402 =L= 0;

e645..  - 0.02*x268 - 0.02*x310 - 0.02*x316 - 0.02*x346 - 0.02*x352 - 0.02*x370
        - 0.02*x376 - x402 + x403 =L= 0;

e646..    x397 =G= 0;

e647..  - 3*b87 + x398 =G= 0;

e648..  - 3*b89 - 6*b90 + x399 =G= 0;

e649..  - 3*b92 - 6*b93 + x400 =G= 0;

e650..  - 3*b94 - 6*b95 + x401 =G= 0;

e651..  - 6*b96 + x402 =G= 0;

e652..  - 2*b97 + x398 =G= 0;

e653..  - 2*b98 - 5*b99 + x399 =G= 0;

e654..  - 2*b100 - 5*b101 - 8*b102 + x400 =G= 0;

e655..  - 2*b103 - 5*b104 - 8*b105 + x401 =G= 0;

e656..  - 5*b106 - 8*b107 + x402 =G= 0;

e657..  - 8*b108 + x403 =G= 0;

e658..    b85 + 2*b86 + 3*b88 + 4*b91 - 2*b97 - 3*b98 - 4*b100 - 5*b103 =L= -1;

e659..    2*b87 + 3*b89 + 4*b92 + 5*b94 - 3*b99 - 4*b101 - 5*b104 - 6*b106
        =L= -1;

e660..    3*b90 + 4*b93 + 5*b95 + 6*b96 - 4*b102 - 5*b105 - 6*b107 - 7*b108
        =L= -1;

e661..  - 2*b87 - 3*b89 - 4*b92 - 5*b94 + 2*b97 + 3*b98 + 4*b100 + 5*b103 =L= 0
       ;

e662..  - 3*b90 - 4*b93 - 5*b95 - 6*b96 + 3*b99 + 4*b101 + 5*b104 + 6*b106
        =L= 0;

e663..    x119 + x120 =L= 5;

e664.. -x377*x136 + x252 =E= 0;

e665.. -x378*x137 + x253 =E= 0;

e666.. -x379*x138 + x254 =E= 0;

e667.. -x380*x139 + x255 =E= 0;

e668.. -x381*x140 + x256 =E= 0;

e669.. -x382*x143 + x258 =E= 0;

e670.. -x383*x144 + x259 =E= 0;

e671.. -x384*x145 + x260 =E= 0;

e672.. -x385*x146 + x261 =E= 0;

e673.. -x386*x147 + x262 =E= 0;

e674.. -x387*x143 + x264 =E= 0;

e675.. -x388*x144 + x265 =E= 0;

e676.. -x389*x145 + x266 =E= 0;

e677.. -x390*x146 + x267 =E= 0;

e678.. -x391*x147 + x268 =E= 0;

e679.. -x377*x164 + x294 =E= 0;

e680.. -x378*x165 + x295 =E= 0;

e681.. -x379*x166 + x296 =E= 0;

e682.. -x380*x167 + x297 =E= 0;

e683.. -x381*x168 + x298 =E= 0;

e684.. -x382*x171 + x300 =E= 0;

e685.. -x383*x172 + x301 =E= 0;

e686.. -x384*x173 + x302 =E= 0;

e687.. -x385*x174 + x303 =E= 0;

e688.. -x386*x175 + x304 =E= 0;

e689.. -x387*x171 + x306 =E= 0;

e690.. -x388*x172 + x307 =E= 0;

e691.. -x389*x173 + x308 =E= 0;

e692.. -x390*x174 + x309 =E= 0;

e693.. -x391*x175 + x310 =E= 0;

e694.. -x392*x178 + x312 =E= 0;

e695.. -x393*x179 + x313 =E= 0;

e696.. -x394*x180 + x314 =E= 0;

e697.. -x395*x181 + x315 =E= 0;

e698.. -x396*x182 + x316 =E= 0;

e699.. -x382*x199 + x336 =E= 0;

e700.. -x383*x200 + x337 =E= 0;

e701.. -x384*x201 + x338 =E= 0;

e702.. -x385*x202 + x339 =E= 0;

e703.. -x386*x203 + x340 =E= 0;

e704.. -x387*x199 + x342 =E= 0;

e705.. -x388*x200 + x343 =E= 0;

e706.. -x389*x201 + x344 =E= 0;

e707.. -x390*x202 + x345 =E= 0;

e708.. -x391*x203 + x346 =E= 0;

e709.. -x392*x206 + x348 =E= 0;

e710.. -x393*x207 + x349 =E= 0;

e711.. -x394*x208 + x350 =E= 0;

e712.. -x395*x209 + x351 =E= 0;

e713.. -x396*x210 + x352 =E= 0;

e714.. -x377*x213 + x354 =E= 0;

e715.. -x378*x214 + x355 =E= 0;

e716.. -x379*x215 + x356 =E= 0;

e717.. -x380*x216 + x357 =E= 0;

e718.. -x381*x217 + x358 =E= 0;

e719.. -x382*x220 + x360 =E= 0;

e720.. -x383*x221 + x361 =E= 0;

e721.. -x384*x222 + x362 =E= 0;

e722.. -x385*x223 + x363 =E= 0;

e723.. -x386*x224 + x364 =E= 0;

e724.. -x387*x220 + x366 =E= 0;

e725.. -x388*x221 + x367 =E= 0;

e726.. -x389*x222 + x368 =E= 0;

e727.. -x390*x223 + x369 =E= 0;

e728.. -x391*x224 + x370 =E= 0;

e729.. -x392*x227 + x372 =E= 0;

e730.. -x393*x228 + x373 =E= 0;

e731.. -x394*x229 + x374 =E= 0;

e732.. -x395*x230 + x375 =E= 0;

e733.. -x396*x231 + x376 =E= 0;

* set non-default bounds
x136.up = 1000;
x137.up = 1000;
x138.up = 1000;
x139.up = 1000;
x140.up = 1000;
x143.up = 1000;
x144.up = 1000;
x145.up = 1000;
x146.up = 1000;
x147.up = 1000;
x164.up = 1000;
x165.up = 1000;
x166.up = 1000;
x167.up = 1000;
x168.up = 1000;
x171.up = 1000;
x172.up = 1000;
x173.up = 1000;
x174.up = 1000;
x175.up = 1000;
x178.up = 1000;
x179.up = 1000;
x180.up = 1000;
x181.up = 1000;
x182.up = 1000;
x199.up = 1000;
x200.up = 1000;
x201.up = 1000;
x202.up = 1000;
x203.up = 1000;
x206.up = 1000;
x207.up = 1000;
x208.up = 1000;
x209.up = 1000;
x210.up = 1000;
x213.up = 300;
x214.up = 300;
x215.up = 300;
x216.up = 300;
x217.up = 300;
x220.up = 500;
x221.up = 500;
x222.up = 500;
x223.up = 500;
x224.up = 500;
x227.up = 300;
x228.up = 300;
x229.up = 300;
x230.up = 300;
x231.up = 300;
x377.up = 1;
x378.up = 1;
x379.up = 1;
x380.up = 1;
x381.up = 1;
x382.up = 1;
x383.up = 1;
x384.up = 1;
x385.up = 1;
x386.up = 1;
x387.up = 1;
x388.up = 1;
x389.up = 1;
x390.up = 1;
x391.up = 1;
x392.up = 1;
x393.up = 1;
x394.up = 1;
x395.up = 1;
x396.up = 1;
x397.fx = 0;
x403.fx = 10;

Model m / all /;

m.limrow=0; m.limcol=0;
m.tolproj=0.0;

$if NOT '%gams.u1%' == '' $include '%gams.u1%'

$if not set MINLP $set MINLP MINLP
Solve m using %MINLP% maximizing objvar;


Last updated: 2018-09-14 Git hash: ac5a5314
Imprint / Privacy Policy