QPLIB

A Library of Quadratic Programming Instances

Home // browse instances // view statistics // read documentation // download QPLIB archive [ 1.5G ]

QPLIB_3816

Formats gms lp mod qplib
Problem type probtype LMQ
Solution point objective value solobjvalue 7.39360000 (gdx, sol)
Solution point infeasibility solinfeasibility 1.3697e-14
Donor donor Stefan Vigerske
#Variables nvars 187
#Binary Variables nbinvars 70
#Integer Variables nintvars 0
#Bounded non-binary Variables nboundedvars 74
#Variables with only one bound nsingleboundedvars 0
#Nonlinear Variables nnlvars 74
#Nonlinear Binary Variables nnlbinvars 0
#Nonlinear Integer Variables nnlintvars 0
Objective Sense objsense max
Objective type objtype linear
Objective curvature objcurvature linear
#Negative eigenvalues in objective matrix nobjquadnegev  
#Positive eigenvalues in objective matrix nobjquadposev  
#Nonzeros in Objective nobjnz 140
#Nonlinear Nonzeros in Objective nobjnlnz 0
#Quadratic Terms in Objective nobjquadnz 0
#Square Terms in Objective nobjquaddiagnz 0
#Constraints ncons 387
#Linear Constraints nlincons 363
#Quadratic Constraints nquadcons 24
#Diagonal Quadratic Constraints ndiagquadcons 0
Constraints curvature conscurvature indefinite
#Convex Nonlinear Constraints nconvexnlcons 0
#Concave Nonlinear Constraints nconcavenlcons 0
#Indefinite Nonlinear Constraints nindefinitenlcons 24
#Nonzeros in Jacobian njacobiannz 1178
#Nonlinear Nonzeros in Jacobian njacobiannlnz 244
#Nonzeros in (Upper-Left) Hessian of Lagrangian nlaghessiannz 200
#Nonzeros in Diagonal of Hessian of Lagrangian nlaghessiandiagnz 0
#Blocks in Hessian of Lagrangian nlaghessianblocks 12
Minimal blocksize in Hessian of Lagrangian laghessianminblocksize 3
Maximal blocksize in Hessian of Lagrangian laghessianmaxblocksize 8
Average blocksize in Hessian of Lagrangian laghessianavgblocksize 6.166667
Sparsity Jacobian
Sparsity Lag. Hessian

QPLIB_3816.gms

$offlisting
*  
*  Equation counts
*      Total        E        G        L        N        X        C        B
*        388       48       32      308        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        188      118       70        0        0        0        0        0
*  FX      0        0        0        0        0        0        0        0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       1319     1075      244        0
*
*  Solve m using MIQCP maximizing 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,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,b113,b114,b115
          ,b116,b117,b118,b119,b120,b121,b122,b123,b124,b125,b126,b127,b128
          ,b129,b130,b131,b132,b133,b134,b135,b136,b137,b138,b139,b140,b141
          ,b142,b143,b144,b145,b146,b147,b148,b149,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;

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,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;

Binary Variables  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,b113,b114,b115,b116,b117,b118,b119,b120,b121
          ,b122,b123,b124,b125,b126,b127,b128,b129,b130,b131,b132,b133,b134
          ,b135,b136,b137,b138,b139,b140,b141,b142,b143,b144,b145,b146,b147
          ,b148,b149;

