MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance multiplants_mtg1a

Formats ams gms mod nl osil pip py
Primal Bounds (infeas ≤ 1e-08)
391.61336840 p1 ( gdx sol )
(infeas: 1e-11)
Other points (infeas > 1e-08)  
Dual Bounds
431.56221550 (ANTIGONE)
391.61336880 (BARON)
391.65204110 (COUENNE)
408.28650230 (LINDO)
391.61336850 (SCIP)
References Castro, Pedro M and Novais, Augusto Q, Periodic Scheduling of Continuous Multiproduct Plants, 2009.
Source MTG_EX1a.gms from minlp.org model 34
Application Periodic Scheduling of Continuous Multiproduct Plants
Added to library 24 Sep 2013
Problem type MBNLP
#Variables 194
#Binary Variables 93
#Integer Variables 0
#Nonlinear Variables 26
#Nonlinear Binary Variables 0
#Nonlinear Integer Variables 0
Objective Sense max
Objective type linear
Objective curvature linear
#Nonzeros in Objective 1
#Nonlinear Nonzeros in Objective 0
#Constraints 257
#Linear Constraints 229
#Quadratic Constraints 27
#Polynomial Constraints 1
#Signomial Constraints 0
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature indefinite
#Nonzeros in Jacobian 1973
#Nonlinear Nonzeros in Jacobian 95
#Nonzeros in (Upper-Left) Hessian of Lagrangian 78
#Nonzeros in Diagonal of Hessian of Lagrangian 4
#Blocks in Hessian of Lagrangian 1
Minimal blocksize in Hessian of Lagrangian 26
Maximal blocksize in Hessian of Lagrangian 26
Average blocksize in Hessian of Lagrangian 26.0
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Minimal coefficient 8.3333e-04
Maximal coefficient 3.0000e+05
Infeasibility of initial point 2.5e+04
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
*        257       62       96       99        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        194      101       93        0        0        0        0        0
*  FX      1
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       1973     1878       95        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,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,objvar;

Positive Variables  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,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,x184,x185,x186,x187,x188
          ,x189;

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;

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;


e1.. objvar*x193 + 0.00203*(x190**2*(x185 - x181) + (x193 - x190)**2*x181) + 
     0.00203*(x191**2*(x187 - x182) + (x193 - x191)**2*x182) + 0.00203*(x192**2
     *(x189 - x183) + (x193 - x192)**2*x183) + 3800*b4 + 3800*b5 + 3800*b6
      + 6080*b7 + 6080*b8 + 6080*b9 + 7500*b10 + 7500*b11 + 7500*b12 + 2250*b16
      + 2250*b17 + 2250*b18 + 3080*b19 + 3080*b20 + 3080*b21 + 5390*b22
      + 5390*b23 + 5390*b24 + 6840*b31 + 6840*b32 + 6840*b33 + 8360*b34
      + 8360*b35 + 8360*b36 + 3750*b37 + 3750*b38 + 3750*b39 + 5250*b43
      + 5250*b44 + 5250*b45 + 4620*b46 + 4620*b47 + 4620*b48 + 3080*b49
      + 3080*b50 + 3080*b51 + 8360*b58 + 8360*b59 + 8360*b60 + 760*b61
      + 760*b62 + 760*b63 + 1500*b64 + 1500*b65 + 1500*b66 + 3750*b70
      + 3750*b71 + 3750*b72 + 4620*b73 + 4620*b74 + 4620*b75 + 770*b76
      + 770*b77 + 770*b78 - 0.15*x100 - 0.15*x101 - 0.15*x102 - 0.4*x109
      - 0.4*x110 - 0.4*x111 - 0.65*x118 - 0.65*x119 - 0.65*x120 + 0.1406*x166
      + 0.1406*x167 + 0.1406*x168 =E= 0;

e2..    b1 - b3 + b4 + b7 - b12 - b21 + x121 - x123 =E= 0;

e3..  - b1 + b2 + b5 + b8 - b10 - b19 - x121 + x122 =E= 0;

e4..  - b2 + b3 + b6 + b9 - b11 - b20 - x122 + x123 =E= 0;

e5..  - b6 + b10 + b13 - b15 + b16 - b24 + x124 - x126 =E= 0;

e6..  - b4 + b11 - b13 + b14 + b17 - b22 - x124 + x125 =E= 0;

e7..  - b5 + b12 - b14 + b15 + b18 - b23 - x125 + x126 =E= 0;

e8..  - b9 - b18 + b19 + b22 + b25 - b27 + x127 - x129 =E= 0;

e9..  - b7 - b16 + b20 + b23 - b25 + b26 - x127 + x128 =E= 0;

e10..  - b8 - b17 + b21 + b24 - b26 + b27 - x128 + x129 =E= 0;

e11..    b28 - b30 + b31 + b34 - b39 - b48 + x130 - x132 =E= 0;

e12..  - b28 + b29 + b32 + b35 - b37 - b46 - x130 + x131 =E= 0;

