MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance watertreatnd_conc

Concentration Based Approach
Formats ams gms mod nl osil py
Primal Bounds (infeas ≤ 1e-08)
348336.76140000 p1 ( gdx sol )
(infeas: 4e-10)
Other points (infeas > 1e-08)  
Dual Bounds
348336.76140000 (ANTIGONE)
348336.76140000 (BARON)
348336.76140000 (COUENNE)
348336.76140000 (LINDO)
348336.75910000 (SCIP)
0.00000000 (SHOT)
References Ruiz, Juan and Grossmann, I E, Water Treatment Network Design, 2009.
Source concbased.gms from minlp.org model 24
Application Water Network Design
Added to library 25 Sep 2013
Problem type MBNLP
#Variables 360
#Binary Variables 5
#Integer Variables 0
#Nonlinear Variables 325
#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 319
#Linear Constraints 290
#Quadratic Constraints 24
#Polynomial Constraints 0
#Signomial Constraints 5
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature indefinite
#Nonzeros in Jacobian 1080
#Nonlinear Nonzeros in Jacobian 525
#Nonzeros in (Upper-Left) Hessian of Lagrangian 525
#Nonzeros in Diagonal of Hessian of Lagrangian 5
#Blocks in Hessian of Lagrangian 65
Minimal blocksize in Hessian of Lagrangian 5
Maximal blocksize in Hessian of Lagrangian 5
Average blocksize in Hessian of Lagrangian 5.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 20
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
*        320      306        5        9        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        361      356        5        0        0        0        0        0
*  FX      0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       1086      561      525        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,b357,b358,b359,b360,b361;

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;

Binary Variables  b357,b358,b359,b360,b361;

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;


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

e2..  - x247 - x248 - x249 - x250 - x251 - x252 =E= -10;

e3..  - x253 - x254 - x255 - x256 - x257 - x258 =E= -15;

e4..  - x259 - x260 - x261 - x262 - x263 - x264 =E= -5;

e5..  - x265 - x266 - x267 - x268 - x269 - x270 =E= -20;

e6..  - x271 - x272 - x273 - x274 - x275 - x276 =E= -10;

e7..  - x7 =E= -1;

e8..  - x8 =E= -1;

e9..  - x9 =E= -1;

e10..  - x10 =E= -1;

e11..  - x11 =E= -1;

e12..  - x12 =E= -1;

e13..  - x13 =E= -1;

e14..  - x14 =E= -1;

e15..  - x15 =E= -1;

e16..  - x16 =E= -1;

e17..  - x17 =E= -1;

e18..  - x18 =E= -1;

e19..  - x19 =E= -1;

e20..  - x20 =E= -1;

e21..  - x21 =E= -1;

e22..  - x22 =E= -1;

e23..  - x23 =E= -1;

e24..  - x24 =E= -1;

e25..  - x25 =E= -1;

e26..  - x26 =E= -1;

e27..  - x27 =E= -1;

e28..  - x28 =E= -1;

e29..  - x29 =E= -1;

e30..  - x30 =E= -1;

e31..  - x31 =E= -1.33333;

e32..  - x32 =E= -1.33333;

e33..  - x33 =E= -1.33333;

e34..  - x34 =E= -1.33333;

e35..  - x35 =E= -1.33333;

e36..  - x36 =E= -1.33333;

e37..  - x37 =E= 0;

e38..  - x38 =E= 0;

e39..  - x39 =E= 0;

e40..  - x40 =E= 0;

e41..  - x41 =E= 0;

e42..  - x42 =E= 0;

e43..  - x43 =E= 0;

e44..  - x44 =E= 0;

e45..  - x45 =E= 0;

e46..  - x46 =E= 0;

e47..  - x47 =E= 0;

e48..  - x48 =E= 0;

e49..  - x49 =E= -0.66666;

e50..  - x50 =E= -0.66666;

e51..  - x51 =E= -0.66666;

e52..  - x52 =E= -0.66666;

e53..  - x53 =E= -0.66666;

e54..  - x54 =E= -0.66666;

e55..  - x55 =E= -2;

e56..  - x56 =E= -2;

e57..  - x57 =E= -2;

e58..  - x58 =E= -2;

e59..  - x59 =E= -2;

e60..  - x60 =E= -2;

e61..  - x61 =E= -2;

e62..  - x62 =E= -2;

e63..  - x63 =E= -2;

e64..  - x64 =E= -2;

e65..  - x65 =E= -2;

e66..  - x66 =E= -2;

e67..  - x67 =E= 0;