Equations  e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,e11,e12,e13,e14,e15,e16,e17,e18,e19
          ,e20,e21,e22,e23,e24,e25,e26,e27,e28,e29,e30,e31,e32,e33,e34,e35,e36
          ,e37,e38,e39,e40,e41,e42,e43,e44,e45,e46,e47,e48,e49,e50,e51,e52,e53
          ,e54,e55,e56,e57,e58,e59,e60,e61,e62,e63,e64,e65,e66,e67,e68,e69,e70
          ,e71,e72,e73,e74,e75,e76,e77,e78,e79,e80,e81,e82,e83,e84,e85,e86,e87
          ,e88,e89,e90,e91,e92,e93,e94,e95,e96,e97,e98,e99,e100,e101,e102,e103
          ,e104,e105,e106,e107,e108,e109,e110,e111,e112,e113,e114,e115,e116
          ,e117,e118,e119,e120,e121,e122,e123,e124,e125,e126,e127,e128,e129
          ,e130,e131,e132,e133,e134,e135,e136,e137,e138,e139,e140,e141,e142
          ,e143,e144,e145,e146,e147,e148,e149,e150,e151,e152,e153,e154,e155
          ,e156,e157,e158,e159,e160,e161,e162,e163,e164,e165,e166,e167,e168
          ,e169,e170,e171,e172,e173,e174,e175,e176,e177,e178,e179,e180,e181
          ,e182,e183,e184,e185,e186,e187,e188,e189,e190,e191,e192,e193,e194
          ,e195,e196,e197,e198,e199,e200,e201,e202,e203,e204,e205,e206,e207
          ,e208,e209,e210,e211,e212,e213,e214,e215,e216,e217,e218,e219,e220
          ,e221,e222,e223,e224,e225,e226,e227,e228,e229,e230,e231,e232,e233
          ,e234,e235,e236,e237,e238,e239,e240,e241,e242,e243,e244,e245,e246
          ,e247,e248,e249,e250,e251,e252,e253,e254,e255,e256,e257,e258,e259
          ,e260,e261,e262,e263,e264,e265,e266,e267,e268,e269,e270,e271,e272
          ,e273,e274,e275,e276,e277,e278,e279,e280,e281,e282,e283,e284,e285
          ,e286,e287,e288,e289,e290,e291,e292,e293,e294,e295,e296,e297,e298
          ,e299,e300,e301,e302,e303,e304,e305,e306,e307,e308,e309,e310,e311
          ,e312,e313,e314,e315,e316,e317,e318,e319,e320,e321,e322,e323,e324
          ,e325,e326,e327,e328,e329,e330,e331,e332,e333,e334,e335,e336,e337
          ,e338,e339,e340,e341,e342,e343,e344,e345,e346,e347,e348,e349,e350
          ,e351,e352,e353,e354,e355,e356,e357,e358,e359,e360,e361,e362,e363
          ,e364,e365,e366,e367,e368,e369,e370,e371,e372,e373,e374,e375,e376
          ,e377,e378,e379,e380,e381,e382,e383,e384,e385,e386,e387,e388;


e1..  - objvar - 0.33*x2 - 0.33*x3 - 0.33*x4 - 0.37*x5 - 0.37*x6 - 0.37*x7
      - 0.76*x8 - 0.76*x9 - 0.76*x10 - 1.18*x11 - 1.18*x12 - 1.18*x13
      - 1.06*x14 - 1.06*x15 - 1.06*x16 - 0.58*x17 - 0.58*x18 - 0.58*x19
      + 5.48*x20 + 5.48*x21 + 5.48*x22 - 0.23*x23 - 0.23*x24 - 0.23*x25
      - 0.58*x26 - 0.58*x27 - 0.58*x28 - 0.29*x29 - 0.29*x30 - 0.29*x31
      + 7.83*x32 + 7.83*x33 + 4.82*x34 + 4.82*x35 - 0.34*x36 - 0.34*x37
      - 0.34*x38 - 0.11*x39 - 0.11*x40 - 0.11*x41 + 7.22*x42 + 7.22*x43
      + 5.54*x44 + 5.54*x45 - 0.02*x46 - 0.02*x47 - 0.02*x48 - 0.31*x49
      - 0.31*x50 - 0.31*x51 - 0.18*x52 - 0.18*x53 - 0.18*x54 + 8.01*x55
      + 8.01*x56 + 5.33*x57 + 5.33*x58 - 0.7*x59 - 0.7*x60 - 0.7*x61 - 0.03*x62
      - 0.03*x63 - 0.03*x64 - 0.32*x65 - 0.32*x66 - 0.32*x67 + 7.45*x68
      + 7.45*x69 + 4.98*x70 + 4.98*x71 - 0.18*b80 - 0.18*b81 - 0.18*b82 - b83
      - b84 - b85 - 0.03*b86 - 0.03*b87 - 0.03*b88 - 0.46*b89 - 0.46*b90
      - 0.46*b91 - 0.16*b92 - 0.16*b93 - 0.16*b94 - 0.64*b95 - 0.64*b96
      - 0.64*b97 - 0.48*b98 - 0.48*b99 - 0.48*b100 - 0.59*b101 - 0.59*b102
      - 0.59*b103 - 0.38*b104 - 0.38*b105 - 0.38*b106 - 0.25*b107 - 0.25*b108
      - 0.25*b109 - 0.62*b110 - 0.62*b111 - 0.82*b112 - 0.82*b113 - 0.73*b114
      - 0.73*b115 - 0.73*b116 - 0.58*b117 - 0.58*b118 - 0.58*b119 - 0.91*b120
      - 0.91*b121 - 0.82*b122 - 0.82*b123 - 0.59*b124 - 0.59*b125 - 0.59*b126
      - 0.43*b127 - 0.43*b128 - 0.43*b129 - 0.16*b130 - 0.16*b131 - 0.16*b132
      - 0.42*b133 - 0.42*b134 - 0.6*b135 - 0.6*b136 - 0.7*b137 - 0.7*b138
      - 0.7*b139 - 0.64*b140 - 0.64*b141 - 0.64*b142 - 0.07*b143 - 0.07*b144
      - 0.07*b145 - 0.53*b146 - 0.53*b147 - 0.41*b148 - 0.41*b149 =E= 0;

