MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance multiplants_mtg2

Formats ams gms mod nl osil pip py
Primal Bounds (infeas ≤ 1e-08)
6948.17527500 p1 ( gdx sol )
(infeas: 2e-09)
7099.18621100 p2 ( gdx sol )
(infeas: 9e-10)
Other points (infeas > 1e-08)  
Dual Bounds
7099.18621800 (ANTIGONE)
7099.18626700 (BARON)
7688.42000000 (COUENNE)
7099.18621100 (LINDO)
7099.18621100 (SCIP)
References Castro, Pedro M and Novais, Augusto Q, Periodic Scheduling of Continuous Multiproduct Plants, 2009.
Source MTG_EX2.gms from minlp.org model 34
Application Periodic Scheduling of Continuous Multiproduct Plants
Added to library 24 Sep 2013
Problem type MBNLP
#Variables 230
#Binary Variables 112
#Integer Variables 0
#Nonlinear Variables 34
#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 307
#Linear Constraints 270
#Quadratic Constraints 36
#Polynomial Constraints 1
#Signomial Constraints 0
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature indefinite
#Nonzeros in Jacobian 2690
#Nonlinear Nonzeros in Jacobian 126
#Nonzeros in (Upper-Left) Hessian of Lagrangian 103
#Nonzeros in Diagonal of Hessian of Lagrangian 5
#Blocks in Hessian of Lagrangian 1
Minimal blocksize in Hessian of Lagrangian 34
Maximal blocksize in Hessian of Lagrangian 34
Average blocksize in Hessian of Lagrangian 34.0
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Minimal coefficient 7.4627e-04
Maximal coefficient 1.0720e+06
Infeasibility of initial point 2e+05
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
*        307       73      116      118        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        230      118      112        0        0        0        0        0
*  FX     33
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       2690     2564      126        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,b109,b110,b111,b112,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,objvar;

Positive Variables  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,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,x217,x218,x219,x220,x221,x222,x223,x224;

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,b109,b110,b111,b112;

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;


e1.. objvar*x229 + 0.00203*(x225**2*(x218 - x213) + (x229 - x225)**2*x213) + 
     0.00203*(x226**2*(x220 - x214) + (x229 - x226)**2*x214) + 0.00203*(x227**2
     *(x222 - x215) + (x229 - x227)**2*x215) + 0.00203*(x228**2*(x224 - x216)
      + (x229 - x228)**2*x216) + 7600*b1 + 7600*b2 + 7600*b3 + 7600*b4
      + 7600*b5 + 7600*b6 + 7600*b7 + 7600*b8 + 7600*b9 + 7600*b10 + 7600*b11
      + 7600*b12 + 7600*b13 + 7600*b14 + 7600*b15 + 7600*b16 + 760*b17
      + 760*b18 + 760*b19 + 760*b20 + 3040*b21 + 3040*b22 + 3040*b23 + 3040*b24
      + 7600*b25 + 7600*b26 + 7600*b27 + 7600*b28 + 760*b29 + 760*b30 + 760*b31
      + 760*b32 + 3040*b33 + 3040*b34 + 3040*b35 + 3040*b36 + 7600*b37
      + 7600*b38 + 7600*b39 + 7600*b40 + 3040*b41 + 3040*b42 + 3040*b43
      + 3040*b44 + 3040*b45 + 3040*b46 + 3040*b47 + 3040*b48 + 2280*b49
      + 2280*b50 + 2280*b51 + 2280*b52 + 2280*b53 + 2280*b54 + 2280*b55
      + 2280*b56 + 9120*b57 + 9120*b58 + 9120*b59 + 9120*b60 + 2280*b61
      + 2280*b62 + 2280*b63 + 2280*b64 + 760*b65 + 760*b66 + 760*b67 + 760*b68
      + 9120*b69 + 9120*b70 + 9120*b71 + 9120*b72 + 2280*b73 + 2280*b74
      + 2280*b75 + 2280*b76 + 760*b77 + 760*b78 + 760*b79 + 760*b80 + 9120*b81
      + 9120*b82 + 9120*b83 + 9120*b84 + 9120*b85 + 9120*b86 + 9120*b87
      + 9120*b88 + 9120*b89 + 9120*b90 + 9120*b91 + 9120*b92 + 9120*b93
      + 9120*b94 + 9120*b95 + 9120*b96 - 4*x117 - 4*x118 - 4*x119 - 4*x120
      - 1.5*x125 - 1.5*x126 - 1.5*x127 - 1.5*x128 - 6.5*x133 - 6.5*x134
      - 6.5*x135 - 6.5*x136 - 3*x141 - 3*x142 - 3*x143 - 3*x144 + 0.1218*x193
      + 0.1218*x194 + 0.1218*x195 + 0.1218*x196 =E= 0;

e2..    b1 + b5 + b9 - b16 - b28 - b40 + x145 - x148 =E= 0;

e3..    b2 + b6 + b10 - b13 - b25 - b37 - x145 + x146 =E= 0;

e4..    b3 + b7 + b11 - b14 - b26 - b38 - x146 + x147 =E= 0;

e5..    b4 + b8 + b12 - b15 - b27 - b39 - x147 + x148 =E= 0;

e6..  - b4 + b13 + b17 + b21 - b32 - b44 + x149 - x152 =E= 0;

e7..  - b1 + b14 + b18 + b22 - b29 - b41 - x149 + x150 =E= 0;

e8..  - b2 + b15 + b19 + b23 - b30 - b42 - x150 + x151 =E= 0;

e9..  - b3 + b16 + b20 + b24 - b31 - b43 - x151 + x152 =E= 0;

e10..  - b8 - b20 + b25 + b29 + b33 - b48 + x153 - x156 =E= 0;

e11..  - b5 - b17 + b26 + b30 + b34 - b45 - x153 + x154 =E= 0;

e12..  - b6 - b18 + b27 + b31 + b35 - b46 - x154 + x155 =E= 0;

e13..  - b7 - b19 + b28 + b32 + b36 - b47 - x155 + x156 =E= 0;

e14..  - b12 - b24 - b36 + b37 + b41 + b45 + x157 - x160 =E= 0;

e15..  - b9 - b21 - b33 + b38 + b42 + b46 - x157 + x158 =E= 0;

e16..  - b10 - b22 - b34 + b39 + b43 + b47 - x158 + x159 =E= 0;

e17..  - b11 - b23 - b35 + b40 + b44 + b48 - x159 + x160 =E= 0;

e18..    b49 + b53 + b57 - b64 - b76 - b88 + x161 - x164 =E= 0;

e19..    b50 + b54 + b58 - b61 - b73 - b85 - x161 + x162 =E= 0;