e13..  - b29 + b30 + b33 + b36 - b38 - b47 - x131 + x132 =E= 0;

e14..  - b33 + b37 + b40 - b42 + b43 - b51 + x133 - x135 =E= 0;

e15..  - b31 + b38 - b40 + b41 + b44 - b49 - x133 + x134 =E= 0;

e16..  - b32 + b39 - b41 + b42 + b45 - b50 - x134 + x135 =E= 0;

e17..  - b36 - b45 + b46 + b49 + b52 - b54 + x136 - x138 =E= 0;

e18..  - b34 - b43 + b47 + b50 - b52 + b53 - x136 + x137 =E= 0;

e19..  - b35 - b44 + b48 + b51 - b53 + b54 - x137 + x138 =E= 0;

e20..    b55 - b57 + b58 + b61 - b66 - b75 + x139 - x141 =E= 0;

e21..  - b55 + b56 + b59 + b62 - b64 - b73 - x139 + x140 =E= 0;

e22..  - b56 + b57 + b60 + b63 - b65 - b74 - x140 + x141 =E= 0;

e23..  - b60 + b64 + b67 - b69 + b70 - b78 + x142 - x144 =E= 0;

e24..  - b58 + b65 - b67 + b68 + b71 - b76 - x142 + x143 =E= 0;

e25..  - b59 + b66 - b68 + b69 + b72 - b77 - x143 + x144 =E= 0;

e26..  - b63 - b72 + b73 + b76 + b79 - b81 + x145 - x147 =E= 0;

e27..  - b61 - b70 + b74 + b77 - b79 + b80 - x145 + x146 =E= 0;

e28..  - b62 - b71 + b75 + b78 - b80 + b81 - x146 + x147 =E= 0;

e29..    b1 + b4 + b7 + b10 + b13 + b16 + b19 + b22 + b25 + x121 + x124 + x127
       =E= 1;

e30..    b28 + b31 + b34 + b37 + b40 + b43 + b46 + b49 + b52 + x130 + x133
       + x136 =E= 1;

e31..    b55 + b58 + b61 + b64 + b67 + b70 + b73 + b76 + b79 + x139 + x142
       + x145 =E= 1;

e32..  - 5*b4 - 8*b7 - 10*b10 - 3*b16 - 4*b19 - 7*b22 - 0.00125*x94
       - 0.000833333333333333*x103 - 0.001*x112 - x148 + x151 =G= 0;

e33..  - 5*b5 - 8*b8 - 10*b11 - 3*b17 - 4*b20 - 7*b23 - 0.00125*x95
       - 0.000833333333333333*x104 - 0.001*x113 - x151 + x154 =G= 0;

e34..  - 5*b6 - 8*b9 - 10*b12 - 3*b18 - 4*b21 - 7*b24 - 0.00125*x96
       - 0.000833333333333333*x105 - 0.001*x114 + x148 - x154 + x193 =G= 0;

e35..  - 9*b31 - 11*b34 - 5*b37 - 7*b43 - 6*b46 - 4*b49 - 0.0025*x97
       - 0.002*x106 - 0.00222222222222222*x115 - x149 + x152 =G= 0;

e36..  - 9*b32 - 11*b35 - 5*b38 - 7*b44 - 6*b47 - 4*b50 - 0.0025*x98
       - 0.002*x107 - 0.00222222222222222*x116 - x152 + x155 =G= 0;

e37..  - 9*b33 - 11*b36 - 5*b39 - 7*b45 - 6*b48 - 4*b51 - 0.0025*x99
       - 0.002*x108 - 0.00222222222222222*x117 + x149 - x155 + x193 =G= 0;

e38..  - 11*b58 - b61 - 2*b64 - 5*b70 - 6*b73 - b76 - 0.00111111111111111*x100
       - 0.00166666666666667*x109 - 0.000909090909090909*x118 - x150 + x153
       =G= 0;

e39..  - 11*b59 - b62 - 2*b65 - 5*b71 - 6*b74 - b77 - 0.00111111111111111*x101
       - 0.00166666666666667*x110 - 0.000909090909090909*x119 - x153 + x156
       =G= 0;

e40..  - 11*b60 - b63 - 2*b66 - 5*b72 - 6*b75 - b78 - 0.00111111111111111*x102
       - 0.00166666666666667*x111 - 0.000909090909090909*x120 + x150 - x156
       + x193 =G= 0;

e41..  - 5*b4 - 8*b7 - 10*b10 - 3*b16 - 4*b19 - 7*b22 + x151 - x157 =E= 0;

e42..  - 5*b5 - 8*b8 - 10*b11 - 3*b17 - 4*b20 - 7*b23 + x154 - x160 =E= 0;

e43..  - 5*b6 - 8*b9 - 10*b12 - 3*b18 - 4*b21 - 7*b24 + x148 - x163 + x193
       =E= 0;