e2..    x2 + x5 + x8 + x150 =E= 1.1;

e3..    x11 + x14 + x17 + x20 + x151 =E= 2.1;

e4..  - x11 + x23 + x26 + x29 - x36 - x46 - x59 + x152 =E= 1;

e5..  - x2 - x14 - x23 + x36 + x39 - x49 - x62 + x153 =E= 1;

e6..  - x5 - x26 + x46 + x49 + x52 - x65 + x154 =E= 1.8;

e7..  - x8 - x17 - x29 - x39 - x52 + x59 + x62 + x65 + x155 =E= 1.2;

e8..  - x20 + x156 =E= 1.57;

e9..    x3 + x6 + x9 - x150 + x157 =E= 0.8;

e10..    x4 + x7 + x10 - x157 + x158 =E= 0.4;

e11..    x12 + x15 + x18 + x21 - x151 + x159 =E= 0.5;

e12..    x13 + x16 + x19 + x22 - x159 + x160 =E= 0.8;

e13..  - x12 + x24 + x27 + x30 + x32 + x34 - x37 - x47 - x60 - x152 + x161
       =E= 0;

e14..  - x13 + x25 + x28 + x31 + x33 + x35 - x38 - x48 - x61 - x161 + x162
       =E= 0;

e15..  - x3 - x15 - x24 + x37 + x40 + x42 + x44 - x50 - x63 - x153 + x163 =E= 0
      ;

e16..  - x4 - x16 - x25 + x38 + x41 + x43 + x45 - x51 - x64 - x163 + x164 =E= 0
      ;

e17..  - x6 - x27 + x47 + x50 + x53 + x55 + x57 - x66 - x154 + x165 =E= 0;

e18..  - x7 - x28 + x48 + x51 + x54 + x56 + x58 - x67 - x165 + x166 =E= 0;

e19..  - x9 - x18 - x30 - x40 - x53 + x60 + x63 + x66 + x68 + x70 - x155 + x167
       =E= 0;

e20..  - x10 - x19 - x31 - x41 - x54 + x61 + x64 + x67 + x69 + x71 - x167
       + x168 =E= 0;

e21..  - x32 - x42 - x55 - x68 + x169 =E= 0.95;

e22..  - x33 - x43 - x56 - x69 - x169 + x170 =E= -0.83;

e23..  - x21 - x34 - x44 - x57 - x70 - x156 + x171 =E= -0.39;

e24..  - x22 - x35 - x45 - x58 - x71 - x171 + x172 =E= -0.8;

e25..    x2 - b80 =L= 0;

e26..    x3 - b81 =L= 0;

e27..    x4 - b82 =L= 0;

e28..    x5 - b83 =L= 0;

e29..    x6 - b84 =L= 0;

e30..    x7 - b85 =L= 0;

e31..    x8 - b86 =L= 0;

e32..    x9 - b87 =L= 0;

e33..    x10 - b88 =L= 0;

e34..    x11 - b89 =L= 0;

e35..    x12 - b90 =L= 0;

e36..    x13 - b91 =L= 0;

e37..    x14 - b92 =L= 0;

e38..    x15 - b93 =L= 0;

e39..    x16 - b94 =L= 0;

e40..    x17 - b95 =L= 0;

e41..    x18 - b96 =L= 0;

e42..    x19 - b97 =L= 0;

e43..    x20 - b98 =L= 0;

e44..    x21 - b99 =L= 0;

e45..    x22 - b100 =L= 0;

e46..    x23 - b101 =L= 0;

e47..    x24 - b102 =L= 0;

e48..    x25 - b103 =L= 0;

e49..    x26 - b104 =L= 0;

e50..    x27 - b105 =L= 0;

e51..    x28 - b106 =L= 0;

e52..    x29 - b107 =L= 0;

e53..    x30 - b108 =L= 0;

e54..    x31 - b109 =L= 0;

e55..    x32 - b110 =L= 0;