e20..    b51 + b55 + b59 - b62 - b74 - b86 - x162 + x163 =E= 0;

e21..    b52 + b56 + b60 - b63 - b75 - b87 - x163 + x164 =E= 0;

e22..  - b52 + b61 + b65 + b69 - b80 - b92 + x165 - x168 =E= 0;

e23..  - b49 + b62 + b66 + b70 - b77 - b89 - x165 + x166 =E= 0;

e24..  - b50 + b63 + b67 + b71 - b78 - b90 - x166 + x167 =E= 0;

e25..  - b51 + b64 + b68 + b72 - b79 - b91 - x167 + x168 =E= 0;

e26..  - b56 - b68 + b73 + b77 + b81 - b96 + x169 - x172 =E= 0;

e27..  - b53 - b65 + b74 + b78 + b82 - b93 - x169 + x170 =E= 0;

e28..  - b54 - b66 + b75 + b79 + b83 - b94 - x170 + x171 =E= 0;

e29..  - b55 - b67 + b76 + b80 + b84 - b95 - x171 + x172 =E= 0;

e30..  - b60 - b72 - b84 + b85 + b89 + b93 + x173 - x176 =E= 0;

e31..  - b57 - b69 - b81 + b86 + b90 + b94 - x173 + x174 =E= 0;

e32..  - b58 - b70 - b82 + b87 + b91 + b95 - x174 + x175 =E= 0;

e33..  - b59 - b71 - b83 + b88 + b92 + b96 - x175 + x176 =E= 0;

e34..    b1 + b5 + b9 + b13 + b17 + b21 + b25 + b29 + b33 + b37 + b41 + b45
       + x145 + x149 + x153 + x157 =E= 1;

e35..    b49 + b53 + b57 + b61 + b65 + b69 + b73 + b77 + b81 + b85 + b89 + b93
       + x161 + x165 + x169 + x173 =E= 1;

e36..  - 10*b1 - 10*b5 - 10*b9 - 10*b13 - b17 - 4*b21 - 10*b25 - b29 - 4*b33
       - 10*b37 - 4*b41 - 4*b45 - 0.000854700854700855*x113
       - 0.000746268656716418*x121 - 0.000746268656716418*x129
       - 0.000826446280991736*x137 - x177 + x179 =G= 0;

e37..  - 10*b2 - 10*b6 - 10*b10 - 10*b14 - b18 - 4*b22 - 10*b26 - b30 - 4*b34
       - 10*b38 - 4*b42 - 4*b46 - 0.000854700854700855*x114
       - 0.000746268656716418*x122 - 0.000746268656716418*x130
       - 0.000826446280991736*x138 - x179 + x181 =G= 0;

e38..  - 10*b3 - 10*b7 - 10*b11 - 10*b15 - b19 - 4*b23 - 10*b27 - b31 - 4*b35
       - 10*b39 - 4*b43 - 4*b47 - 0.000854700854700855*x115
       - 0.000746268656716418*x123 - 0.000746268656716418*x131
       - 0.000826446280991736*x139 - x181 + x183 =G= 0;

e39..  - 10*b4 - 10*b8 - 10*b12 - 10*b16 - b20 - 4*b24 - 10*b28 - b32 - 4*b36
       - 10*b40 - 4*b44 - 4*b48 - 0.000854700854700855*x116
       - 0.000746268656716418*x124 - 0.000746268656716418*x132
       - 0.000826446280991736*x140 + x177 - x183 + x229 =G= 0;

e40..  - 3*b49 - 3*b53 - 12*b57 - 3*b61 - b65 - 12*b69 - 3*b73 - b77 - 12*b81
       - 12*b85 - 12*b89 - 12*b93 - 0.000892857142857143*x117
       - 0.000775193798449612*x125 - 0.000746268656716418*x133
       - 0.000862068965517241*x141 - x178 + x180 =G= 0;

e41..  - 3*b50 - 3*b54 - 12*b58 - 3*b62 - b66 - 12*b70 - 3*b74 - b78 - 12*b82
       - 12*b86 - 12*b90 - 12*b94 - 0.000892857142857143*x118
       - 0.000775193798449612*x126 - 0.000746268656716418*x134
       - 0.000862068965517241*x142 - x180 + x182 =G= 0;

e42..  - 3*b51 - 3*b55 - 12*b59 - 3*b63 - b67 - 12*b71 - 3*b75 - b79 - 12*b83
       - 12*b87 - 12*b91 - 12*b95 - 0.000892857142857143*x119
       - 0.000775193798449612*x127 - 0.000746268656716418*x135
       - 0.000862068965517241*x143 - x182 + x184 =G= 0;

e43..  - 3*b52 - 3*b56 - 12*b60 - 3*b64 - b68 - 12*b72 - 3*b76 - b80 - 12*b84
       - 12*b88 - 12*b92 - 12*b96 - 0.000892857142857143*x120
       - 0.000775193798449612*x128 - 0.000746268656716418*x136
       - 0.000862068965517241*x144 + x178 - x184 + x229 =G= 0;

e44..  - 10*b1 - 10*b5 - 10*b9 - 10*b13 - b17 - 4*b21 - 10*b25 - b29 - 4*b33
       - 10*b37 - 4*b41 - 4*b45 + x179 - x185 =E= 0;

e45..  - 10*b2 - 10*b6 - 10*b10 - 10*b14 - b18 - 4*b22 - 10*b26 - b30 - 4*b34
       - 10*b38 - 4*b42 - 4*b46 + x181 - x187 =E= 0;

e46..  - 10*b3 - 10*b7 - 10*b11 - 10*b15 - b19 - 4*b23 - 10*b27 - b31 - 4*b35
       - 10*b39 - 4*b43 - 4*b47 + x183 - x189 =E= 0;

e47..  - 10*b4 - 10*b8 - 10*b12 - 10*b16 - b20 - 4*b24 - 10*b28 - b32 - 4*b36
       - 10*b40 - 4*b44 - 4*b48 + x177 - x191 + x229 =E= 0;

e48..  - 3*b49 - 3*b53 - 12*b57 - 3*b61 - b65 - 12*b69 - 3*b73 - b77 - 12*b81
       - 12*b85 - 12*b89 - 12*b93 + x180 - x186 =E= 0;

e49..  - 3*b50 - 3*b54 - 12*b58 - 3*b62 - b66 - 12*b70 - 3*b74 - b78 - 12*b82
       - 12*b86 - 12*b90 - 12*b94 + x182 - x188 =E= 0;

e50..  - 3*b51 - 3*b55 - 12*b59 - 3*b63 - b67 - 12*b71 - 3*b75 - b79 - 12*b83
       - 12*b87 - 12*b91 - 12*b95 + x184 - x190 =E= 0;