e44..  - 9*b31 - 11*b34 - 5*b37 - 7*b43 - 6*b46 - 4*b49 + x152 - x158 =E= 0;

e45..  - 9*b32 - 11*b35 - 5*b38 - 7*b44 - 6*b47 - 4*b50 + x155 - x161 =E= 0;

e46..  - 9*b33 - 11*b36 - 5*b39 - 7*b45 - 6*b48 - 4*b51 + x149 - x164 + x193
       =E= 0;

e47..  - 11*b58 - b61 - 2*b64 - 5*b70 - 6*b73 - b76 + x153 - x159 =E= 0;

e48..  - 11*b59 - b62 - 2*b65 - 5*b71 - 6*b74 - b77 + x156 - x162 =E= 0;

e49..  - 11*b60 - b63 - 2*b66 - 5*b72 - 6*b75 - b78 + x150 - x165 + x193 =E= 0;

e50..    x154 - x193 =L= 0;

e51..    x155 - x193 =L= 0;

e52..    x156 - x193 =L= 0;

e53..  - 200000*b1 - 200000*b4 - 200000*b7 + x94 =L= 0;

e54..  - 200000*b2 - 200000*b5 - 200000*b8 + x95 =L= 0;

e55..  - 200000*b3 - 200000*b6 - 200000*b9 + x96 =L= 0;

e56..  - 100000*b28 - 100000*b31 - 100000*b34 + x97 =L= 0;

e57..  - 100000*b29 - 100000*b32 - 100000*b35 + x98 =L= 0;

e58..  - 100000*b30 - 100000*b33 - 100000*b36 + x99 =L= 0;

e59..  - 225000*b55 - 225000*b58 - 225000*b61 + x100 =L= 0;

e60..  - 225000*b56 - 225000*b59 - 225000*b62 + x101 =L= 0;

e61..  - 225000*b57 - 225000*b60 - 225000*b63 + x102 =L= 0;

e62..  - 300000*b10 - 300000*b13 - 300000*b16 + x103 =L= 0;

e63..  - 300000*b11 - 300000*b14 - 300000*b17 + x104 =L= 0;

e64..  - 300000*b12 - 300000*b15 - 300000*b18 + x105 =L= 0;

e65..  - 125000*b37 - 125000*b40 - 125000*b43 + x106 =L= 0;

e66..  - 125000*b38 - 125000*b41 - 125000*b44 + x107 =L= 0;

e67..  - 125000*b39 - 125000*b42 - 125000*b45 + x108 =L= 0;

e68..  - 150000*b64 - 150000*b67 - 150000*b70 + x109 =L= 0;

e69..  - 150000*b65 - 150000*b68 - 150000*b71 + x110 =L= 0;

e70..  - 150000*b66 - 150000*b69 - 150000*b72 + x111 =L= 0;

e71..  - 250000*b19 - 250000*b22 - 250000*b25 + x112 =L= 0;

e72..  - 250000*b20 - 250000*b23 - 250000*b26 + x113 =L= 0;

e73..  - 250000*b21 - 250000*b24 - 250000*b27 + x114 =L= 0;

e74..  - 112500*b46 - 112500*b49 - 112500*b52 + x115 =L= 0;

e75..  - 112500*b47 - 112500*b50 - 112500*b53 + x116 =L= 0;

e76..  - 112500*b48 - 112500*b51 - 112500*b54 + x117 =L= 0;

e77..  - 275000*b73 - 275000*b76 - 275000*b79 + x118 =L= 0;

e78..  - 275000*b74 - 275000*b77 - 275000*b80 + x119 =L= 0;

e79..  - 275000*b75 - 275000*b78 - 275000*b81 + x120 =L= 0;

e80..    b1 + b2 + b3 + b4 + b5 + b6 + b7 + b8 + b9 + b28 + b29 + b30 + b31
       + b32 + b33 + b34 + b35 + b36 =E= 1;

e81..    b55 + b56 + b57 + b58 + b59 + b60 + b61 + b62 + b63 =E= 1;

e82..    b10 + b11 + b12 + b13 + b14 + b15 + b16 + b17 + b18 + b37 + b38 + b39
       + b40 + b41 + b42 + b43 + b44 + b45 =E= 1;

e83..    b64 + b65 + b66 + b67 + b68 + b69 + b70 + b71 + b72 =E= 1;

e84..    b19 + b20 + b21 + b22 + b23 + b24 + b25 + b26 + b27 + b46 + b47 + b48
       + b49 + b50 + b51 + b52 + b53 + b54 =E= 1;

e85..    b73 + b74 + b75 + b76 + b77 + b78 + b79 + b80 + b81 =E= 1;

e86..    b1 + b4 + b7 + b28 + b31 + b34 =E= 1;

e87.. x181*x193 - x100 - x101 - x102 =E= 0;

e88.. x182*x193 - x109 - x110 - x111 =E= 0;

e89.. x183*x193 - x118 - x119 - x120 =E= 0;

