MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance watertreatnd_flow

Flow Based Approach
Formats ams gms mod nl osil py
Primal Bounds (infeas ≤ 1e-08)
348337.04170000 p1 ( gdx sol )
(infeas: 5e-14)
Other points (infeas > 1e-08)  
Dual Bounds
348337.04130000 (ANTIGONE)
348337.04170000 (BARON)
348337.03580000 (COUENNE)
348337.04000000 (LINDO)
348337.03530000 (SCIP)
0.00000000 (SHOT)
References Ruiz, Juan and Grossmann, I E, Water Treatment Network Design, 2009.
Source flowbased.gms from minlp.org model 24
Application Water Network Design
Added to library 25 Sep 2013
Problem type MBNLP
#Variables 420
#Binary Variables 5
#Integer Variables 0
#Nonlinear Variables 60
#Nonlinear Binary Variables 0
#Nonlinear Integer Variables 0
Objective Sense min
Objective type linear
Objective curvature linear
#Nonzeros in Objective 5
#Nonlinear Nonzeros in Objective 0
#Constraints 379
#Linear Constraints 224
#Quadratic Constraints 150
#Polynomial Constraints 0
#Signomial Constraints 5
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature indefinite
#Nonzeros in Jacobian 1169
#Nonlinear Nonzeros in Jacobian 305
#Nonzeros in (Upper-Left) Hessian of Lagrangian 305
#Nonzeros in Diagonal of Hessian of Lagrangian 5
#Blocks in Hessian of Lagrangian 10
Minimal blocksize in Hessian of Lagrangian 1
Maximal blocksize in Hessian of Lagrangian 11
Average blocksize in Hessian of Lagrangian 6.0
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Minimal coefficient 5.0000e-02
Maximal coefficient 8.0000e+03
Infeasibility of initial point 1
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
*        380      366        5        9        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        421      416        5        0        0        0        0        0
*  FX      0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       1175      870      305        0
*
*  Solve m using MINLP minimizing objvar;


Variables  objvar,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18
          ,x19,x20,x21,x22,x23,x24,x25,x26,x27,x28,x29,x30,x31,x32,x33,x34,x35
          ,x36,x37,x38,x39,x40,x41,x42,x43,x44,x45,x46,x47,x48,x49,x50,x51,x52
          ,x53,x54,x55,x56,x57,x58,x59,x60,x61,x62,x63,x64,x65,x66,x67,x68,x69
          ,x70,x71,x72,x73,x74,x75,x76,x77,x78,x79,x80,x81,x82,x83,x84,x85,x86
          ,x87,x88,x89,x90,x91,x92,x93,x94,x95,x96,x97,x98,x99,x100,x101,x102
          ,x103,x104,x105,x106,x107,x108,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,x404,x405,x406,x407,x408,x409,x410,x411,x412,x413,x414
          ,x415,x416,b417,b418,b419,b420,b421;

Positive Variables  x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17
          ,x18,x19,x20,x21,x22,x23,x24,x25,x26,x27,x28,x29,x30,x31,x32,x33,x34
          ,x35,x36,x37,x38,x39,x40,x41,x42,x43,x44,x45,x46,x47,x48,x49,x50,x51
          ,x52,x53,x54,x55,x56,x57,x58,x59,x60,x61,x62,x63,x64,x65,x66,x67,x68
          ,x69,x70,x71,x72,x73,x74,x75,x76,x77,x78,x79,x80,x81,x82,x83,x84,x85
          ,x86,x87,x88,x89,x90,x91,x92,x93,x94,x95,x96,x97,x98,x99,x100,x101
          ,x102,x103,x104,x105,x106,x107,x108,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,x404,x405,x406,x407,x408,x409,x410,x411,x412,x413
          ,x414,x415,x416;

Binary Variables  b417,b418,b419,b420,b421;

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;


e1..    objvar - x2 - x3 - x4 - x5 - x6 =E= 0;

e2..  - x7 + x307 =E= 0;

e3..  - x8 + x308 =E= 0;

e4..  - x9 + x309 =E= 0;

e5..  - x10 + x310 =E= 0;

e6..  - x11 + x311 =E= 0;