e51..  - 3*b52 - 3*b56 - 12*b60 - 3*b64 - b68 - 12*b72 - 3*b76 - b80 - 12*b84
       - 12*b88 - 12*b92 - 12*b96 + x178 - x192 + x229 =E= 0;

e52..    x183 - x229 =L= 0;

e53..    x184 - x229 =L= 0;

e54..  - 936000*b1 - 936000*b5 - 936000*b9 + x113 =L= 0;

e55..  - 936000*b2 - 936000*b6 - 936000*b10 + x114 =L= 0;

e56..  - 936000*b3 - 936000*b7 - 936000*b11 + x115 =L= 0;

e57..  - 936000*b4 - 936000*b8 - 936000*b12 + x116 =L= 0;

e58..  - 896000*b49 - 896000*b53 - 896000*b57 + x117 =L= 0;

e59..  - 896000*b50 - 896000*b54 - 896000*b58 + x118 =L= 0;

e60..  - 896000*b51 - 896000*b55 - 896000*b59 + x119 =L= 0;

e61..  - 896000*b52 - 896000*b56 - 896000*b60 + x120 =L= 0;

e62..  - 1072000*b13 - 1072000*b17 - 1072000*b21 + x121 =L= 0;

e63..  - 1072000*b14 - 1072000*b18 - 1072000*b22 + x122 =L= 0;

e64..  - 1072000*b15 - 1072000*b19 - 1072000*b23 + x123 =L= 0;

e65..  - 1072000*b16 - 1072000*b20 - 1072000*b24 + x124 =L= 0;

e66..  - 1032000*b61 - 1032000*b65 - 1032000*b69 + x125 =L= 0;

e67..  - 1032000*b62 - 1032000*b66 - 1032000*b70 + x126 =L= 0;

e68..  - 1032000*b63 - 1032000*b67 - 1032000*b71 + x127 =L= 0;

e69..  - 1032000*b64 - 1032000*b68 - 1032000*b72 + x128 =L= 0;

e70..  - 1072000*b25 - 1072000*b29 - 1072000*b33 + x129 =L= 0;

e71..  - 1072000*b26 - 1072000*b30 - 1072000*b34 + x130 =L= 0;

e72..  - 1072000*b27 - 1072000*b31 - 1072000*b35 + x131 =L= 0;

e73..  - 1072000*b28 - 1072000*b32 - 1072000*b36 + x132 =L= 0;

e74..  - 1072000*b73 - 1072000*b77 - 1072000*b81 + x133 =L= 0;

e75..  - 1072000*b74 - 1072000*b78 - 1072000*b82 + x134 =L= 0;

e76..  - 1072000*b75 - 1072000*b79 - 1072000*b83 + x135 =L= 0;

e77..  - 1072000*b76 - 1072000*b80 - 1072000*b84 + x136 =L= 0;

e78..  - 968000*b37 - 968000*b41 - 968000*b45 + x137 =L= 0;

e79..  - 968000*b38 - 968000*b42 - 968000*b46 + x138 =L= 0;

e80..  - 968000*b39 - 968000*b43 - 968000*b47 + x139 =L= 0;

e81..  - 968000*b40 - 968000*b44 - 968000*b48 + x140 =L= 0;

e82..  - 928000*b85 - 928000*b89 - 928000*b93 + x141 =L= 0;

e83..  - 928000*b86 - 928000*b90 - 928000*b94 + x142 =L= 0;

e84..  - 928000*b87 - 928000*b91 - 928000*b95 + x143 =L= 0;

e85..  - 928000*b88 - 928000*b92 - 928000*b96 + x144 =L= 0;

e86..    b1 + b2 + b3 + b4 + b5 + b6 + b7 + b8 + b9 + b10 + b11 + b12 =E= 1;

e87..    b49 + b50 + b51 + b52 + b53 + b54 + b55 + b56 + b57 + b58 + b59 + b60
       =E= 1;

e88..    b13 + b14 + b15 + b16 + b17 + b18 + b19 + b20 + b21 + b22 + b23 + b24
       =E= 1;

e89..    b61 + b62 + b63 + b64 + b65 + b66 + b67 + b68 + b69 + b70 + b71 + b72
       =E= 1;

e90..    b25 + b26 + b27 + b28 + b29 + b30 + b31 + b32 + b33 + b34 + b35 + b36
       =E= 1;

e91..    b73 + b74 + b75 + b76 + b77 + b78 + b79 + b80 + b81 + b82 + b83 + b84
       =E= 1;

e92..    b37 + b38 + b39 + b40 + b41 + b42 + b43 + b44 + b45 + b46 + b47 + b48
       =E= 1;

e93..    b85 + b86 + b87 + b88 + b89 + b90 + b91 + b92 + b93 + b94 + b95 + b96
       =E= 1;

e94..    b1 + b5 + b9 =E= 1;

e95.. x213*x229 - x117 - x118 - x119 - x120 =E= 0;

e96.. x214*x229 - x125 - x126 - x127 - x128 =E= 0;

e97.. x215*x229 - x133 - x134 - x135 - x136 =E= 0;

e98.. x216*x229 - x141 - x142 - x143 - x144 =E= 0;

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

e100..    x121 + x122 + x123 + x124 - x125 - x126 - x127 - x128 =E= 0;

e101..    x129 + x130 + x131 + x132 - x133 - x134 - x135 - x136 =E= 0;

e102..    x137 + x138 + x139 + x140 - x141 - x142 - x143 - x144 =E= 0;

e103..    800*b1 + 800*b5 + 800*b9 - x177 + x197 =L= 800;

e104..    800*b1 + 800*b2 + 800*b5 + 800*b6 + 800*b9 + 800*b10 - x179 + x197
        =L= 800;

e105..    800*b1 + 800*b2 + 800*b3 + 800*b5 + 800*b6 + 800*b7 + 800*b9
        + 800*b10 + 800*b11 - x181 + x197 =L= 800;

e106..    800*b1 + 800*b2 + 800*b3 + 800*b4 + 800*b5 + 800*b6 + 800*b7 + 800*b8
        + 800*b9 + 800*b10 + 800*b11 + 800*b12 - x183 + x197 =L= 800;

e107..    800*b49 + 800*b53 + 800*b57 - x178 + x198 =L= 800;

e108..    800*b49 + 800*b50 + 800*b53 + 800*b54 + 800*b57 + 800*b58 - x180
        + x198 =L= 800;

e109..    800*b49 + 800*b50 + 800*b51 + 800*b53 + 800*b54 + 800*b55 + 800*b57
        + 800*b58 + 800*b59 - x182 + x198 =L= 800;