e68..  - x68 =E= 0;

e69..  - x69 =E= 0;

e70..  - x70 =E= 0;

e71..  - x71 =E= 0;

e72..  - x72 =E= 0;

e73..  - x73 =E= -4;

e74..  - x74 =E= -4;

e75..  - x75 =E= -4;

e76..  - x76 =E= -4;

e77..  - x77 =E= -4;

e78..  - x78 =E= -4;

e79..  - x79 =E= -1.5;

e80..  - x80 =E= -1.5;

e81..  - x81 =E= -1.5;

e82..  - x82 =E= -1.5;

e83..  - x83 =E= -1.5;

e84..  - x84 =E= -1.5;

e85..  - x85 =E= -0.5;

e86..  - x86 =E= -0.5;

e87..  - x87 =E= -0.5;

e88..  - x88 =E= -0.5;

e89..  - x89 =E= -0.5;

e90..  - x90 =E= -0.5;

e91..  - x91 =E= -0.5;

e92..  - x92 =E= -0.5;

e93..  - x93 =E= -0.5;

e94..  - x94 =E= -0.5;

e95..  - x95 =E= -0.5;

e96..  - x96 =E= -0.5;

e97..  - x97 =E= 0;

e98..  - x98 =E= 0;

e99..  - x99 =E= 0;

e100..  - x100 =E= 0;

e101..  - x101 =E= 0;

e102..  - x102 =E= 0;

e103..  - x103 =E= -2;

e104..  - x104 =E= -2;

e105..  - x105 =E= -2;

e106..  - x106 =E= -2;

e107..  - x107 =E= -2;

e108..  - x108 =E= -2;

e109..  - x109 =E= -2;

e110..  - x110 =E= -2;

e111..  - x111 =E= -2;

e112..  - x112 =E= -2;

e113..  - x113 =E= -2;

e114..  - x114 =E= -2;

e115..  - x115 =E= 0;

e116..  - x116 =E= 0;

e117..  - x117 =E= 0;

e118..  - x118 =E= 0;

e119..  - x119 =E= 0;

e120..  - x120 =E= 0;

e121..  - x121 =E= 0;

e122..  - x122 =E= 0;

e123..  - x123 =E= 0;

e124..  - x124 =E= 0;

e125..  - x125 =E= 0;

e126..  - x126 =E= 0;

e127..  - x277 - x278 - x279 - x280 - x281 - x282 + x307 =E= 0;

e128..  - x283 - x284 - x285 - x286 - x287 - x288 + x308 =E= 0;

e129..  - x289 - x290 - x291 - x292 - x293 - x294 + x309 =E= 0;

e130..  - x295 - x296 - x297 - x298 - x299 - x300 + x310 =E= 0;

e131..  - x301 - x302 - x303 - x304 - x305 - x306 + x311 =E= 0;

e132..  - x127 + x312 =E= 0;

e133..  - x128 + x312 =E= 0;

e134..  - x129 + x312 =E= 0;

e135..  - x130 + x312 =E= 0;

e136..  - x131 + x312 =E= 0;

e137..  - x132 + x312 =E= 0;

e138..  - x133 + x313 =E= 0;

e139..  - x134 + x313 =E= 0;

e140..  - x135 + x313 =E= 0;

e141..  - x136 + x313 =E= 0;

e142..  - x137 + x313 =E= 0;

e143..  - x138 + x313 =E= 0;

e144..  - x139 + x314 =E= 0;

e145..  - x140 + x314 =E= 0;

e146..  - x141 + x314 =E= 0;

e147..  - x142 + x314 =E= 0;

e148..  - x143 + x314 =E= 0;

e149..  - x144 + x314 =E= 0;

e150..  - x145 + x315 =E= 0;

e151..  - x146 + x315 =E= 0;

e152..  - x147 + x315 =E= 0;

e153..  - x148 + x315 =E= 0;

e154..  - x149 + x315 =E= 0;

e155..  - x150 + x315 =E= 0;

e156..  - x151 + x316 =E= 0;

e157..  - x152 + x316 =E= 0;

e158..  - x153 + x316 =E= 0;

e159..  - x154 + x316 =E= 0;

e160..  - x155 + x316 =E= 0;

e161..  - x156 + x316 =E= 0;

e162..  - x157 + x317 =E= 0;

e163..  - x158 + x317 =E= 0;

e164..  - x159 + x317 =E= 0;

e165..  - x160 + x317 =E= 0;

e166..  - x161 + x317 =E= 0;

e167..  - x162 + x317 =E= 0;