e7..  - x12 + x312 =E= 0;

e8..  - x13 + x307 =E= 0;

e9..  - x14 + x308 =E= 0;

e10..  - x15 + x309 =E= 0;

e11..  - x16 + x310 =E= 0;

e12..  - x17 + x311 =E= 0;

e13..  - x18 + x312 =E= 0;

e14..  - x19 + x307 =E= 0;

e15..  - x20 + x308 =E= 0;

e16..  - x21 + x309 =E= 0;

e17..  - x22 + x310 =E= 0;

e18..  - x23 + x311 =E= 0;

e19..  - x24 + x312 =E= 0;

e20..  - x25 + x307 =E= 0;

e21..  - x26 + x308 =E= 0;

e22..  - x27 + x309 =E= 0;

e23..  - x28 + x310 =E= 0;

e24..  - x29 + x311 =E= 0;

e25..  - x30 + x312 =E= 0;

e26..  - x31 + 10*x307 =E= 0;

e27..  - x32 + 10*x308 =E= 0;

e28..  - x33 + 10*x309 =E= 0;

e29..  - x34 + 10*x310 =E= 0;

e30..  - x35 + 10*x311 =E= 0;

e31..  - x36 + 10*x312 =E= 0;

e32..  - x37 + 2*x313 =E= 0;

e33..  - x38 + 2*x314 =E= 0;

e34..  - x39 + 2*x315 =E= 0;

e35..  - x40 + 2*x316 =E= 0;

e36..  - x41 + 2*x317 =E= 0;

e37..  - x42 + 2*x318 =E= 0;

e38..  - x43 =E= 0;

e39..  - x44 =E= 0;

e40..  - x45 =E= 0;

e41..  - x46 =E= 0;

e42..  - x47 =E= 0;

e43..  - x48 =E= 0;

e44..  - x49 =E= 0;

e45..  - x50 =E= 0;

e46..  - x51 =E= 0;

e47..  - x52 =E= 0;

e48..  - x53 =E= 0;

e49..  - x54 =E= 0;

e50..  - x55 + x313 =E= 0;

e51..  - x56 + x314 =E= 0;

e52..  - x57 + x315 =E= 0;

e53..  - x58 + x316 =E= 0;

e54..  - x59 + x317 =E= 0;

e55..  - x60 + x318 =E= 0;

e56..  - x61 + 15*x313 =E= 0;

e57..  - x62 + 15*x314 =E= 0;

e58..  - x63 + 15*x315 =E= 0;

e59..  - x64 + 15*x316 =E= 0;

e60..  - x65 + 15*x317 =E= 0;

e61..  - x66 + 15*x318 =E= 0;

e62..  - x67 + x319 =E= 0;

e63..  - x68 + x320 =E= 0;

e64..  - x69 + x321 =E= 0;

e65..  - x70 + x322 =E= 0;

e66..  - x71 + x323 =E= 0;

e67..  - x72 + x324 =E= 0;

e68..  - x73 =E= 0;

e69..  - x74 =E= 0;

e70..  - x75 =E= 0;

e71..  - x76 =E= 0;

e72..  - x77 =E= 0;

e73..  - x78 =E= 0;

e74..  - x79 + x319 =E= 0;

e75..  - x80 + x320 =E= 0;

e76..  - x81 + x321 =E= 0;

e77..  - x82 + x322 =E= 0;

e78..  - x83 + x323 =E= 0;

e79..  - x84 + x324 =E= 0;

e80..  - x85 + 2*x319 =E= 0;

e81..  - x86 + 2*x320 =E= 0;

e82..  - x87 + 2*x321 =E= 0;

e83..  - x88 + 2*x322 =E= 0;

e84..  - x89 + 2*x323 =E= 0;

e85..  - x90 + 2*x324 =E= 0;

e86..  - x91 + 5*x319 =E= 0;

e87..  - x92 + 5*x320 =E= 0;

e88..  - x93 + 5*x321 =E= 0;

e89..  - x94 + 5*x322 =E= 0;

e90..  - x95 + 5*x323 =E= 0;

e91..  - x96 + 5*x324 =E= 0;