e110..    800*b49 + 800*b50 + 800*b51 + 800*b52 + 800*b53 + 800*b54 + 800*b55
        + 800*b56 + 800*b57 + 800*b58 + 800*b59 + 800*b60 - x184 + x198 =L= 800
       ;

e111..    800*b13 + 800*b17 + 800*b21 - x177 + x199 =L= 800;

e112..    800*b13 + 800*b14 + 800*b17 + 800*b18 + 800*b21 + 800*b22 - x179
        + x199 =L= 800;

e113..    800*b13 + 800*b14 + 800*b15 + 800*b17 + 800*b18 + 800*b19 + 800*b21
        + 800*b22 + 800*b23 - x181 + x199 =L= 800;

e114..    800*b13 + 800*b14 + 800*b15 + 800*b16 + 800*b17 + 800*b18 + 800*b19
        + 800*b20 + 800*b21 + 800*b22 + 800*b23 + 800*b24 - x183 + x199 =L= 800
       ;

e115..    800*b61 + 800*b65 + 800*b69 - x178 + x200 =L= 800;

e116..    800*b61 + 800*b62 + 800*b65 + 800*b66 + 800*b69 + 800*b70 - x180
        + x200 =L= 800;

e117..    800*b61 + 800*b62 + 800*b63 + 800*b65 + 800*b66 + 800*b67 + 800*b69
        + 800*b70 + 800*b71 - x182 + x200 =L= 800;

e118..    800*b61 + 800*b62 + 800*b63 + 800*b64 + 800*b65 + 800*b66 + 800*b67
        + 800*b68 + 800*b69 + 800*b70 + 800*b71 + 800*b72 - x184 + x200 =L= 800
       ;

e119..    800*b25 + 800*b29 + 800*b33 - x177 + x201 =L= 800;

e120..    800*b25 + 800*b26 + 800*b29 + 800*b30 + 800*b33 + 800*b34 - x179
        + x201 =L= 800;

e121..    800*b25 + 800*b26 + 800*b27 + 800*b29 + 800*b30 + 800*b31 + 800*b33
        + 800*b34 + 800*b35 - x181 + x201 =L= 800;

e122..    800*b25 + 800*b26 + 800*b27 + 800*b28 + 800*b29 + 800*b30 + 800*b31
        + 800*b32 + 800*b33 + 800*b34 + 800*b35 + 800*b36 - x183 + x201 =L= 800
       ;

e123..    800*b73 + 800*b77 + 800*b81 - x178 + x202 =L= 800;

e124..    800*b73 + 800*b74 + 800*b77 + 800*b78 + 800*b81 + 800*b82 - x180
        + x202 =L= 800;

e125..    800*b73 + 800*b74 + 800*b75 + 800*b77 + 800*b78 + 800*b79 + 800*b81
        + 800*b82 + 800*b83 - x182 + x202 =L= 800;

e126..    800*b73 + 800*b74 + 800*b75 + 800*b76 + 800*b77 + 800*b78 + 800*b79
        + 800*b80 + 800*b81 + 800*b82 + 800*b83 + 800*b84 - x184 + x202 =L= 800
       ;

e127..    800*b37 + 800*b41 + 800*b45 - x177 + x203 =L= 800;

e128..    800*b37 + 800*b38 + 800*b41 + 800*b42 + 800*b45 + 800*b46 - x179
        + x203 =L= 800;

e129..    800*b37 + 800*b38 + 800*b39 + 800*b41 + 800*b42 + 800*b43 + 800*b45
        + 800*b46 + 800*b47 - x181 + x203 =L= 800;

e130..    800*b37 + 800*b38 + 800*b39 + 800*b40 + 800*b41 + 800*b42 + 800*b43
        + 800*b44 + 800*b45 + 800*b46 + 800*b47 + 800*b48 - x183 + x203 =L= 800
       ;

e131..    800*b85 + 800*b89 + 800*b93 - x178 + x204 =L= 800;

e132..    800*b85 + 800*b86 + 800*b89 + 800*b90 + 800*b93 + 800*b94 - x180
        + x204 =L= 800;

e133..    800*b85 + 800*b86 + 800*b87 + 800*b89 + 800*b90 + 800*b91 + 800*b93
        + 800*b94 + 800*b95 - x182 + x204 =L= 800;

e134..    800*b85 + 800*b86 + 800*b87 + 800*b88 + 800*b89 + 800*b90 + 800*b91
        + 800*b92 + 800*b93 + 800*b94 + 800*b95 + 800*b96 - x184 + x204 =L= 800
       ;

e135..  - 800*b1 - 800*b2 - 800*b3 - 800*b4 - 800*b5 - 800*b6 - 800*b7 - 800*b8
        - 800*b9 - 800*b10 - 800*b11 - 800*b12 - x177 + x197 =G= -800;

e136..  - 800*b2 - 800*b3 - 800*b4 - 800*b6 - 800*b7 - 800*b8 - 800*b10
        - 800*b11 - 800*b12 - x179 + x197 =G= -800;

e137..  - 800*b3 - 800*b4 - 800*b7 - 800*b8 - 800*b11 - 800*b12 - x181 + x197
        =G= -800;

e138..  - 800*b4 - 800*b8 - 800*b12 - x183 + x197 =G= -800;

e139..  - 800*b49 - 800*b50 - 800*b51 - 800*b52 - 800*b53 - 800*b54 - 800*b55
        - 800*b56 - 800*b57 - 800*b58 - 800*b59 - 800*b60 - x178 + x198
        =G= -800;

e140..  - 800*b50 - 800*b51 - 800*b52 - 800*b54 - 800*b55 - 800*b56 - 800*b58
        - 800*b59 - 800*b60 - x180 + x198 =G= -800;

e141..  - 800*b51 - 800*b52 - 800*b55 - 800*b56 - 800*b59 - 800*b60 - x182
        + x198 =G= -800;

e142..  - 800*b52 - 800*b56 - 800*b60 - x184 + x198 =G= -800;

e143..  - 800*b13 - 800*b14 - 800*b15 - 800*b16 - 800*b17 - 800*b18 - 800*b19
        - 800*b20 - 800*b21 - 800*b22 - 800*b23 - 800*b24 - x177 + x199
        =G= -800;

e144..  - 800*b14 - 800*b15 - 800*b16 - 800*b18 - 800*b19 - 800*b20 - 800*b22
        - 800*b23 - 800*b24 - x179 + x199 =G= -800;

e145..  - 800*b15 - 800*b16 - 800*b19 - 800*b20 - 800*b23 - 800*b24 - x181
        + x199 =G= -800;

e146..  - 800*b16 - 800*b20 - 800*b24 - x183 + x199 =G= -800;

e147..  - 800*b61 - 800*b62 - 800*b63 - 800*b64 - 800*b65 - 800*b66 - 800*b67
        - 800*b68 - 800*b69 - 800*b70 - 800*b71 - 800*b72 - x178 + x200
        =G= -800;