e90..    x94 + x95 + x96 + x97 + x98 + x99 - x100 - x101 - x102 =E= 0;

e91..    x103 + x104 + x105 + x106 + x107 + x108 - x109 - x110 - x111 =E= 0;

e92..    x112 + x113 + x114 + x115 + x116 + x117 - x118 - x119 - x120 =E= 0;

e93..    250*b1 + 250*b4 + 250*b7 - x148 + x169 =L= 250;

e94..    250*b1 + 250*b2 + 250*b4 + 250*b5 + 250*b7 + 250*b8 - x151 + x169
       =L= 250;

e95..    250*b1 + 250*b2 + 250*b3 + 250*b4 + 250*b5 + 250*b6 + 250*b7 + 250*b8
       + 250*b9 - x154 + x169 =L= 250;

e96..    250*b28 + 250*b31 + 250*b34 - x149 + x169 =L= 250;

e97..    250*b28 + 250*b29 + 250*b31 + 250*b32 + 250*b34 + 250*b35 - x152
       + x169 =L= 250;

e98..    250*b28 + 250*b29 + 250*b30 + 250*b31 + 250*b32 + 250*b33 + 250*b34
       + 250*b35 + 250*b36 - x155 + x169 =L= 250;

e99..    250*b55 + 250*b58 + 250*b61 - x150 + x170 =L= 250;

e100..    250*b55 + 250*b56 + 250*b58 + 250*b59 + 250*b61 + 250*b62 - x153
        + x170 =L= 250;

e101..    250*b55 + 250*b56 + 250*b57 + 250*b58 + 250*b59 + 250*b60 + 250*b61
        + 250*b62 + 250*b63 - x156 + x170 =L= 250;

e102..    250*b10 + 250*b13 + 250*b16 - x148 + x171 =L= 250;

e103..    250*b10 + 250*b11 + 250*b13 + 250*b14 + 250*b16 + 250*b17 - x151
        + x171 =L= 250;

e104..    250*b10 + 250*b11 + 250*b12 + 250*b13 + 250*b14 + 250*b15 + 250*b16
        + 250*b17 + 250*b18 - x154 + x171 =L= 250;

e105..    250*b37 + 250*b40 + 250*b43 - x149 + x171 =L= 250;

e106..    250*b37 + 250*b38 + 250*b40 + 250*b41 + 250*b43 + 250*b44 - x152
        + x171 =L= 250;

e107..    250*b37 + 250*b38 + 250*b39 + 250*b40 + 250*b41 + 250*b42 + 250*b43
        + 250*b44 + 250*b45 - x155 + x171 =L= 250;

e108..    250*b64 + 250*b67 + 250*b70 - x150 + x172 =L= 250;

e109..    250*b64 + 250*b65 + 250*b67 + 250*b68 + 250*b70 + 250*b71 - x153
        + x172 =L= 250;

e110..    250*b64 + 250*b65 + 250*b66 + 250*b67 + 250*b68 + 250*b69 + 250*b70
        + 250*b71 + 250*b72 - x156 + x172 =L= 250;

e111..    250*b19 + 250*b22 + 250*b25 - x148 + x173 =L= 250;

e112..    250*b19 + 250*b20 + 250*b22 + 250*b23 + 250*b25 + 250*b26 - x151
        + x173 =L= 250;

e113..    250*b19 + 250*b20 + 250*b21 + 250*b22 + 250*b23 + 250*b24 + 250*b25
        + 250*b26 + 250*b27 - x154 + x173 =L= 250;

e114..    250*b46 + 250*b49 + 250*b52 - x149 + x173 =L= 250;

e115..    250*b46 + 250*b47 + 250*b49 + 250*b50 + 250*b52 + 250*b53 - x152
        + x173 =L= 250;

e116..    250*b46 + 250*b47 + 250*b48 + 250*b49 + 250*b50 + 250*b51 + 250*b52
        + 250*b53 + 250*b54 - x155 + x173 =L= 250;

e117..    250*b73 + 250*b76 + 250*b79 - x150 + x174 =L= 250;

e118..    250*b73 + 250*b74 + 250*b76 + 250*b77 + 250*b79 + 250*b80 - x153
        + x174 =L= 250;

e119..    250*b73 + 250*b74 + 250*b75 + 250*b76 + 250*b77 + 250*b78 + 250*b79
        + 250*b80 + 250*b81 - x156 + x174 =L= 250;

e120..  - 250*b1 - 250*b2 - 250*b3 - 250*b4 - 250*b5 - 250*b6 - 250*b7 - 250*b8
        - 250*b9 - x148 + x169 =G= -250;

e121..  - 250*b2 - 250*b3 - 250*b5 - 250*b6 - 250*b8 - 250*b9 - x151 + x169
        =G= -250;

e122..  - 250*b3 - 250*b6 - 250*b9 - x154 + x169 =G= -250;

e123..  - 250*b28 - 250*b29 - 250*b30 - 250*b31 - 250*b32 - 250*b33 - 250*b34
        - 250*b35 - 250*b36 - x149 + x169 =G= -250;