e92..  - x97 + 3*x325 =E= 0;

e93..  - x98 + 3*x326 =E= 0;

e94..  - x99 + 3*x327 =E= 0;

e95..  - x100 + 3*x328 =E= 0;

e96..  - x101 + 3*x329 =E= 0;

e97..  - x102 + 3*x330 =E= 0;

e98..  - x103 + x325 =E= 0;

e99..  - x104 + x326 =E= 0;

e100..  - x105 + x327 =E= 0;

e101..  - x106 + x328 =E= 0;

e102..  - x107 + x329 =E= 0;

e103..  - x108 + x330 =E= 0;

e104..  - x109 + x325 =E= 0;

e105..  - x110 + x326 =E= 0;

e106..  - x111 + x327 =E= 0;

e107..  - x112 + x328 =E= 0;

e108..  - x113 + x329 =E= 0;

e109..  - x114 + x330 =E= 0;

e110..  - x115 =E= 0;

e111..  - x116 =E= 0;

e112..  - x117 =E= 0;

e113..  - x118 =E= 0;

e114..  - x119 =E= 0;

e115..  - x120 =E= 0;

e116..  - x121 + 20*x325 =E= 0;

e117..  - x122 + 20*x326 =E= 0;

e118..  - x123 + 20*x327 =E= 0;

e119..  - x124 + 20*x328 =E= 0;

e120..  - x125 + 20*x329 =E= 0;

e121..  - x126 + 20*x330 =E= 0;

e122..  - x127 + 2*x331 =E= 0;

e123..  - x128 + 2*x332 =E= 0;

e124..  - x129 + 2*x333 =E= 0;

e125..  - x130 + 2*x334 =E= 0;

e126..  - x131 + 2*x335 =E= 0;

e127..  - x132 + 2*x336 =E= 0;

e128..  - x133 + 2*x331 =E= 0;

e129..  - x134 + 2*x332 =E= 0;

e130..  - x135 + 2*x333 =E= 0;

e131..  - x136 + 2*x334 =E= 0;

e132..  - x137 + 2*x335 =E= 0;

e133..  - x138 + 2*x336 =E= 0;

e134..  - x139 =E= 0;

e135..  - x140 =E= 0;

e136..  - x141 =E= 0;

e137..  - x142 =E= 0;

e138..  - x143 =E= 0;

e139..  - x144 =E= 0;

e140..  - x145 =E= 0;

e141..  - x146 =E= 0;

e142..  - x147 =E= 0;

e143..  - x148 =E= 0;

e144..  - x149 =E= 0;

e145..  - x150 =E= 0;

e146..  - x151 + 10*x331 =E= 0;

e147..  - x152 + 10*x332 =E= 0;

e148..  - x153 + 10*x333 =E= 0;

e149..  - x154 + 10*x334 =E= 0;

e150..  - x155 + 10*x335 =E= 0;

e151..  - x156 + 10*x336 =E= 0;

e152.. x337*x367 - x157 =E= 0;

e153.. x338*x367 - x158 =E= 0;

e154.. x339*x367 - x159 =E= 0;

e155.. x340*x367 - x160 =E= 0;

e156.. x341*x367 - x161 =E= 0;

e157.. x342*x367 - x162 =E= 0;

e158.. x337*x368 - x163 =E= 0;

e159.. x338*x368 - x164 =E= 0;

e160.. x339*x368 - x165 =E= 0;

e161.. x340*x368 - x166 =E= 0;

e162.. x341*x368 - x167 =E= 0;

e163.. x342*x368 - x168 =E= 0;

e164.. x337*x369 - x169 =E= 0;

e165.. x338*x369 - x170 =E= 0;

e166.. x339*x369 - x171 =E= 0;

e167.. x340*x369 - x172 =E= 0;

e168.. x341*x369 - x173 =E= 0;

e169.. x342*x369 - x174 =E= 0;

e170.. x337*x370 - x175 =E= 0;

e171.. x338*x370 - x176 =E= 0;

e172.. x339*x370 - x177 =E= 0;

e173.. x340*x370 - x178 =E= 0;

e174.. x341*x370 - x179 =E= 0;