e148..  - 800*b62 - 800*b63 - 800*b64 - 800*b66 - 800*b67 - 800*b68 - 800*b70
        - 800*b71 - 800*b72 - x180 + x200 =G= -800;

e149..  - 800*b63 - 800*b64 - 800*b67 - 800*b68 - 800*b71 - 800*b72 - x182
        + x200 =G= -800;

e150..  - 800*b64 - 800*b68 - 800*b72 - x184 + x200 =G= -800;

e151..  - 800*b25 - 800*b26 - 800*b27 - 800*b28 - 800*b29 - 800*b30 - 800*b31
        - 800*b32 - 800*b33 - 800*b34 - 800*b35 - 800*b36 - x177 + x201
        =G= -800;

e152..  - 800*b26 - 800*b27 - 800*b28 - 800*b30 - 800*b31 - 800*b32 - 800*b34
        - 800*b35 - 800*b36 - x179 + x201 =G= -800;

e153..  - 800*b27 - 800*b28 - 800*b31 - 800*b32 - 800*b35 - 800*b36 - x181
        + x201 =G= -800;

e154..  - 800*b28 - 800*b32 - 800*b36 - x183 + x201 =G= -800;

e155..  - 800*b73 - 800*b74 - 800*b75 - 800*b76 - 800*b77 - 800*b78 - 800*b79
        - 800*b80 - 800*b81 - 800*b82 - 800*b83 - 800*b84 - x178 + x202
        =G= -800;

e156..  - 800*b74 - 800*b75 - 800*b76 - 800*b78 - 800*b79 - 800*b80 - 800*b82
        - 800*b83 - 800*b84 - x180 + x202 =G= -800;

e157..  - 800*b75 - 800*b76 - 800*b79 - 800*b80 - 800*b83 - 800*b84 - x182
        + x202 =G= -800;

e158..  - 800*b76 - 800*b80 - 800*b84 - x184 + x202 =G= -800;

e159..  - 800*b37 - 800*b38 - 800*b39 - 800*b40 - 800*b41 - 800*b42 - 800*b43
        - 800*b44 - 800*b45 - 800*b46 - 800*b47 - 800*b48 - x177 + x203
        =G= -800;

e160..  - 800*b38 - 800*b39 - 800*b40 - 800*b42 - 800*b43 - 800*b44 - 800*b46
        - 800*b47 - 800*b48 - x179 + x203 =G= -800;

e161..  - 800*b39 - 800*b40 - 800*b43 - 800*b44 - 800*b47 - 800*b48 - x181
        + x203 =G= -800;

e162..  - 800*b40 - 800*b44 - 800*b48 - x183 + x203 =G= -800;

e163..  - 800*b85 - 800*b86 - 800*b87 - 800*b88 - 800*b89 - 800*b90 - 800*b91
        - 800*b92 - 800*b93 - 800*b94 - 800*b95 - 800*b96 - x178 + x204
        =G= -800;

e164..  - 800*b86 - 800*b87 - 800*b88 - 800*b90 - 800*b91 - 800*b92 - 800*b94
        - 800*b95 - 800*b96 - x180 + x204 =G= -800;

e165..  - 800*b87 - 800*b88 - 800*b91 - 800*b92 - 800*b95 - 800*b96 - x182
        + x204 =G= -800;

e166..  - 800*b88 - 800*b92 - 800*b96 - x184 + x204 =G= -800;

e167..    800*b1 + 800*b5 + 800*b9 - x185 + x205 =L= 800;

e168..    800*b1 + 800*b2 + 800*b5 + 800*b6 + 800*b9 + 800*b10 - x187 + x205
        =L= 800;

e169..    800*b1 + 800*b2 + 800*b3 + 800*b5 + 800*b6 + 800*b7 + 800*b9
        + 800*b10 + 800*b11 - x189 + x205 =L= 800;

e170..    800*b1 + 800*b2 + 800*b3 + 800*b4 + 800*b5 + 800*b6 + 800*b7 + 800*b8
        + 800*b9 + 800*b10 + 800*b11 + 800*b12 - x191 + x205 =L= 800;

e171..    800*b49 + 800*b53 + 800*b57 - x186 + x206 =L= 800;

e172..    800*b49 + 800*b50 + 800*b53 + 800*b54 + 800*b57 + 800*b58 - x188
        + x206 =L= 800;

e173..    800*b49 + 800*b50 + 800*b51 + 800*b53 + 800*b54 + 800*b55 + 800*b57
        + 800*b58 + 800*b59 - x190 + x206 =L= 800;

e174..    800*b49 + 800*b50 + 800*b51 + 800*b52 + 800*b53 + 800*b54 + 800*b55
        + 800*b56 + 800*b57 + 800*b58 + 800*b59 + 800*b60 - x192 + x206 =L= 800
       ;

e175..    800*b13 + 800*b17 + 800*b21 - x185 + x207 =L= 800;

e176..    800*b13 + 800*b14 + 800*b17 + 800*b18 + 800*b21 + 800*b22 - x187
        + x207 =L= 800;

e177..    800*b13 + 800*b14 + 800*b15 + 800*b17 + 800*b18 + 800*b19 + 800*b21
        + 800*b22 + 800*b23 - x189 + x207 =L= 800;

e178..    800*b13 + 800*b14 + 800*b15 + 800*b16 + 800*b17 + 800*b18 + 800*b19
        + 800*b20 + 800*b21 + 800*b22 + 800*b23 + 800*b24 - x191 + x207 =L= 800
       ;

e179..    800*b61 + 800*b65 + 800*b69 - x186 + x208 =L= 800;

e180..    800*b61 + 800*b62 + 800*b65 + 800*b66 + 800*b69 + 800*b70 - x188
        + x208 =L= 800;

e181..    800*b61 + 800*b62 + 800*b63 + 800*b65 + 800*b66 + 800*b67 + 800*b69
        + 800*b70 + 800*b71 - x190 + x208 =L= 800;

e182..    800*b61 + 800*b62 + 800*b63 + 800*b64 + 800*b65 + 800*b66 + 800*b67
        + 800*b68 + 800*b69 + 800*b70 + 800*b71 + 800*b72 - x192 + x208 =L= 800
       ;

e183..    800*b25 + 800*b29 + 800*b33 - x185 + x209 =L= 800;

e184..    800*b25 + 800*b26 + 800*b29 + 800*b30 + 800*b33 + 800*b34 - x187
        + x209 =L= 800;

e185..    800*b25 + 800*b26 + 800*b27 + 800*b29 + 800*b30 + 800*b31 + 800*b33
        + 800*b34 + 800*b35 - x189 + x209 =L= 800;