e124..  - 250*b29 - 250*b30 - 250*b32 - 250*b33 - 250*b35 - 250*b36 - x152
        + x169 =G= -250;

e125..  - 250*b30 - 250*b33 - 250*b36 - x155 + x169 =G= -250;

e126..  - 250*b55 - 250*b56 - 250*b57 - 250*b58 - 250*b59 - 250*b60 - 250*b61
        - 250*b62 - 250*b63 - x150 + x170 =G= -250;

e127..  - 250*b56 - 250*b57 - 250*b59 - 250*b60 - 250*b62 - 250*b63 - x153
        + x170 =G= -250;

e128..  - 250*b57 - 250*b60 - 250*b63 - x156 + x170 =G= -250;

e129..  - 250*b10 - 250*b11 - 250*b12 - 250*b13 - 250*b14 - 250*b15 - 250*b16
        - 250*b17 - 250*b18 - x148 + x171 =G= -250;

e130..  - 250*b11 - 250*b12 - 250*b14 - 250*b15 - 250*b17 - 250*b18 - x151
        + x171 =G= -250;

e131..  - 250*b12 - 250*b15 - 250*b18 - x154 + x171 =G= -250;

e132..  - 250*b37 - 250*b38 - 250*b39 - 250*b40 - 250*b41 - 250*b42 - 250*b43
        - 250*b44 - 250*b45 - x149 + x171 =G= -250;

e133..  - 250*b38 - 250*b39 - 250*b41 - 250*b42 - 250*b44 - 250*b45 - x152
        + x171 =G= -250;

e134..  - 250*b39 - 250*b42 - 250*b45 - x155 + x171 =G= -250;

e135..  - 250*b64 - 250*b65 - 250*b66 - 250*b67 - 250*b68 - 250*b69 - 250*b70
        - 250*b71 - 250*b72 - x150 + x172 =G= -250;

e136..  - 250*b65 - 250*b66 - 250*b68 - 250*b69 - 250*b71 - 250*b72 - x153
        + x172 =G= -250;

e137..  - 250*b66 - 250*b69 - 250*b72 - x156 + x172 =G= -250;

e138..  - 250*b19 - 250*b20 - 250*b21 - 250*b22 - 250*b23 - 250*b24 - 250*b25
        - 250*b26 - 250*b27 - x148 + x173 =G= -250;

e139..  - 250*b20 - 250*b21 - 250*b23 - 250*b24 - 250*b26 - 250*b27 - x151
        + x173 =G= -250;

e140..  - 250*b21 - 250*b24 - 250*b27 - x154 + x173 =G= -250;

e141..  - 250*b46 - 250*b47 - 250*b48 - 250*b49 - 250*b50 - 250*b51 - 250*b52
        - 250*b53 - 250*b54 - x149 + x173 =G= -250;

e142..  - 250*b47 - 250*b48 - 250*b50 - 250*b51 - 250*b53 - 250*b54 - x152
        + x173 =G= -250;

e143..  - 250*b48 - 250*b51 - 250*b54 - x155 + x173 =G= -250;

e144..  - 250*b73 - 250*b74 - 250*b75 - 250*b76 - 250*b77 - 250*b78 - 250*b79
        - 250*b80 - 250*b81 - x150 + x174 =G= -250;

e145..  - 250*b74 - 250*b75 - 250*b77 - 250*b78 - 250*b80 - 250*b81 - x153
        + x174 =G= -250;

e146..  - 250*b75 - 250*b78 - 250*b81 - x156 + x174 =G= -250;

e147..    250*b1 + 250*b4 + 250*b7 - x157 + x175 =L= 250;

e148..    250*b1 + 250*b2 + 250*b4 + 250*b5 + 250*b7 + 250*b8 - x160 + x175
        =L= 250;

e149..    250*b1 + 250*b2 + 250*b3 + 250*b4 + 250*b5 + 250*b6 + 250*b7 + 250*b8
        + 250*b9 - x163 + x175 =L= 250;

e150..    250*b28 + 250*b31 + 250*b34 - x158 + x175 =L= 250;

e151..    250*b28 + 250*b29 + 250*b31 + 250*b32 + 250*b34 + 250*b35 - x161
        + x175 =L= 250;

e152..    250*b28 + 250*b29 + 250*b30 + 250*b31 + 250*b32 + 250*b33 + 250*b34
        + 250*b35 + 250*b36 - x164 + x175 =L= 250;

e153..    250*b55 + 250*b58 + 250*b61 - x159 + x176 =L= 250;

e154..    250*b55 + 250*b56 + 250*b58 + 250*b59 + 250*b61 + 250*b62 - x162
        + x176 =L= 250;

e155..    250*b55 + 250*b56 + 250*b57 + 250*b58 + 250*b59 + 250*b60 + 250*b61
        + 250*b62 + 250*b63 - x165 + x176 =L= 250;