e175.. x342*x370 - x180 =E= 0;

e176.. x337*x371 - x181 =E= 0;

e177.. x338*x371 - x182 =E= 0;

e178.. x339*x371 - x183 =E= 0;

e179.. x340*x371 - x184 =E= 0;

e180.. x341*x371 - x185 =E= 0;

e181.. x342*x371 - x186 =E= 0;

e182.. x343*x372 - x187 =E= 0;

e183.. x344*x372 - x188 =E= 0;

e184.. x345*x372 - x189 =E= 0;

e185.. x346*x372 - x190 =E= 0;

e186.. x347*x372 - x191 =E= 0;

e187.. x348*x372 - x192 =E= 0;

e188.. x343*x373 - x193 =E= 0;

e189.. x344*x373 - x194 =E= 0;

e190.. x345*x373 - x195 =E= 0;

e191.. x346*x373 - x196 =E= 0;

e192.. x347*x373 - x197 =E= 0;

e193.. x348*x373 - x198 =E= 0;

e194.. x343*x374 - x199 =E= 0;

e195.. x344*x374 - x200 =E= 0;

e196.. x345*x374 - x201 =E= 0;

e197.. x346*x374 - x202 =E= 0;

e198.. x347*x374 - x203 =E= 0;

e199.. x348*x374 - x204 =E= 0;

e200.. x343*x375 - x205 =E= 0;

e201.. x344*x375 - x206 =E= 0;

e202.. x345*x375 - x207 =E= 0;

e203.. x346*x375 - x208 =E= 0;

e204.. x347*x375 - x209 =E= 0;

e205.. x348*x375 - x210 =E= 0;

e206.. x343*x376 - x211 =E= 0;

e207.. x344*x376 - x212 =E= 0;

e208.. x345*x376 - x213 =E= 0;

e209.. x346*x376 - x214 =E= 0;

e210.. x347*x376 - x215 =E= 0;

e211.. x348*x376 - x216 =E= 0;

e212.. x349*x377 - x217 =E= 0;

e213.. x350*x377 - x218 =E= 0;

e214.. x351*x377 - x219 =E= 0;

e215.. x352*x377 - x220 =E= 0;

e216.. x353*x377 - x221 =E= 0;

e217.. x354*x377 - x222 =E= 0;

e218.. x349*x378 - x223 =E= 0;

e219.. x350*x378 - x224 =E= 0;

e220.. x351*x378 - x225 =E= 0;

e221.. x352*x378 - x226 =E= 0;

e222.. x353*x378 - x227 =E= 0;

e223.. x354*x378 - x228 =E= 0;

e224.. x349*x379 - x229 =E= 0;

e225.. x350*x379 - x230 =E= 0;

e226.. x351*x379 - x231 =E= 0;

e227.. x352*x379 - x232 =E= 0;

e228.. x353*x379 - x233 =E= 0;

e229.. x354*x379 - x234 =E= 0;

e230.. x349*x380 - x235 =E= 0;

e231.. x350*x380 - x236 =E= 0;

e232.. x351*x380 - x237 =E= 0;

e233.. x352*x380 - x238 =E= 0;

e234.. x353*x380 - x239 =E= 0;

e235.. x354*x380 - x240 =E= 0;

e236.. x349*x381 - x241 =E= 0;

e237.. x350*x381 - x242 =E= 0;

e238.. x351*x381 - x243 =E= 0;

e239.. x352*x381 - x244 =E= 0;

e240.. x353*x381 - x245 =E= 0;

e241.. x354*x381 - x246 =E= 0;

e242.. x355*x382 - x247 =E= 0;

e243.. x356*x382 - x248 =E= 0;

e244.. x357*x382 - x249 =E= 0;

e245.. x358*x382 - x250 =E= 0;

e246.. x359*x382 - x251 =E= 0;

e247.. x360*x382 - x252 =E= 0;

e248.. x355*x383 - x253 =E= 0;

e249.. x356*x383 - x254 =E= 0;

e250.. x357*x383 - x255 =E= 0;

e251.. x358*x383 - x256 =E= 0;

e252.. x359*x383 - x257 =E= 0;