e168..  - x163 + x318 =E= 0;

e169..  - x164 + x318 =E= 0;

e170..  - x165 + x318 =E= 0;

e171..  - x166 + x318 =E= 0;

e172..  - x167 + x318 =E= 0;

e173..  - x168 + x318 =E= 0;

e174..  - x169 + x319 =E= 0;

e175..  - x170 + x319 =E= 0;

e176..  - x171 + x319 =E= 0;

e177..  - x172 + x319 =E= 0;

e178..  - x173 + x319 =E= 0;

e179..  - x174 + x319 =E= 0;

e180..  - x175 + x320 =E= 0;

e181..  - x176 + x320 =E= 0;

e182..  - x177 + x320 =E= 0;

e183..  - x178 + x320 =E= 0;

e184..  - x179 + x320 =E= 0;

e185..  - x180 + x320 =E= 0;

e186..  - x181 + x321 =E= 0;

e187..  - x182 + x321 =E= 0;

e188..  - x183 + x321 =E= 0;

e189..  - x184 + x321 =E= 0;

e190..  - x185 + x321 =E= 0;

e191..  - x186 + x321 =E= 0;

e192..  - x187 + x322 =E= 0;

e193..  - x188 + x322 =E= 0;

e194..  - x189 + x322 =E= 0;

e195..  - x190 + x322 =E= 0;

e196..  - x191 + x322 =E= 0;

e197..  - x192 + x322 =E= 0;

e198..  - x193 + x323 =E= 0;

e199..  - x194 + x323 =E= 0;

e200..  - x195 + x323 =E= 0;

e201..  - x196 + x323 =E= 0;

e202..  - x197 + x323 =E= 0;

e203..  - x198 + x323 =E= 0;

e204..  - x199 + x324 =E= 0;

e205..  - x200 + x324 =E= 0;

e206..  - x201 + x324 =E= 0;

e207..  - x202 + x324 =E= 0;

e208..  - x203 + x324 =E= 0;

e209..  - x204 + x324 =E= 0;

e210..  - x205 + x325 =E= 0;

e211..  - x206 + x325 =E= 0;

e212..  - x207 + x325 =E= 0;

e213..  - x208 + x325 =E= 0;

e214..  - x209 + x325 =E= 0;

e215..  - x210 + x325 =E= 0;

e216..  - x211 + x326 =E= 0;

e217..  - x212 + x326 =E= 0;

e218..  - x213 + x326 =E= 0;

e219..  - x214 + x326 =E= 0;

e220..  - x215 + x326 =E= 0;

e221..  - x216 + x326 =E= 0;

e222..  - x217 + x327 =E= 0;

e223..  - x218 + x327 =E= 0;

e224..  - x219 + x327 =E= 0;

e225..  - x220 + x327 =E= 0;

e226..  - x221 + x327 =E= 0;

e227..  - x222 + x327 =E= 0;

e228..  - x223 + x328 =E= 0;

e229..  - x224 + x328 =E= 0;

e230..  - x225 + x328 =E= 0;

e231..  - x226 + x328 =E= 0;

e232..  - x227 + x328 =E= 0;

e233..  - x228 + x328 =E= 0;

e234..  - x229 + x329 =E= 0;

e235..  - x230 + x329 =E= 0;

e236..  - x231 + x329 =E= 0;

e237..  - x232 + x329 =E= 0;

e238..  - x233 + x329 =E= 0;

e239..  - x234 + x329 =E= 0;

e240..  - x235 + x330 =E= 0;

e241..  - x236 + x330 =E= 0;

e242..  - x237 + x330 =E= 0;

e243..  - x238 + x330 =E= 0;

e244..  - x239 + x330 =E= 0;

e245..  - x240 + x330 =E= 0;

e246..  - x241 + x331 =E= 0;

e247..  - x242 + x331 =E= 0;

e248..  - x243 + x331 =E= 0;

e249..  - x244 + x331 =E= 0;

e250..  - x245 + x331 =E= 0;

e251..  - x246 + x331 =E= 0;

e252.. x247*x7 + x253*x31 + x259*x55 + x265*x79 + x271*x103 + x277*x127 + x283*
       x151 + x289*x175 + x295*x199 + x301*x223 - x332*x337 =E= 0;

e253.. x248*x8 + x254*x32 + x260*x56 + x266*x80 + x272*x104 + x278*x128 + x284*
       x152 + x290*x176 + x296*x200 + x302*x224 - x333*x341 =E= 0;