e156..    250*b10 + 250*b13 + 250*b16 - x157 + x177 =L= 250;

e157..    250*b10 + 250*b11 + 250*b13 + 250*b14 + 250*b16 + 250*b17 - x160
        + x177 =L= 250;

e158..    250*b10 + 250*b11 + 250*b12 + 250*b13 + 250*b14 + 250*b15 + 250*b16
        + 250*b17 + 250*b18 - x163 + x177 =L= 250;

e159..    250*b37 + 250*b40 + 250*b43 - x158 + x177 =L= 250;

e160..    250*b37 + 250*b38 + 250*b40 + 250*b41 + 250*b43 + 250*b44 - x161
        + x177 =L= 250;

e161..    250*b37 + 250*b38 + 250*b39 + 250*b40 + 250*b41 + 250*b42 + 250*b43
        + 250*b44 + 250*b45 - x164 + x177 =L= 250;

e162..    250*b64 + 250*b67 + 250*b70 - x159 + x178 =L= 250;

e163..    250*b64 + 250*b65 + 250*b67 + 250*b68 + 250*b70 + 250*b71 - x162
        + x178 =L= 250;

e164..    250*b64 + 250*b65 + 250*b66 + 250*b67 + 250*b68 + 250*b69 + 250*b70
        + 250*b71 + 250*b72 - x165 + x178 =L= 250;

e165..    250*b19 + 250*b22 + 250*b25 - x157 + x179 =L= 250;

e166..    250*b19 + 250*b20 + 250*b22 + 250*b23 + 250*b25 + 250*b26 - x160
        + x179 =L= 250;

e167..    250*b19 + 250*b20 + 250*b21 + 250*b22 + 250*b23 + 250*b24 + 250*b25
        + 250*b26 + 250*b27 - x163 + x179 =L= 250;

e168..    250*b46 + 250*b49 + 250*b52 - x158 + x179 =L= 250;

e169..    250*b46 + 250*b47 + 250*b49 + 250*b50 + 250*b52 + 250*b53 - x161
        + x179 =L= 250;

e170..    250*b46 + 250*b47 + 250*b48 + 250*b49 + 250*b50 + 250*b51 + 250*b52
        + 250*b53 + 250*b54 - x164 + x179 =L= 250;

e171..    250*b73 + 250*b76 + 250*b79 - x159 + x180 =L= 250;

e172..    250*b73 + 250*b74 + 250*b76 + 250*b77 + 250*b79 + 250*b80 - x162
        + x180 =L= 250;

e173..    250*b73 + 250*b74 + 250*b75 + 250*b76 + 250*b77 + 250*b78 + 250*b79
        + 250*b80 + 250*b81 - x165 + x180 =L= 250;

e174..  - 250*b1 - 250*b2 - 250*b3 - 250*b4 - 250*b5 - 250*b6 - 250*b7 - 250*b8
        - 250*b9 - x157 + x175 =G= -250;

e175..  - 250*b2 - 250*b3 - 250*b5 - 250*b6 - 250*b8 - 250*b9 - x160 + x175
        =G= -250;

e176..  - 250*b3 - 250*b6 - 250*b9 - x163 + x175 =G= -250;

e177..  - 250*b28 - 250*b29 - 250*b30 - 250*b31 - 250*b32 - 250*b33 - 250*b34
        - 250*b35 - 250*b36 - x158 + x175 =G= -250;

e178..  - 250*b29 - 250*b30 - 250*b32 - 250*b33 - 250*b35 - 250*b36 - x161
        + x175 =G= -250;

e179..  - 250*b30 - 250*b33 - 250*b36 - x164 + x175 =G= -250;

e180..  - 250*b55 - 250*b56 - 250*b57 - 250*b58 - 250*b59 - 250*b60 - 250*b61
        - 250*b62 - 250*b63 - x159 + x176 =G= -250;

e181..  - 250*b56 - 250*b57 - 250*b59 - 250*b60 - 250*b62 - 250*b63 - x162
        + x176 =G= -250;

e182..  - 250*b57 - 250*b60 - 250*b63 - x165 + x176 =G= -250;

e183..  - 250*b10 - 250*b11 - 250*b12 - 250*b13 - 250*b14 - 250*b15 - 250*b16
        - 250*b17 - 250*b18 - x157 + x177 =G= -250;

e184..  - 250*b11 - 250*b12 - 250*b14 - 250*b15 - 250*b17 - 250*b18 - x160
        + x177 =G= -250;

e185..  - 250*b12 - 250*b15 - 250*b18 - x163 + x177 =G= -250;

e186..  - 250*b37 - 250*b38 - 250*b39 - 250*b40 - 250*b41 - 250*b42 - 250*b43
        - 250*b44 - 250*b45 - x158 + x177 =G= -250;

e187..  - 250*b38 - 250*b39 - 250*b41 - 250*b42 - 250*b44 - 250*b45 - x161
        + x177 =G= -250;