e253.. x360*x383 - x258 =E= 0;

e254.. x355*x384 - x259 =E= 0;

e255.. x356*x384 - x260 =E= 0;

e256.. x357*x384 - x261 =E= 0;

e257.. x358*x384 - x262 =E= 0;

e258.. x359*x384 - x263 =E= 0;

e259.. x360*x384 - x264 =E= 0;

e260.. x355*x385 - x265 =E= 0;

e261.. x356*x385 - x266 =E= 0;

e262.. x357*x385 - x267 =E= 0;

e263.. x358*x385 - x268 =E= 0;

e264.. x359*x385 - x269 =E= 0;

e265.. x360*x385 - x270 =E= 0;

e266.. x355*x386 - x271 =E= 0;

e267.. x356*x386 - x272 =E= 0;

e268.. x357*x386 - x273 =E= 0;

e269.. x358*x386 - x274 =E= 0;

e270.. x359*x386 - x275 =E= 0;

e271.. x360*x386 - x276 =E= 0;

e272.. x361*x387 - x277 =E= 0;

e273.. x362*x387 - x278 =E= 0;

e274.. x363*x387 - x279 =E= 0;

e275.. x364*x387 - x280 =E= 0;

e276.. x365*x387 - x281 =E= 0;

e277.. x366*x387 - x282 =E= 0;

e278.. x361*x388 - x283 =E= 0;

e279.. x362*x388 - x284 =E= 0;

e280.. x363*x388 - x285 =E= 0;

e281.. x364*x388 - x286 =E= 0;

e282.. x365*x388 - x287 =E= 0;

e283.. x366*x388 - x288 =E= 0;

e284.. x361*x389 - x289 =E= 0;

e285.. x362*x389 - x290 =E= 0;

e286.. x363*x389 - x291 =E= 0;

e287.. x364*x389 - x292 =E= 0;

e288.. x365*x389 - x293 =E= 0;

e289.. x366*x389 - x294 =E= 0;

e290.. x361*x390 - x295 =E= 0;

e291.. x362*x390 - x296 =E= 0;

e292.. x363*x390 - x297 =E= 0;

e293.. x364*x390 - x298 =E= 0;

e294.. x365*x390 - x299 =E= 0;

e295.. x366*x390 - x300 =E= 0;

e296.. x361*x391 - x301 =E= 0;

e297.. x362*x391 - x302 =E= 0;

e298.. x363*x391 - x303 =E= 0;

e299.. x364*x391 - x304 =E= 0;

e300.. x365*x391 - x305 =E= 0;

e301.. x366*x391 - x306 =E= 0;

e302..    x307 + x308 + x309 + x310 + x311 + x312 =E= 1;

e303..    x313 + x314 + x315 + x316 + x317 + x318 =E= 1;

e304..    x319 + x320 + x321 + x322 + x323 + x324 =E= 1;

e305..    x325 + x326 + x327 + x328 + x329 + x330 =E= 1;

e306..    x331 + x332 + x333 + x334 + x335 + x336 =E= 1;

e307..    x337 + x338 + x339 + x340 + x341 + x342 =E= 1;

e308..    x343 + x344 + x345 + x346 + x347 + x348 =E= 1;

e309..    x349 + x350 + x351 + x352 + x353 + x354 =E= 1;

e310..    x355 + x356 + x357 + x358 + x359 + x360 =E= 1;

e311..    x361 + x362 + x363 + x364 + x365 + x366 =E= 1;

e312..    x7 + x37 + x67 + x97 + x127 + x157 + x187 + x217 + x247 + x277 - x392
        =E= 0;

e313..    x13 + x43 + x73 + x103 + x133 + x163 + x193 + x223 + x253 + x283
        - x393 =E= 0;

e314..    x19 + x49 + x79 + x109 + x139 + x169 + x199 + x229 + x259 + x289
        - x394 =E= 0;

e315..    x25 + x55 + x85 + x115 + x145 + x175 + x205 + x235 + x265 + x295
        - x395 =E= 0;

e316..    x31 + x61 + x91 + x121 + x151 + x181 + x211 + x241 + x271 + x301
        - x396 =E= 0;