e186..    800*b25 + 800*b26 + 800*b27 + 800*b28 + 800*b29 + 800*b30 + 800*b31
        + 800*b32 + 800*b33 + 800*b34 + 800*b35 + 800*b36 - x191 + x209 =L= 800
       ;

e187..    800*b73 + 800*b77 + 800*b81 - x186 + x210 =L= 800;

e188..    800*b73 + 800*b74 + 800*b77 + 800*b78 + 800*b81 + 800*b82 - x188
        + x210 =L= 800;

e189..    800*b73 + 800*b74 + 800*b75 + 800*b77 + 800*b78 + 800*b79 + 800*b81
        + 800*b82 + 800*b83 - x190 + x210 =L= 800;

e190..    800*b73 + 800*b74 + 800*b75 + 800*b76 + 800*b77 + 800*b78 + 800*b79
        + 800*b80 + 800*b81 + 800*b82 + 800*b83 + 800*b84 - x192 + x210 =L= 800
       ;

e191..    800*b37 + 800*b41 + 800*b45 - x185 + x211 =L= 800;

e192..    800*b37 + 800*b38 + 800*b41 + 800*b42 + 800*b45 + 800*b46 - x187
        + x211 =L= 800;

e193..    800*b37 + 800*b38 + 800*b39 + 800*b41 + 800*b42 + 800*b43 + 800*b45
        + 800*b46 + 800*b47 - x189 + x211 =L= 800;

e194..    800*b37 + 800*b38 + 800*b39 + 800*b40 + 800*b41 + 800*b42 + 800*b43
        + 800*b44 + 800*b45 + 800*b46 + 800*b47 + 800*b48 - x191 + x211 =L= 800
       ;

e195..    800*b85 + 800*b89 + 800*b93 - x186 + x212 =L= 800;

e196..    800*b85 + 800*b86 + 800*b89 + 800*b90 + 800*b93 + 800*b94 - x188
        + x212 =L= 800;

e197..    800*b85 + 800*b86 + 800*b87 + 800*b89 + 800*b90 + 800*b91 + 800*b93
        + 800*b94 + 800*b95 - x190 + x212 =L= 800;

e198..    800*b85 + 800*b86 + 800*b87 + 800*b88 + 800*b89 + 800*b90 + 800*b91
        + 800*b92 + 800*b93 + 800*b94 + 800*b95 + 800*b96 - x192 + x212 =L= 800
       ;

e199..  - 800*b1 - 800*b2 - 800*b3 - 800*b4 - 800*b5 - 800*b6 - 800*b7 - 800*b8
        - 800*b9 - 800*b10 - 800*b11 - 800*b12 - x185 + x205 =G= -800;

e200..  - 800*b2 - 800*b3 - 800*b4 - 800*b6 - 800*b7 - 800*b8 - 800*b10
        - 800*b11 - 800*b12 - x187 + x205 =G= -800;

e201..  - 800*b3 - 800*b4 - 800*b7 - 800*b8 - 800*b11 - 800*b12 - x189 + x205
        =G= -800;

e202..  - 800*b4 - 800*b8 - 800*b12 - x191 + x205 =G= -800;

e203..  - 800*b49 - 800*b50 - 800*b51 - 800*b52 - 800*b53 - 800*b54 - 800*b55
        - 800*b56 - 800*b57 - 800*b58 - 800*b59 - 800*b60 - x186 + x206
        =G= -800;

e204..  - 800*b50 - 800*b51 - 800*b52 - 800*b54 - 800*b55 - 800*b56 - 800*b58
        - 800*b59 - 800*b60 - x188 + x206 =G= -800;

e205..  - 800*b51 - 800*b52 - 800*b55 - 800*b56 - 800*b59 - 800*b60 - x190
        + x206 =G= -800;

e206..  - 800*b52 - 800*b56 - 800*b60 - x192 + x206 =G= -800;

e207..  - 800*b13 - 800*b14 - 800*b15 - 800*b16 - 800*b17 - 800*b18 - 800*b19
        - 800*b20 - 800*b21 - 800*b22 - 800*b23 - 800*b24 - x185 + x207
        =G= -800;

e208..  - 800*b14 - 800*b15 - 800*b16 - 800*b18 - 800*b19 - 800*b20 - 800*b22
        - 800*b23 - 800*b24 - x187 + x207 =G= -800;

e209..  - 800*b15 - 800*b16 - 800*b19 - 800*b20 - 800*b23 - 800*b24 - x189
        + x207 =G= -800;

e210..  - 800*b16 - 800*b20 - 800*b24 - x191 + x207 =G= -800;

e211..  - 800*b61 - 800*b62 - 800*b63 - 800*b64 - 800*b65 - 800*b66 - 800*b67
        - 800*b68 - 800*b69 - 800*b70 - 800*b71 - 800*b72 - x186 + x208
        =G= -800;

e212..  - 800*b62 - 800*b63 - 800*b64 - 800*b66 - 800*b67 - 800*b68 - 800*b70
        - 800*b71 - 800*b72 - x188 + x208 =G= -800;

e213..  - 800*b63 - 800*b64 - 800*b67 - 800*b68 - 800*b71 - 800*b72 - x190
        + x208 =G= -800;

e214..  - 800*b64 - 800*b68 - 800*b72 - x192 + x208 =G= -800;

e215..  - 800*b25 - 800*b26 - 800*b27 - 800*b28 - 800*b29 - 800*b30 - 800*b31
        - 800*b32 - 800*b33 - 800*b34 - 800*b35 - 800*b36 - x185 + x209
        =G= -800;

e216..  - 800*b26 - 800*b27 - 800*b28 - 800*b30 - 800*b31 - 800*b32 - 800*b34
        - 800*b35 - 800*b36 - x187 + x209 =G= -800;

e217..  - 800*b27 - 800*b28 - 800*b31 - 800*b32 - 800*b35 - 800*b36 - x189
        + x209 =G= -800;

e218..  - 800*b28 - 800*b32 - 800*b36 - x191 + x209 =G= -800;

e219..  - 800*b73 - 800*b74 - 800*b75 - 800*b76 - 800*b77 - 800*b78 - 800*b79
        - 800*b80 - 800*b81 - 800*b82 - 800*b83 - 800*b84 - x186 + x210
        =G= -800;

e220..  - 800*b74 - 800*b75 - 800*b76 - 800*b78 - 800*b79 - 800*b80 - 800*b82
        - 800*b83 - 800*b84 - x188 + x210 =G= -800;

e221..  - 800*b75 - 800*b76 - 800*b79 - 800*b80 - 800*b83 - 800*b84 - x190
        + x210 =G= -800;