e56..    x33 - b111 =L= 0;

e57..    x34 - b112 =L= 0;

e58..    x35 - b113 =L= 0;

e59..    x36 - b114 =L= 0;

e60..    x37 - b115 =L= 0;

e61..    x38 - b116 =L= 0;

e62..    x39 - b117 =L= 0;

e63..    x40 - b118 =L= 0;

e64..    x41 - b119 =L= 0;

e65..    x42 - b120 =L= 0;

e66..    x43 - b121 =L= 0;

e67..    x44 - b122 =L= 0;

e68..    x45 - b123 =L= 0;

e69..    x46 - b124 =L= 0;

e70..    x47 - b125 =L= 0;

e71..    x48 - b126 =L= 0;

e72..    x49 - b127 =L= 0;

e73..    x50 - b128 =L= 0;

e74..    x51 - b129 =L= 0;

e75..    x52 - b130 =L= 0;

e76..    x53 - b131 =L= 0;

e77..    x54 - b132 =L= 0;

e78..    x55 - b133 =L= 0;

e79..    x56 - b134 =L= 0;

e80..    x57 - b135 =L= 0;

e81..    x58 - b136 =L= 0;

e82..    x59 - b137 =L= 0;

e83..    x60 - b138 =L= 0;

e84..    x61 - b139 =L= 0;

e85..    x62 - b140 =L= 0;

e86..    x63 - b141 =L= 0;

e87..    x64 - b142 =L= 0;

e88..    x65 - b143 =L= 0;

e89..    x66 - b144 =L= 0;

e90..    x67 - b145 =L= 0;

e91..    x68 - b146 =L= 0;

e92..    x69 - b147 =L= 0;

e93..    x70 - b148 =L= 0;

e94..    x71 - b149 =L= 0;

e95..    b110 - x173 =L= 0.1;

e96..    b111 - x174 =L= 0.1;

e97..    b112 - x173 =L= 0.5;

e98..    b113 - x174 =L= 0.5;

e99..    b120 - x175 =L= 0.1;

e100..    b121 - x176 =L= 0.1;

e101..    b122 - x175 =L= 0.5;

e102..    b123 - x176 =L= 0.5;

e103..    b133 - x177 =L= 0.1;

e104..    b134 - x178 =L= 0.1;

e105..    b135 - x177 =L= 0.5;

e106..    b136 - x178 =L= 0.5;

e107..    b146 - x179 =L= 0.1;

e108..    b147 - x180 =L= 0.1;

e109..    b148 - x179 =L= 0.5;

e110..    b149 - x180 =L= 0.5;

e111..    b110 - x181 =L= 1;

e112..    b111 - x182 =L= 1;

e113..    b112 - x181 =L= 0.8;

e114..    b113 - x182 =L= 0.8;

e115..    b120 - x183 =L= 1;

e116..    b121 - x184 =L= 1;

e117..    b122 - x183 =L= 0.8;

e118..    b123 - x184 =L= 0.8;

e119..    b133 - x185 =L= 1;

e120..    b134 - x186 =L= 1;

e121..    b135 - x185 =L= 0.8;

e122..    b136 - x186 =L= 0.8;

e123..    b146 - x187 =L= 1;

e124..    b147 - x188 =L= 1;

e125..    b148 - x187 =L= 0.8;

e126..    b149 - x188 =L= 0.8;

e127..  - b110 - x173 =G= -2;

e128..  - b111 - x174 =G= -2;

e129..  - b112 - x173 =G= -1.9;

e130..  - b113 - x174 =G= -1.9;

e131..  - b120 - x175 =G= -2;

e132..  - b121 - x176 =G= -2;

e133..  - b122 - x175 =G= -1.9;

e134..  - b123 - x176 =G= -1.9;

e135..  - b133 - x177 =G= -2;

e136..  - b134 - x178 =G= -2;

e137..  - b135 - x177 =G= -1.9;

e138..  - b136 - x178 =G= -1.9;

e139..  - b146 - x179 =G= -2;

e140..  - b147 - x180 =G= -2;

e141..  - b148 - x179 =G= -1.9;

e142..  - b149 - x180 =G= -1.9;

e143..  - b110 - x181 =G= -1.5;

e144..  - b111 - x182 =G= -1.5;

e145..  - b112 - x181 =G= -1.6;

e146..  - b113 - x182 =G= -1.6;

e147..  - b120 - x183 =G= -1.5;

e148..  - b121 - x184 =G= -1.5;

e149..  - b122 - x183 =G= -1.6;