e317..    x8 + x38 + x68 + x98 + x128 + x158 + x188 + x218 + x248 + x278 - x397
        =E= 0;

e318..    x14 + x44 + x74 + x104 + x134 + x164 + x194 + x224 + x254 + x284
        - x398 =E= 0;

e319..    x20 + x50 + x80 + x110 + x140 + x170 + x200 + x230 + x260 + x290
        - x399 =E= 0;

e320..    x26 + x56 + x86 + x116 + x146 + x176 + x206 + x236 + x266 + x296
        - x400 =E= 0;

e321..    x32 + x62 + x92 + x122 + x152 + x182 + x212 + x242 + x272 + x302
        - x401 =E= 0;

e322..    x9 + x39 + x69 + x99 + x129 + x159 + x189 + x219 + x249 + x279 - x402
        =E= 0;

e323..    x15 + x45 + x75 + x105 + x135 + x165 + x195 + x225 + x255 + x285
        - x403 =E= 0;

e324..    x21 + x51 + x81 + x111 + x141 + x171 + x201 + x231 + x261 + x291
        - x404 =E= 0;

e325..    x27 + x57 + x87 + x117 + x147 + x177 + x207 + x237 + x267 + x297
        - x405 =E= 0;

e326..    x33 + x63 + x93 + x123 + x153 + x183 + x213 + x243 + x273 + x303
        - x406 =E= 0;

e327..    x10 + x40 + x70 + x100 + x130 + x160 + x190 + x220 + x250 + x280
        - x407 =E= 0;

e328..    x16 + x46 + x76 + x106 + x136 + x166 + x196 + x226 + x256 + x286
        - x408 =E= 0;

e329..    x22 + x52 + x82 + x112 + x142 + x172 + x202 + x232 + x262 + x292
        - x409 =E= 0;

e330..    x28 + x58 + x88 + x118 + x148 + x178 + x208 + x238 + x268 + x298
        - x410 =E= 0;

e331..    x34 + x64 + x94 + x124 + x154 + x184 + x214 + x244 + x274 + x304
        - x411 =E= 0;

e332..    x11 + x41 + x71 + x101 + x131 + x161 + x191 + x221 + x251 + x281
        - x412 =E= 0;

e333..    x17 + x47 + x77 + x107 + x137 + x167 + x197 + x227 + x257 + x287
        - x413 =E= 0;

e334..    x23 + x53 + x83 + x113 + x143 + x173 + x203 + x233 + x263 + x293
        - x414 =E= 0;

e335..    x29 + x59 + x89 + x119 + x149 + x179 + x209 + x239 + x269 + x299
        - x415 =E= 0;

e336..    x35 + x65 + x95 + x125 + x155 + x185 + x215 + x245 + x275 + x305
        - x416 =E= 0;

e337..    x367 - 0.05*x392 =E= 0;

e338..    x372 - 0.2*x397 =E= 0;

e339..    x377 - x402 =E= 0;

e340..    x382 - x407 =E= 0;

e341..    x387 - x412 =E= 0;

e342..    x368 - 0.05*x393 =E= 0;

e343..    x373 - 0.2*x398 =E= 0;

e344..    x378 - 0.4*x403 =E= 0;

e345..    x383 - 0.4*x408 =E= 0;

e346..    x388 - 0.4*x413 =E= 0;

e347..    x369 - 0.4*x394 =E= 0;

e348..    x374 - 0.4*x399 =E= 0;

e349..    x379 - 0.05*x404 =E= 0;

e350..    x384 - 0.2*x409 =E= 0;

e351..    x389 - 0.15*x414 =E= 0;

e352..    x370 - x395 =E= 0;

e353..    x375 - x400 =E= 0;

e354..    x380 - 0.05*x405 =E= 0;

e355..    x385 - 0.15*x410 =E= 0;

e356..    x390 - 0.2*x415 =E= 0;

e357..    x371 - x396 =E= 0;

e358..    x376 - x401 =E= 0;

e359..    x381 - x406 =E= 0;

e360..    x386 - x411 =E= 0;

e361..    x391 - x416 =E= 0;