e222..  - 800*b76 - 800*b80 - 800*b84 - x192 + x210 =G= -800;

e223..  - 800*b37 - 800*b38 - 800*b39 - 800*b40 - 800*b41 - 800*b42 - 800*b43
        - 800*b44 - 800*b45 - 800*b46 - 800*b47 - 800*b48 - x185 + x211
        =G= -800;

e224..  - 800*b38 - 800*b39 - 800*b40 - 800*b42 - 800*b43 - 800*b44 - 800*b46
        - 800*b47 - 800*b48 - x187 + x211 =G= -800;

e225..  - 800*b39 - 800*b40 - 800*b43 - 800*b44 - 800*b47 - 800*b48 - x189
        + x211 =G= -800;

e226..  - 800*b40 - 800*b44 - 800*b48 - x191 + x211 =G= -800;

e227..  - 800*b85 - 800*b86 - 800*b87 - 800*b88 - 800*b89 - 800*b90 - 800*b91
        - 800*b92 - 800*b93 - 800*b94 - 800*b95 - 800*b96 - x186 + x212
        =G= -800;

e228..  - 800*b86 - 800*b87 - 800*b88 - 800*b90 - 800*b91 - 800*b92 - 800*b94
        - 800*b95 - 800*b96 - x188 + x212 =G= -800;

e229..  - 800*b87 - 800*b88 - 800*b91 - 800*b92 - 800*b95 - 800*b96 - x190
        + x212 =G= -800;

e230..  - 800*b88 - 800*b92 - 800*b96 - x192 + x212 =G= -800;

e231.. -x217*(x205 - x197) + x113 + x114 + x115 + x116 =E= 0;

e232.. -x218*(x206 - x198) + x117 + x118 + x119 + x120 =E= 0;

e233.. -x219*(x207 - x199) + x121 + x122 + x123 + x124 =E= 0;

e234.. -x220*(x208 - x200) + x125 + x126 + x127 + x128 =E= 0;

e235.. -x221*(x209 - x201) + x129 + x130 + x131 + x132 =E= 0;

e236.. -x222*(x210 - x202) + x133 + x134 + x135 + x136 =E= 0;

e237.. -x223*(x211 - x203) + x137 + x138 + x139 + x140 =E= 0;

e238.. -x224*(x212 - x204) + x141 + x142 + x143 + x144 =E= 0;

e239..  - 1170*b1 - 1170*b2 - 1170*b3 - 1170*b4 - 1170*b5 - 1170*b6 - 1170*b7
        - 1170*b8 - 1170*b9 - 1170*b10 - 1170*b11 - 1170*b12 + x217 =L= 0;

e240..  - 1120*b49 - 1120*b50 - 1120*b51 - 1120*b52 - 1120*b53 - 1120*b54
        - 1120*b55 - 1120*b56 - 1120*b57 - 1120*b58 - 1120*b59 - 1120*b60
        + x218 =L= 0;

e241..  - 1340*b13 - 1340*b14 - 1340*b15 - 1340*b16 - 1340*b17 - 1340*b18
        - 1340*b19 - 1340*b20 - 1340*b21 - 1340*b22 - 1340*b23 - 1340*b24
        + x219 =L= 0;

e242..  - 1290*b61 - 1290*b62 - 1290*b63 - 1290*b64 - 1290*b65 - 1290*b66
        - 1290*b67 - 1290*b68 - 1290*b69 - 1290*b70 - 1290*b71 - 1290*b72
        + x220 =L= 0;

e243..  - 1340*b25 - 1340*b26 - 1340*b27 - 1340*b28 - 1340*b29 - 1340*b30
        - 1340*b31 - 1340*b32 - 1340*b33 - 1340*b34 - 1340*b35 - 1340*b36
        + x221 =L= 0;

e244..  - 1340*b73 - 1340*b74 - 1340*b75 - 1340*b76 - 1340*b77 - 1340*b78
        - 1340*b79 - 1340*b80 - 1340*b81 - 1340*b82 - 1340*b83 - 1340*b84
        + x222 =L= 0;

e245..  - 1210*b37 - 1210*b38 - 1210*b39 - 1210*b40 - 1210*b41 - 1210*b42
        - 1210*b43 - 1210*b44 - 1210*b45 - 1210*b46 - 1210*b47 - 1210*b48
        + x223 =L= 0;

e246..  - 1160*b85 - 1160*b86 - 1160*b87 - 1160*b88 - 1160*b89 - 1160*b90
        - 1160*b91 - 1160*b92 - 1160*b93 - 1160*b94 - 1160*b95 - 1160*b96
        + x224 =L= 0;

e247..    x198 - x206 + x225 =E= 0;

e248..    x200 - x208 + x226 =E= 0;

e249..    x202 - x210 + x227 =E= 0;

e250..    x204 - x212 + x228 =E= 0;

e251..    x225 - x229 =L= 0;

e252..    x226 - x229 =L= 0;

e253..    x227 - x229 =L= 0;

e254..    x228 - x229 =L= 0;

e255..    800*b97 + 800*b105 + x197 - x198 =L= 800;

e256..    800*b98 + 800*b106 + x199 - x200 =L= 800;

e257..    800*b99 + 800*b107 + x201 - x202 =L= 800;

e258..    800*b100 + 800*b108 + x203 - x204 =L= 800;

e259..  - 800*b101 - 800*b109 + x197 - x198 =G= -800;

e260..  - 800*b102 - 800*b110 + x199 - x200 =G= -800;

e261..  - 800*b103 - 800*b111 + x201 - x202 =G= -800;

e262..  - 800*b104 - 800*b112 + x203 - x204 =G= -800;

e263..    1600*b97 + 1600*b109 + x205 - x206 =L= 1600;

e264..    1600*b98 + 1600*b110 + x207 - x208 =L= 1600;

e265..    1600*b99 + 1600*b111 + x209 - x210 =L= 1600;

e266..    1600*b100 + 1600*b112 + x211 - x212 =L= 1600;

e267..  - 1600*b101 - 1600*b105 + x205 - x206 =G= -1600;

e268..  - 1600*b102 - 1600*b106 + x207 - x208 =G= -1600;

e269..  - 1600*b103 - 1600*b107 + x209 - x210 =G= -1600;

e270..  - 1600*b104 - 1600*b108 + x211 - x212 =G= -1600;

e271..  - 800*b97 - 800*b101 - 800*b105 - 800*b109 - x198 + x205 =G= -800;

e272..  - 800*b98 - 800*b102 - 800*b106 - 800*b110 - x200 + x207 =G= -800;

e273..  - 800*b99 - 800*b103 - 800*b107 - 800*b111 - x202 + x209 =G= -800;

e274..  - 800*b100 - 800*b104 - 800*b108 - 800*b112 - x204 + x211 =G= -800;