e150..  - b123 - x184 =G= -1.6;

e151..  - b133 - x185 =G= -1.5;

e152..  - b134 - x186 =G= -1.5;

e153..  - b135 - x185 =G= -1.6;

e154..  - b136 - x186 =G= -1.6;

e155..  - b146 - x187 =G= -1.5;

e156..  - b147 - x188 =G= -1.5;

e157..  - b148 - x187 =G= -1.6;

e158..  - b149 - x188 =G= -1.6;

e159..    b89 + b101 =L= 1;

e160..    b90 + b102 =L= 1;

e161..    b91 + b103 =L= 1;

e162..    b89 + b104 =L= 1;

e163..    b90 + b105 =L= 1;

e164..    b91 + b106 =L= 1;

e165..    b89 + b107 =L= 1;

e166..    b90 + b108 =L= 1;

e167..    b91 + b109 =L= 1;

e168..    b90 + b110 =L= 1;

e169..    b91 + b111 =L= 1;

e170..    b90 + b112 =L= 1;

e171..    b91 + b113 =L= 1;

e172..    b101 + b114 =L= 1;

e173..    b102 + b115 =L= 1;

e174..    b103 + b116 =L= 1;

e175..    b104 + b114 =L= 1;

e176..    b105 + b115 =L= 1;

e177..    b106 + b116 =L= 1;

e178..    b107 + b114 =L= 1;

e179..    b108 + b115 =L= 1;

e180..    b109 + b116 =L= 1;

e181..    b110 + b115 =L= 1;

e182..    b111 + b116 =L= 1;

e183..    b112 + b115 =L= 1;

e184..    b113 + b116 =L= 1;

e185..    b101 + b124 =L= 1;

e186..    b102 + b125 =L= 1;

e187..    b103 + b126 =L= 1;

e188..    b104 + b124 =L= 1;

e189..    b105 + b125 =L= 1;

e190..    b106 + b126 =L= 1;

e191..    b107 + b124 =L= 1;

e192..    b108 + b125 =L= 1;

e193..    b109 + b126 =L= 1;

e194..    b110 + b125 =L= 1;

e195..    b111 + b126 =L= 1;

e196..    b112 + b125 =L= 1;

e197..    b113 + b126 =L= 1;

e198..    b101 + b137 =L= 1;

e199..    b102 + b138 =L= 1;

e200..    b103 + b139 =L= 1;

e201..    b104 + b137 =L= 1;

e202..    b105 + b138 =L= 1;

e203..    b106 + b139 =L= 1;

e204..    b107 + b137 =L= 1;

e205..    b108 + b138 =L= 1;

e206..    b109 + b139 =L= 1;

e207..    b110 + b138 =L= 1;

e208..    b111 + b139 =L= 1;

e209..    b112 + b138 =L= 1;

e210..    b113 + b139 =L= 1;

e211..    b80 + b114 =L= 1;

e212..    b81 + b115 =L= 1;

e213..    b82 + b116 =L= 1;

e214..    b80 + b117 =L= 1;

e215..    b81 + b118 =L= 1;

e216..    b82 + b119 =L= 1;

e217..    b81 + b120 =L= 1;

e218..    b82 + b121 =L= 1;

e219..    b81 + b122 =L= 1;

e220..    b82 + b123 =L= 1;

e221..    b92 + b114 =L= 1;

e222..    b93 + b115 =L= 1;

e223..    b94 + b116 =L= 1;

e224..    b92 + b117 =L= 1;

e225..    b93 + b118 =L= 1;

e226..    b94 + b119 =L= 1;

e227..    b93 + b120 =L= 1;

e228..    b94 + b121 =L= 1;

e229..    b93 + b122 =L= 1;

e230..    b94 + b123 =L= 1;

e231..    b101 + b114 =L= 1;

e232..    b102 + b115 =L= 1;

e233..    b103 + b116 =L= 1;

e234..    b101 + b117 =L= 1;

e235..    b102 + b118 =L= 1;

e236..    b103 + b119 =L= 1;

e237..    b102 + b120 =L= 1;

e238..    b103 + b121 =L= 1;

e239..    b102 + b122 =L= 1;

e240..    b103 + b123 =L= 1;

e241..    b114 + b127 =L= 1;

e242..    b115 + b128 =L= 1;

e243..    b116 + b129 =L= 1;

e244..    b117 + b127 =L= 1;

e245..    b118 + b128 =L= 1;

e246..    b119 + b129 =L= 1;

e247..    b120 + b128 =L= 1;

e248..    b121 + b129 =L= 1;