e362..    x12 + x42 + x72 + x102 + x132 + x162 + x192 + x222 + x252 + x282
        =L= 3;

e363..    x18 + x48 + x78 + x108 + x138 + x168 + x198 + x228 + x258 + x288
        =L= 3;

e364..    x24 + x54 + x84 + x114 + x144 + x174 + x204 + x234 + x264 + x294
        =L= 3;

e365..    x30 + x60 + x90 + x120 + x150 + x180 + x210 + x240 + x270 + x300
        =L= 3;

e366..    x396 - 5*b417 =G= 0;

e367..    x401 - 3*b418 =G= 0;

e368..    x406 - 4*b419 =G= 0;

e369..    x411 - 3*b420 =G= 0;

e370..    x416 - b421 =G= 0;

e371.. -(1500*x396**0.7 + 8000*x396) + x2 =E= 0;

e372.. -(1000*x401**0.7 + 8000*x401) + x3 =E= 0;

e373.. -(4000*x406**0.7 + 8000*x406) + x4 =E= 0;

e374.. -(3000*x411**0.7 + 8000*x411) + x5 =E= 0;

e375.. -(3000*x416**0.7 + 8000*x416) + x6 =E= 0;

e376..    x396 - 40*b417 =L= 0;

e377..    x401 - 40*b418 =L= 0;

e378..    x406 - 40*b419 =L= 0;

e379..    x411 - 40*b420 =L= 0;

e380..    x416 - 40*b421 =L= 0;

* set non-default bounds
x307.up = 1;
x308.up = 1;
x309.up = 1;
x310.up = 1;
x311.up = 1;
x312.up = 1;
x313.up = 1;
x314.up = 1;
x315.up = 1;
x316.up = 1;
x317.up = 1;
x318.up = 1;
x319.up = 1;
x320.up = 1;
x321.up = 1;
x322.up = 1;
x323.up = 1;
x324.up = 1;
x325.up = 1;
x326.up = 1;
x327.up = 1;
x328.up = 1;
x329.up = 1;
x330.up = 1;
x331.up = 1;
x332.up = 1;
x333.up = 1;
x334.up = 1;
x335.up = 1;
x336.up = 1;
x337.up = 1;
x338.up = 1;
x339.up = 1;
x340.up = 1;
x341.up = 1;
x342.up = 1;
x343.up = 1;
x344.up = 1;
x345.up = 1;
x346.up = 1;
x347.up = 1;
x348.up = 1;
x349.up = 1;
x350.up = 1;
x351.up = 1;
x352.up = 1;
x353.up = 1;
x354.up = 1;
x355.up = 1;
x356.up = 1;
x357.up = 1;
x358.up = 1;
x359.up = 1;
x360.up = 1;
x361.up = 1;
x362.up = 1;
x363.up = 1;
x364.up = 1;
x365.up = 1;
x366.up = 1;
x367.up = 10;
x368.up = 10;
x369.up = 10;
x370.up = 10;
x371.up = 40;
x372.up = 10;
x373.up = 10;
x374.up = 10;
x375.up = 10;
x376.up = 40;
x377.up = 10;
x378.up = 10;
x379.up = 10;
x380.up = 10;
x381.up = 40;
x382.up = 10;
x383.up = 10;
x384.up = 10;
x385.up = 10;
x386.up = 40;
x387.up = 10;
x388.up = 10;
x389.up = 10;
x390.up = 10;
x391.up = 40;
x392.up = 10;
x393.up = 10;
x394.up = 10;
x395.up = 10;
x396.up = 40;
x397.up = 10;
x398.up = 10;
x399.up = 10;
x400.up = 10;
x401.up = 40;
x402.up = 10;
x403.up = 10;
x404.up = 10;
x405.up = 10;
x406.up = 40;
x407.up = 10;
x408.up = 10;
x409.up = 10;
x410.up = 10;
x411.up = 40;
x412.up = 10;
x413.up = 10;
x414.up = 10;
x415.up = 10;
x416.up = 40;

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% minimizing objvar;


Last updated: 2024-12-17 Git hash: 8eaceb91
Imprint / Privacy Policy / License: CC-BY 4.0