e275..  - 800*b97 - 800*b101 - 800*b105 - 800*b109 - x197 + x206 =G= -800;

e276..  - 800*b98 - 800*b102 - 800*b106 - 800*b110 - x199 + x208 =G= -800;

e277..  - 800*b99 - 800*b103 - 800*b107 - 800*b111 - x201 + x210 =G= -800;

e278..  - 800*b100 - 800*b104 - 800*b108 - 800*b112 - x203 + x212 =G= -800;

e279.. -(x198 - x197)*x217 - 896000*b97 + x193 =G= -896000;

e280.. -(x200 - x199)*x219 - 1032000*b98 + x194 =G= -1032000;

e281.. -(x202 - x201)*x221 - 1072000*b99 + x195 =G= -1072000;

e282.. -(x204 - x203)*x223 - 928000*b100 + x196 =G= -928000;

e283.. -(x206 - x205)*x218 - 896000*b97 + x193 =G= -896000;

e284.. -(x208 - x207)*x220 - 1032000*b98 + x194 =G= -1032000;

e285.. -(x210 - x209)*x222 - 1072000*b99 + x195 =G= -1072000;

e286.. -(x212 - x211)*x224 - 928000*b100 + x196 =G= -928000;

e287.. -(x197 - x198)*x218 - 896000*b101 + x193 =G= -896000;

e288.. -(x199 - x200)*x220 - 1032000*b102 + x194 =G= -1032000;

e289.. -(x201 - x202)*x222 - 1072000*b103 + x195 =G= -1072000;

e290.. -(x203 - x204)*x224 - 928000*b104 + x196 =G= -928000;

e291.. -(x205 - x206)*x217 - 896000*b101 + x193 =G= -896000;

e292.. -(x207 - x208)*x219 - 1032000*b102 + x194 =G= -1032000;

e293.. -(x209 - x210)*x221 - 1072000*b103 + x195 =G= -1072000;

e294.. -(x211 - x212)*x223 - 928000*b104 + x196 =G= -928000;

e295.. -(x218 - x217)*(x206 - x198) - 896000*b105 + x193 =G= -896000;

e296.. -(x220 - x219)*(x208 - x200) - 1032000*b106 + x194 =G= -1032000;

e297.. -(x222 - x221)*(x210 - x202) - 1072000*b107 + x195 =G= -1072000;

e298.. -(x224 - x223)*(x212 - x204) - 928000*b108 + x196 =G= -928000;

e299.. -(x217 - x218)*(x205 - x197) - 896000*b109 + x193 =G= -896000;

e300.. -(x219 - x220)*(x207 - x199) - 1032000*b110 + x194 =G= -1032000;

e301.. -(x221 - x222)*(x209 - x201) - 1072000*b111 + x195 =G= -1072000;

e302.. -(x223 - x224)*(x211 - x203) - 928000*b112 + x196 =G= -928000;

e303..    896000*b97 + 896000*b101 + 896000*b105 + 896000*b109 - x113 - x114
        - x115 - x116 + x193 =G= 0;

e304..    1032000*b98 + 1032000*b102 + 1032000*b106 + 1032000*b110 - x121
        - x122 - x123 - x124 + x194 =G= 0;

e305..    1072000*b99 + 1072000*b103 + 1072000*b107 + 1072000*b111 - x129
        - x130 - x131 - x132 + x195 =G= 0;

e306..    928000*b100 + 928000*b104 + 928000*b108 + 928000*b112 - x137 - x138
        - x139 - x140 + x196 =G= 0;

e307..    3*b49 + 3*b50 + 3*b51 + 3*b52 + 3*b53 + 3*b54 + 3*b55 + 3*b56
        + 12*b57 + 12*b58 + 12*b59 + 12*b60 + 3*b61 + 3*b62 + 3*b63 + 3*b64
        + b65 + b66 + b67 + b68 + 12*b69 + 12*b70 + 12*b71 + 12*b72 + 3*b73
        + 3*b74 + 3*b75 + 3*b76 + b77 + b78 + b79 + b80 + 12*b81 + 12*b82
        + 12*b83 + 12*b84 + 12*b85 + 12*b86 + 12*b87 + 12*b88 + 12*b89 + 12*b90
        + 12*b91 + 12*b92 + 12*b93 + 12*b94 + 12*b95 + 12*b96 + x225 + x226
        + x227 + x228 - x229 =E= 0;

* set non-default bounds
x145.fx = 0;
x146.fx = 0;
x147.fx = 0;
x148.fx = 0;
x149.fx = 0;
x150.fx = 0;
x151.fx = 0;
x152.fx = 0;
x153.fx = 0;
x154.fx = 0;
x155.fx = 0;
x156.fx = 0;
x157.fx = 0;
x158.fx = 0;
x159.fx = 0;
x160.fx = 0;
x161.fx = 0;
x162.fx = 0;
x163.fx = 0;
x164.fx = 0;
x165.fx = 0;
x166.fx = 0;
x167.fx = 0;
x168.fx = 0;
x169.fx = 0;
x170.fx = 0;
x171.fx = 0;
x172.fx = 0;
x173.fx = 0;
x174.fx = 0;
x175.fx = 0;
x176.fx = 0;
x177.fx = 0;
x178.up = 800;
x179.up = 800;
x180.up = 800;
x181.up = 800;
x182.up = 800;
x183.up = 800;
x184.up = 800;
x185.up = 1600;
x186.up = 1600;
x187.up = 1600;
x188.up = 1600;
x189.up = 1600;
x190.up = 1600;
x191.up = 1600;
x192.up = 1600;
x197.up = 800;
x198.up = 800;
x199.up = 800;
x200.up = 800;
x201.up = 800;
x202.up = 800;
x203.up = 800;
x204.up = 800;
x205.up = 1600;
x206.up = 1600;
x207.up = 1600;
x208.up = 1600;
x209.up = 1600;
x210.up = 1600;
x211.up = 1600;
x212.up = 1600;
x213.lo = 60;
x214.lo = 54;
x215.lo = 500;
x216.lo = 45;
x225.lo = 21.4285714285714; x225.up = 800;
x226.lo = 16.7441860465116; x226.up = 800;
x227.lo = 149.253731343284; x227.up = 800;
x228.lo = 15.5172413793103; x228.up = 800;
x229.lo = 400; x229.up = 800;

* set non-default levels
x217.l = 1170;
x218.l = 1120;
x219.l = 1340;
x220.l = 1290;
x221.l = 1340;
x222.l = 1340;
x223.l = 1210;
x224.l = 1160;

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: 2024-12-17 Git hash: 8eaceb91
Imprint / Privacy Policy / License: CC-BY 4.0