e249..    b122 + b128 =L= 1;

e250..    b123 + b129 =L= 1;

e251..    b114 + b140 =L= 1;

e252..    b115 + b141 =L= 1;

e253..    b116 + b142 =L= 1;

e254..    b117 + b140 =L= 1;

e255..    b118 + b141 =L= 1;

e256..    b119 + b142 =L= 1;

e257..    b120 + b141 =L= 1;

e258..    b121 + b142 =L= 1;

e259..    b122 + b141 =L= 1;

e260..    b123 + b142 =L= 1;

e261..    b83 + b124 =L= 1;

e262..    b84 + b125 =L= 1;

e263..    b85 + b126 =L= 1;

e264..    b83 + b127 =L= 1;

e265..    b84 + b128 =L= 1;

e266..    b85 + b129 =L= 1;

e267..    b83 + b130 =L= 1;

e268..    b84 + b131 =L= 1;

e269..    b85 + b132 =L= 1;

e270..    b84 + b133 =L= 1;

e271..    b85 + b134 =L= 1;

e272..    b84 + b135 =L= 1;

e273..    b85 + b136 =L= 1;

e274..    b104 + b124 =L= 1;

e275..    b105 + b125 =L= 1;

e276..    b106 + b126 =L= 1;

e277..    b104 + b127 =L= 1;

e278..    b105 + b128 =L= 1;

e279..    b106 + b129 =L= 1;

e280..    b104 + b130 =L= 1;

e281..    b105 + b131 =L= 1;

e282..    b106 + b132 =L= 1;

e283..    b105 + b133 =L= 1;

e284..    b106 + b134 =L= 1;

e285..    b105 + b135 =L= 1;

e286..    b106 + b136 =L= 1;

e287..    b124 + b143 =L= 1;

e288..    b125 + b144 =L= 1;

e289..    b126 + b145 =L= 1;

e290..    b127 + b143 =L= 1;

e291..    b128 + b144 =L= 1;

e292..    b129 + b145 =L= 1;

e293..    b130 + b143 =L= 1;

e294..    b131 + b144 =L= 1;

e295..    b132 + b145 =L= 1;

e296..    b133 + b144 =L= 1;

e297..    b134 + b145 =L= 1;

e298..    b135 + b144 =L= 1;

e299..    b136 + b145 =L= 1;

e300..    b86 + b137 =L= 1;

e301..    b87 + b138 =L= 1;

e302..    b88 + b139 =L= 1;

e303..    b86 + b140 =L= 1;

e304..    b87 + b141 =L= 1;

e305..    b88 + b142 =L= 1;

e306..    b86 + b143 =L= 1;

e307..    b87 + b144 =L= 1;

e308..    b88 + b145 =L= 1;

e309..    b87 + b146 =L= 1;

e310..    b88 + b147 =L= 1;

e311..    b87 + b148 =L= 1;

e312..    b88 + b149 =L= 1;

e313..    b95 + b137 =L= 1;

e314..    b96 + b138 =L= 1;

e315..    b97 + b139 =L= 1;

e316..    b95 + b140 =L= 1;

e317..    b96 + b141 =L= 1;

e318..    b97 + b142 =L= 1;

e319..    b95 + b143 =L= 1;

e320..    b96 + b144 =L= 1;

e321..    b97 + b145 =L= 1;

e322..    b96 + b146 =L= 1;

e323..    b97 + b147 =L= 1;

e324..    b96 + b148 =L= 1;

e325..    b97 + b149 =L= 1;

e326..    b107 + b137 =L= 1;

e327..    b108 + b138 =L= 1;

e328..    b109 + b139 =L= 1;

e329..    b107 + b140 =L= 1;

e330..    b108 + b141 =L= 1;

e331..    b109 + b142 =L= 1;

e332..    b107 + b143 =L= 1;

e333..    b108 + b144 =L= 1;

e334..    b109 + b145 =L= 1;

e335..    b108 + b146 =L= 1;

e336..    b109 + b147 =L= 1;

e337..    b108 + b148 =L= 1;

e338..    b109 + b149 =L= 1;

e339..    b117 + b137 =L= 1;

e340..    b118 + b138 =L= 1;

e341..    b119 + b139 =L= 1;

e342..    b117 + b140 =L= 1;

e343..    b118 + b141 =L= 1;

e344..    b119 + b142 =L= 1;

e345..    b117 + b143 =L= 1;

e346..    b118 + b144 =L= 1;

e347..    b119 + b145 =L= 1;