e188..  - 250*b39 - 250*b42 - 250*b45 - x164 + x177 =G= -250;

e189..  - 250*b64 - 250*b65 - 250*b66 - 250*b67 - 250*b68 - 250*b69 - 250*b70
        - 250*b71 - 250*b72 - x159 + x178 =G= -250;

e190..  - 250*b65 - 250*b66 - 250*b68 - 250*b69 - 250*b71 - 250*b72 - x162
        + x178 =G= -250;

e191..  - 250*b66 - 250*b69 - 250*b72 - x165 + x178 =G= -250;

e192..  - 250*b19 - 250*b20 - 250*b21 - 250*b22 - 250*b23 - 250*b24 - 250*b25
        - 250*b26 - 250*b27 - x157 + x179 =G= -250;

e193..  - 250*b20 - 250*b21 - 250*b23 - 250*b24 - 250*b26 - 250*b27 - x160
        + x179 =G= -250;

e194..  - 250*b21 - 250*b24 - 250*b27 - x163 + x179 =G= -250;

e195..  - 250*b46 - 250*b47 - 250*b48 - 250*b49 - 250*b50 - 250*b51 - 250*b52
        - 250*b53 - 250*b54 - x158 + x179 =G= -250;

e196..  - 250*b47 - 250*b48 - 250*b50 - 250*b51 - 250*b53 - 250*b54 - x161
        + x179 =G= -250;

e197..  - 250*b48 - 250*b51 - 250*b54 - x164 + x179 =G= -250;

e198..  - 250*b73 - 250*b74 - 250*b75 - 250*b76 - 250*b77 - 250*b78 - 250*b79
        - 250*b80 - 250*b81 - x159 + x180 =G= -250;

e199..  - 250*b74 - 250*b75 - 250*b77 - 250*b78 - 250*b80 - 250*b81 - x162
        + x180 =G= -250;

e200..  - 250*b75 - 250*b78 - 250*b81 - x165 + x180 =G= -250;

e201.. -x184*(x175 - x169) + x94 + x95 + x96 + x97 + x98 + x99 =E= 0;

e202.. -x185*(x176 - x170) + x100 + x101 + x102 =E= 0;

e203.. -x186*(x177 - x171) + x103 + x104 + x105 + x106 + x107 + x108 =E= 0;

e204.. -x187*(x178 - x172) + x109 + x110 + x111 =E= 0;

e205.. -x188*(x179 - x173) + x112 + x113 + x114 + x115 + x116 + x117 =E= 0;

e206.. -x189*(x180 - x174) + x118 + x119 + x120 =E= 0;

e207..  - 800*b1 - 800*b2 - 800*b3 - 800*b4 - 800*b5 - 800*b6 - 800*b7 - 800*b8
        - 800*b9 - 400*b28 - 400*b29 - 400*b30 - 400*b31 - 400*b32 - 400*b33
        - 400*b34 - 400*b35 - 400*b36 + x184 =L= 0;

e208..  - 900*b55 - 900*b56 - 900*b57 - 900*b58 - 900*b59 - 900*b60 - 900*b61
        - 900*b62 - 900*b63 + x185 =L= 0;

e209..  - 1200*b10 - 1200*b11 - 1200*b12 - 1200*b13 - 1200*b14 - 1200*b15
        - 1200*b16 - 1200*b17 - 1200*b18 - 500*b37 - 500*b38 - 500*b39
        - 500*b40 - 500*b41 - 500*b42 - 500*b43 - 500*b44 - 500*b45 + x186
        =L= 0;

e210..  - 600*b64 - 600*b65 - 600*b66 - 600*b67 - 600*b68 - 600*b69 - 600*b70
        - 600*b71 - 600*b72 + x187 =L= 0;

e211..  - 1000*b19 - 1000*b20 - 1000*b21 - 1000*b22 - 1000*b23 - 1000*b24
        - 1000*b25 - 1000*b26 - 1000*b27 - 450*b46 - 450*b47 - 450*b48
        - 450*b49 - 450*b50 - 450*b51 - 450*b52 - 450*b53 - 450*b54 + x188
        =L= 0;

e212..  - 1100*b73 - 1100*b74 - 1100*b75 - 1100*b76 - 1100*b77 - 1100*b78
        - 1100*b79 - 1100*b80 - 1100*b81 + x189 =L= 0;

e213..    x170 - x176 + x190 =E= 0;

e214..    x172 - x178 + x191 =E= 0;

e215..    x174 - x180 + x192 =E= 0;

e216..    x190 - x193 =L= 0;

e217..    x191 - x193 =L= 0;

e218..    x192 - x193 =L= 0;

e219..    250*b82 + 250*b88 + x169 - x170 =L= 250;

e220..    250*b83 + 250*b89 + x171 - x172 =L= 250;

e221..    250*b84 + 250*b90 + x173 - x174 =L= 250;

e222..  - 250*b85 - 250*b91 + x169 - x170 =G= -250;