e254.. x249*x9 + x255*x33 + x261*x57 + x267*x81 + x273*x105 + x279*x129 + x285*
       x153 + x291*x177 + x297*x201 + x303*x225 - x334*x345 =E= 0;

e255.. x250*x10 + x256*x34 + x262*x58 + x268*x82 + x274*x106 + x280*x130 + x286
       *x154 + x292*x178 + x298*x202 + x304*x226 - x335*x349 =E= 0;

e256.. x251*x11 + x257*x35 + x263*x59 + x269*x83 + x275*x107 + x281*x131 + x287
       *x155 + x293*x179 + x299*x203 + x305*x227 - x336*x353 =E= 0;

e257.. x247*x13 + x253*x37 + x259*x61 + x265*x85 + x271*x109 + x277*x133 + x283
       *x157 + x289*x181 + x295*x205 + x301*x229 - x332*x338 =E= 0;

e258.. x248*x14 + x254*x38 + x260*x62 + x266*x86 + x272*x110 + x278*x134 + x284
       *x158 + x290*x182 + x296*x206 + x302*x230 - x333*x342 =E= 0;

e259.. x249*x15 + x255*x39 + x261*x63 + x267*x87 + x273*x111 + x279*x135 + x285
       *x159 + x291*x183 + x297*x207 + x303*x231 - x334*x346 =E= 0;

e260.. x250*x16 + x256*x40 + x262*x64 + x268*x88 + x274*x112 + x280*x136 + x286
       *x160 + x292*x184 + x298*x208 + x304*x232 - x335*x350 =E= 0;

e261.. x251*x17 + x257*x41 + x263*x65 + x269*x89 + x275*x113 + x281*x137 + x287
       *x161 + x293*x185 + x299*x209 + x305*x233 - x336*x354 =E= 0;

e262.. x247*x19 + x253*x43 + x259*x67 + x265*x91 + x271*x115 + x277*x139 + x283
       *x163 + x289*x187 + x295*x211 + x301*x235 - x332*x339 =E= 0;

e263.. x248*x20 + x254*x44 + x260*x68 + x266*x92 + x272*x116 + x278*x140 + x284
       *x164 + x290*x188 + x296*x212 + x302*x236 - x333*x343 =E= 0;

e264.. x249*x21 + x255*x45 + x261*x69 + x267*x93 + x273*x117 + x279*x141 + x285
       *x165 + x291*x189 + x297*x213 + x303*x237 - x334*x347 =E= 0;

e265.. x250*x22 + x256*x46 + x262*x70 + x268*x94 + x274*x118 + x280*x142 + x286
       *x166 + x292*x190 + x298*x214 + x304*x238 - x335*x351 =E= 0;

e266.. x251*x23 + x257*x47 + x263*x71 + x269*x95 + x275*x119 + x281*x143 + x287
       *x167 + x293*x191 + x299*x215 + x305*x239 - x336*x355 =E= 0;

e267.. x247*x25 + x253*x49 + x259*x73 + x265*x97 + x271*x121 + x277*x145 + x283
       *x169 + x289*x193 + x295*x217 + x301*x241 - x332*x340 =E= 0;

e268.. x248*x26 + x254*x50 + x260*x74 + x266*x98 + x272*x122 + x278*x146 + x284
       *x170 + x290*x194 + x296*x218 + x302*x242 - x333*x344 =E= 0;

e269.. x249*x27 + x255*x51 + x261*x75 + x267*x99 + x273*x123 + x279*x147 + x285
       *x171 + x291*x195 + x297*x219 + x303*x243 - x334*x348 =E= 0;

e270.. x250*x28 + x256*x52 + x262*x76 + x268*x100 + x274*x124 + x280*x148 + 
       x286*x172 + x292*x196 + x298*x220 + x304*x244 - x335*x352 =E= 0;

e271.. x251*x29 + x257*x53 + x263*x77 + x269*x101 + x275*x125 + x281*x149 + 
       x287*x173 + x293*x197 + x299*x221 + x305*x245 - x336*x356 =E= 0;

e272..    x247 + x253 + x259 + x265 + x271 + x277 + x283 + x289 + x295 + x301
        - x332 =E= 0;

e273..    x248 + x254 + x260 + x266 + x272 + x278 + x284 + x290 + x296 + x302
        - x333 =E= 0;

e274..    x249 + x255 + x261 + x267 + x273 + x279 + x285 + x291 + x297 + x303
        - x334 =E= 0;

e275..    x250 + x256 + x262 + x268 + x274 + x280 + x286 + x292 + x298 + x304
        - x335 =E= 0;