e348..    b118 + b146 =L= 1;

e349..    b119 + b147 =L= 1;

e350..    b118 + b148 =L= 1;

e351..    b119 + b149 =L= 1;

e352..    b130 + b137 =L= 1;

e353..    b131 + b138 =L= 1;

e354..    b132 + b139 =L= 1;

e355..    b130 + b140 =L= 1;

e356..    b131 + b141 =L= 1;

e357..    b132 + b142 =L= 1;

e358..    b130 + b143 =L= 1;

e359..    b131 + b144 =L= 1;

e360..    b132 + b145 =L= 1;

e361..    b131 + b146 =L= 1;

e362..    b132 + b147 =L= 1;

e363..    b131 + b148 =L= 1;

e364..    b132 + b149 =L= 1;

e365.. x173*x152 - 0.7*x11 + 0.1*x23 + 0.1*x26 + 0.1*x29 - 0.5*x46 - 0.8*x59
        =E= 0.1;

e366.. x175*x153 - 0.7*x2 - 0.7*x14 - 0.1*x23 - 0.5*x49 - 0.8*x62 =E= 0;

e367.. x177*x154 - 0.7*x5 - 0.1*x26 + 0.5*x46 + 0.5*x49 + 0.5*x52 - 0.8*x65
        =E= 0.9;

e368.. x179*x155 - 0.7*x8 - 0.7*x17 - 0.1*x29 - 0.5*x52 + 0.8*x59 + 0.8*x62
        + 0.8*x65 =E= 0.96;

e369.. x181*x152 - 0.5*x11 + 0.7*x23 + 0.7*x26 + 0.7*x29 - 0.1*x36 - 0.1*x46
        - 0.8*x59 =E= 0.7;

e370.. x183*x153 - 0.1*x2 - 0.5*x14 - 0.7*x23 + 0.1*x36 + 0.1*x39 - 0.1*x49
        - 0.8*x62 =E= 0.1;

e371.. x185*x154 - 0.1*x5 - 0.7*x26 + 0.1*x46 + 0.1*x49 + 0.1*x52 - 0.8*x65
        =E= 0.18;

e372.. x187*x155 - 0.1*x8 - 0.5*x17 - 0.7*x29 - 0.1*x39 - 0.1*x52 + 0.8*x59
        + 0.8*x62 + 0.8*x65 =E= 0.96;

e373.. x173*x24 + x173*x27 + x173*x30 + x173*x32 + x173*x34 - x175*x37 - x177*
       x47 - x179*x60 - x173*x152 + x174*x161 - 0.7*x12 =E= 0;

e374.. x174*x25 + x174*x28 + x174*x31 + x174*x33 + x174*x35 - x176*x38 - x178*
       x48 - x180*x61 + x162*x72 - x174*x161 - 0.7*x13 =E= 0;

e375.. x175*x37 - x173*x24 + x175*x40 + x175*x42 + x175*x44 - x177*x50 - x179*
       x63 - x175*x153 + x176*x163 - 0.7*x3 - 0.7*x15 =E= 0;

e376.. x176*x38 - x174*x25 + x176*x41 + x176*x43 + x176*x45 - x178*x51 - x180*
       x64 + x164*x73 - x176*x163 - 0.7*x4 - 0.7*x16 =E= 0;

e377.. x177*x47 - x173*x27 + x177*x50 + x177*x53 + x177*x55 + x177*x57 - x179*
       x66 - x177*x154 + x178*x165 - 0.7*x6 =E= 0;

e378.. x178*x48 - x174*x28 + x178*x51 + x178*x54 + x178*x56 + x178*x58 - x180*
       x67 + x166*x74 - x178*x165 - 0.7*x7 =E= 0;

e379.. (-x173*x30) - x175*x40 - x177*x53 + x179*x60 + x179*x63 + x179*x66 + 
       x179*x68 + x179*x70 - x179*x155 + x180*x167 - 0.7*x9 - 0.7*x18 =E= 0;

e380.. (-x174*x31) - x176*x41 - x178*x54 + x180*x61 + x180*x64 + x180*x67 + 
       x180*x69 + x180*x71 + x168*x75 - x180*x167 - 0.7*x10 - 0.7*x19 =E= 0;

e381.. x181*x24 + x181*x27 + x181*x30 + x181*x32 + x181*x34 - x183*x37 - x185*
       x47 - x187*x60 - x181*x152 + x182*x161 - 0.5*x12 =E= 0;