e223..  - 250*b86 - 250*b92 + x171 - x172 =G= -250;

e224..  - 250*b87 - 250*b93 + x173 - x174 =G= -250;

e225..    500*b82 + 500*b91 + x175 - x176 =L= 500;

e226..    500*b83 + 500*b92 + x177 - x178 =L= 500;

e227..    500*b84 + 500*b93 + x179 - x180 =L= 500;

e228..  - 500*b85 - 500*b88 + x175 - x176 =G= -500;

e229..  - 500*b86 - 500*b89 + x177 - x178 =G= -500;

e230..  - 500*b87 - 500*b90 + x179 - x180 =G= -500;

e231..  - 250*b82 - 250*b85 - 250*b88 - 250*b91 - x170 + x175 =G= -250;

e232..  - 250*b83 - 250*b86 - 250*b89 - 250*b92 - x172 + x177 =G= -250;

e233..  - 250*b84 - 250*b87 - 250*b90 - 250*b93 - x174 + x179 =G= -250;

e234..  - 250*b82 - 250*b85 - 250*b88 - 250*b91 - x169 + x176 =G= -250;

e235..  - 250*b83 - 250*b86 - 250*b89 - 250*b92 - x171 + x178 =G= -250;

e236..  - 250*b84 - 250*b87 - 250*b90 - 250*b93 - x173 + x180 =G= -250;

e237.. -(x170 - x169)*x184 - 200000*b82 + x166 =G= -200000;

e238.. -(x172 - x171)*x186 - 150000*b83 + x167 =G= -150000;

e239.. -(x174 - x173)*x188 - 250000*b84 + x168 =G= -250000;

e240.. -(x176 - x175)*x185 - 200000*b82 + x166 =G= -200000;

e241.. -(x178 - x177)*x187 - 150000*b83 + x167 =G= -150000;

e242.. -(x180 - x179)*x189 - 250000*b84 + x168 =G= -250000;

e243.. -(x169 - x170)*x185 - 200000*b85 + x166 =G= -200000;

e244.. -(x171 - x172)*x187 - 150000*b86 + x167 =G= -150000;

e245.. -(x173 - x174)*x189 - 250000*b87 + x168 =G= -250000;

e246.. -(x175 - x176)*x184 - 200000*b85 + x166 =G= -200000;

e247.. -(x177 - x178)*x186 - 150000*b86 + x167 =G= -150000;

e248.. -(x179 - x180)*x188 - 250000*b87 + x168 =G= -250000;

e249.. -(x185 - x184)*(x176 - x170) - 200000*b88 + x166 =G= -200000;

e250.. -(x187 - x186)*(x178 - x172) - 150000*b89 + x167 =G= -150000;

e251.. -(x189 - x188)*(x180 - x174) - 250000*b90 + x168 =G= -250000;

e252.. -(x184 - x185)*(x175 - x169) - 200000*b91 + x166 =G= -200000;

e253.. -(x186 - x187)*(x177 - x171) - 150000*b92 + x167 =G= -150000;

e254.. -(x188 - x189)*(x179 - x173) - 250000*b93 + x168 =G= -250000;

e255..    200000*b82 + 200000*b85 + 200000*b88 + 200000*b91 - x94 - x95 - x96
        - x97 - x98 - x99 + x166 =G= 0;

e256..    150000*b83 + 150000*b86 + 150000*b89 + 150000*b92 - x103 - x104
        - x105 - x106 - x107 - x108 + x167 =G= 0;

e257..    250000*b84 + 250000*b87 + 250000*b90 + 250000*b93 - x112 - x113
        - x114 - x115 - x116 - x117 + x168 =G= 0;

* set non-default bounds
x148.fx = 0;
x149.up = 250;
x150.up = 250;
x151.up = 250;
x152.up = 250;
x153.up = 250;
x154.up = 250;
x155.up = 250;
x156.up = 250;
x157.up = 500;
x158.up = 500;
x159.up = 500;
x160.up = 500;
x161.up = 500;
x162.up = 500;
x163.up = 500;
x164.up = 500;
x165.up = 500;
x169.up = 250;
x170.up = 250;
x171.up = 250;
x172.up = 250;
x173.up = 250;
x174.up = 250;
x175.up = 500;
x176.up = 500;
x177.up = 500;
x178.up = 500;
x179.up = 500;
x180.up = 500;
x181.lo = 50;
x182.lo = 100;
x183.lo = 250;
x190.lo = 5.55555555555556; x190.up = 250;
x191.lo = 16.6666666666667; x191.up = 250;
x192.lo = 22.7272727272727; x192.up = 250;
x193.lo = 100; x193.up = 250;

* set non-default levels
x184.l = 800;
x185.l = 900;
x186.l = 1200;
x187.l = 600;
x188.l = 1000;
x189.l = 1100;

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: 2022-05-24 Git hash: 1198c186
Imprint / Privacy Policy / License: CC-BY 4.0