e276..    x251 + x257 + x263 + x269 + x275 + x281 + x287 + x293 + x299 + x305
        - x336 =E= 0;

e277..    x312 - 0.05*x337 =E= 0;

e278..    x316 - 0.2*x341 =E= 0;

e279..    x320 - x345 =E= 0;

e280..    x324 - x349 =E= 0;

e281..    x328 - x353 =E= 0;

e282..    x313 - 0.05*x338 =E= 0;

e283..    x317 - 0.2*x342 =E= 0;

e284..    x321 - 0.4*x346 =E= 0;

e285..    x325 - 0.4*x350 =E= 0;

e286..    x329 - 0.4*x354 =E= 0;

e287..    x314 - 0.4*x339 =E= 0;

e288..    x318 - 0.4*x343 =E= 0;

e289..    x322 - 0.05*x347 =E= 0;

e290..    x326 - 0.2*x351 =E= 0;

e291..    x330 - 0.15*x355 =E= 0;

e292..    x315 - x340 =E= 0;

e293..    x319 - x344 =E= 0;

e294..    x323 - 0.05*x348 =E= 0;

e295..    x327 - 0.15*x352 =E= 0;

e296..    x331 - 0.2*x356 =E= 0;

e297..    x307 - x332 =E= 0;

e298..    x308 - x333 =E= 0;

e299..    x309 - x334 =E= 0;

e300..    x310 - x335 =E= 0;

e301..    x311 - x336 =E= 0;

e302.. x252*x12 + x258*x36 + x264*x60 + x270*x84 + x276*x108 + x282*x132 + x288
       *x156 + x294*x180 + x300*x204 + x306*x228 =L= 30;

e303.. x252*x18 + x258*x42 + x264*x66 + x270*x90 + x276*x114 + x282*x138 + x288
       *x162 + x294*x186 + x300*x210 + x306*x234 =L= 30;

e304.. x252*x24 + x258*x48 + x264*x72 + x270*x96 + x276*x120 + x282*x144 + x288
       *x168 + x294*x192 + x300*x216 + x306*x240 =L= 30;

e305.. x252*x30 + x258*x54 + x264*x78 + x270*x102 + x276*x126 + x282*x150 + 
       x288*x174 + x294*x198 + x300*x222 + x306*x246 =L= 30;

e306..    x332 - 5*b357 =G= 0;

e307..    x333 - 3*b358 =G= 0;

e308..    x334 - 4*b359 =G= 0;

e309..    x335 - 3*b360 =G= 0;

e310..    x336 - b361 =G= 0;

e311.. -(1500*x332**0.7 + 8000*x332) + x2 =E= 0;

e312.. -(1000*x333**0.7 + 8000*x333) + x3 =E= 0;

e313.. -(4000*x334**0.7 + 8000*x334) + x4 =E= 0;

e314.. -(3000*x335**0.7 + 8000*x335) + x5 =E= 0;

e315.. -(3000*x336**0.7 + 8000*x336) + x6 =E= 0;

e316..    x332 - 100*b357 =L= 0;

e317..    x333 - 100*b358 =L= 0;

e318..    x334 - 100*b359 =L= 0;

e319..    x335 - 100*b360 =L= 0;

e320..    x336 - 100*b361 =L= 0;

* set non-default bounds
x307.up = 100;
x308.up = 100;
x309.up = 100;
x310.up = 100;
x311.up = 100;
x312.up = 100;
x313.up = 100;
x314.up = 100;
x315.up = 100;
x316.up = 100;
x317.up = 100;
x318.up = 100;
x319.up = 100;
x320.up = 100;
x321.up = 100;
x322.up = 100;
x323.up = 100;
x324.up = 100;
x325.up = 100;
x326.up = 100;
x327.up = 100;
x328.up = 100;
x329.up = 100;
x330.up = 100;
x331.up = 100;
x332.up = 100;
x333.up = 100;
x334.up = 100;
x335.up = 100;
x336.up = 100;
x337.up = 4;
x338.up = 4;
x339.up = 4;
x340.up = 4;
x341.up = 4;
x342.up = 4;
x343.up = 4;
x344.up = 4;
x345.up = 4;
x346.up = 4;
x347.up = 4;
x348.up = 4;
x349.up = 4;
x350.up = 4;
x351.up = 4;
x352.up = 4;
x353.up = 4;
x354.up = 4;
x355.up = 4;
x356.up = 4;

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: 2022-08-11 Git hash: f176bd52
Imprint / Privacy Policy / License: CC-BY 4.0