e382.. x182*x25 + x182*x28 + x182*x31 + x182*x33 + x182*x35 - x184*x38 - x186*
       x48 - x188*x61 + x162*x76 - x182*x161 - 0.5*x13 =E= 0;

e383.. x183*x37 - x181*x24 + x183*x40 + x183*x42 + x183*x44 - x185*x50 - x187*
       x63 - x183*x153 + x184*x163 - 0.1*x3 - 0.5*x15 =E= 0;

e384.. x184*x38 - x182*x25 + x184*x41 + x184*x43 + x184*x45 - x186*x51 - x188*
       x64 + x164*x77 - x184*x163 - 0.1*x4 - 0.5*x16 =E= 0;

e385.. x185*x47 - x181*x27 + x185*x50 + x185*x53 + x185*x55 + x185*x57 - x187*
       x66 - x185*x154 + x186*x165 - 0.1*x6 =E= 0;

e386.. x186*x48 - x182*x28 + x186*x51 + x186*x54 + x186*x56 + x186*x58 - x188*
       x67 + x166*x78 - x186*x165 - 0.1*x7 =E= 0;

e387.. (-x181*x30) - x183*x40 - x185*x53 + x187*x60 + x187*x63 + x187*x66 + 
       x187*x68 + x187*x70 - x187*x155 + x188*x167 - 0.1*x9 - 0.5*x18 =E= 0;

e388.. (-x182*x31) - x184*x41 - x186*x54 + x188*x61 + x188*x64 + x188*x67 + 
       x188*x69 + x188*x71 + x168*x79 - x188*x167 - 0.1*x10 - 0.5*x19 =E= 0;

* set non-default bounds
x2.up = 1;
x3.up = 1;
x4.up = 1;
x5.up = 1;
x6.up = 1;
x7.up = 1;
x8.up = 1;
x9.up = 1;
x10.up = 1;
x11.up = 1;
x12.up = 1;
x13.up = 1;
x14.up = 1;
x15.up = 1;
x16.up = 1;
x17.up = 1;
x18.up = 1;
x19.up = 1;
x20.up = 1;
x21.up = 1;
x22.up = 1;
x23.up = 1;
x24.up = 1;
x25.up = 1;
x26.up = 1;
x27.up = 1;
x28.up = 1;
x29.up = 1;
x30.up = 1;
x31.up = 1;
x32.up = 1;
x33.up = 1;
x34.up = 1;
x35.up = 1;
x36.up = 1;
x37.up = 1;
x38.up = 1;
x39.up = 1;
x40.up = 1;
x41.up = 1;
x42.up = 1;
x43.up = 1;
x44.up = 1;
x45.up = 1;
x46.up = 1;
x47.up = 1;
x48.up = 1;
x49.up = 1;
x50.up = 1;
x51.up = 1;
x52.up = 1;
x53.up = 1;
x54.up = 1;
x55.up = 1;
x56.up = 1;
x57.up = 1;
x58.up = 1;
x59.up = 1;
x60.up = 1;
x61.up = 1;
x62.up = 1;
x63.up = 1;
x64.up = 1;
x65.up = 1;
x66.up = 1;
x67.up = 1;
x68.up = 1;
x69.up = 1;
x70.up = 1;
x71.up = 1;
x72.up = 1;
x73.up = 1;
x74.up = 1;
x75.up = 1;
x76.up = 1;
x77.up = 1;
x78.up = 1;
x79.up = 1;
x150.up = 2;
x151.up = 2;
x152.up = 2;
x153.up = 2;
x154.up = 2;
x155.up = 2;
x156.up = 2;
x157.up = 2;
x158.up = 2;
x159.up = 2;
x160.up = 2;
x161.up = 2;
x162.up = 2;
x163.up = 2;
x164.up = 2;
x165.up = 2;
x166.up = 2;
x167.up = 2;
x168.up = 2;
x169.up = 2;
x170.up = 2;
x171.up = 2;
x172.up = 2;
x173.up = 1;
x174.up = 1;
x175.up = 1;
x176.up = 1;
x177.up = 1;
x178.up = 1;
x179.up = 1;
x180.up = 1;
x181.up = 1;
x182.up = 1;
x183.up = 1;
x184.up = 1;
x185.up = 1;
x186.up = 1;
x187.up = 1;
x188.up = 1;

Model m / all /;

m.limrow=0; m.limcol=0;

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

m.tolproj = 0.0;
$if not set MIQCP $set MIQCP MIQCP
Solve m using %MIQCP% maximizing objvar;





Website © 2017-2019 by Zuse Institute Berlin. All rights reserved. Imprint.