QPLIB

A Library of Quadratic Programming Instances

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

QPLIB_2935

Formats gms lp mod qplib
Problem type probtype LMQ
Solution point objective value solobjvalue 23.46428571 (gdx, sol)
Solution point infeasibility solinfeasibility 4.1703e-11
Donor donor Ruth Misener
#Variables nvars 180
#Binary Variables nbinvars 72
#Integer Variables nintvars 0
#Bounded non-binary Variables nboundedvars 18
#Variables with only one bound nsingleboundedvars 0
#Nonlinear Variables nnlvars 18
#Nonlinear Binary Variables nnlbinvars 0
#Nonlinear Integer Variables nnlintvars 0
Objective Sense objsense min
Objective type objtype linear
Objective curvature objcurvature linear
#Negative eigenvalues in objective matrix nobjquadnegev  
#Positive eigenvalues in objective matrix nobjquadposev  
#Nonzeros in Objective nobjnz 16
#Nonlinear Nonzeros in Objective nobjnlnz 0
#Quadratic Terms in Objective nobjquadnz 0
#Square Terms in Objective nobjquaddiagnz 0
#Constraints ncons 343
#Linear Constraints nlincons 325
#Quadratic Constraints nquadcons 18
#Diagonal Quadratic Constraints ndiagquadcons 0
Constraints curvature conscurvature indefinite
#Convex Nonlinear Constraints nconvexnlcons 0
#Concave Nonlinear Constraints nconcavenlcons 0
#Indefinite Nonlinear Constraints nindefinitenlcons 18
#Nonzeros in Jacobian njacobiannz 1406
#Nonlinear Nonzeros in Jacobian njacobiannlnz 36
#Nonzeros in (Upper-Left) Hessian of Lagrangian nlaghessiannz 18
#Nonzeros in Diagonal of Hessian of Lagrangian nlaghessiandiagnz 0
#Blocks in Hessian of Lagrangian nlaghessianblocks 9
Minimal blocksize in Hessian of Lagrangian laghessianminblocksize 2
Maximal blocksize in Hessian of Lagrangian laghessianmaxblocksize 2
Average blocksize in Hessian of Lagrangian laghessianavgblocksize 2.0
Sparsity Jacobian
Sparsity Lag. Hessian

QPLIB_2935.gms

$offlisting
*  
*  Equation counts
*      Total        E        G        L        N        X        C        B
*        344        1        0      343        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        181      109       72        0        0        0        0        0
*  FX      0        0        0        0        0        0        0        0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*       1423     1387       36        0
*
*  Solve m using MIQCP minimizing objvar;


Variables  objvar,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18
          ,x19,x20,x21,x22,x23,x24,x25,x26,x27,x28,x29,x30,x31,x32,x33,x34,x35
          ,x36,x37,x38,x39,x40,x41,x42,x43,x44,x45,x46,x47,x48,x49,x50,x51,x52
          ,x53,b54,b55,x56,x57,b58,b59,x60,x61,b62,b63,x64,x65,b66,b67,x68,x69
          ,b70,b71,x72,x73,b74,b75,x76,x77,b78,b79,x80,x81,b82,b83,b84,b85,x86
          ,x87,b88,b89,x90,x91,b92,b93,x94,x95,b96,b97,x98,x99,b100,b101,x102
          ,x103,b104,b105,x106,x107,b108,b109,b110,b111,x112,x113,b114,b115
          ,x116,x117,b118,b119,x120,x121,b122,b123,x124,x125,b126,b127,x128
          ,x129,b130,b131,b132,b133,x134,x135,b136,b137,x138,x139,b140,b141
          ,x142,x143,b144,b145,x146,x147,b148,b149,b150,b151,x152,x153,b154
          ,b155,x156,x157,b158,b159,x160,x161,b162,b163,b164,b165,x166,x167
          ,b168,b169,x170,x171,b172,b173,b174,b175,x176,x177,b178,b179,b180
          ,b181;

Binary Variables  b54,b55,b58,b59,b62,b63,b66,b67,b70,b71,b74,b75,b78,b79,b82
          ,b83,b84,b85,b88,b89,b92,b93,b96,b97,b100,b101,b104,b105,b108,b109
          ,b110,b111,b114,b115,b118,b119,b122,b123,b126,b127,b130,b131,b132
          ,b133,b136,b137,b140,b141,b144,b145,b148,b149,b150,b151,b154,b155
          ,b158,b159,b162,b163,b164,b165,b168,b169,b172,b173,b174,b175,b178
          ,b179,b180,b181;

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;


e1..  - objvar + x2 + x3 + x4 + x5 + x6 + x7 + x8 + x9 + x10 + x11 + x12 + x13
      + x14 + x15 + x16 + x17 =E= 0;

e2..    x18 - x19 =L= 0;

e3..    x18 + 0.5*x20 =L= 12;

e4..  - x18 + 0.5*x20 =L= 0;

e5..    0.5*x21 + x22 =L= 13;

e6..    0.5*x21 - x22 =L= 0;

e7..    x19 + 0.5*x23 =L= 12;

e8..  - x19 + 0.5*x23 =L= 0;

e9..    0.5*x24 + x25 =L= 13;

e10..    0.5*x24 - x25 =L= 0;

e11..    0.5*x26 + x27 =L= 12;

e12..    0.5*x26 - x27 =L= 0;

e13..    0.5*x28 + x29 =L= 13;

e14..    0.5*x28 - x29 =L= 0;

e15..    0.5*x30 + x31 =L= 12;

e16..    0.5*x30 - x31 =L= 0;

e17..    0.5*x32 + x33 =L= 13;

e18..    0.5*x32 - x33 =L= 0;

e19..    0.5*x34 + x35 =L= 12;

e20..    0.5*x34 - x35 =L= 0;

e21..    0.5*x36 + x37 =L= 13;

e22..    0.5*x36 - x37 =L= 0;

e23..    0.5*x38 + x39 =L= 12;

e24..    0.5*x38 - x39 =L= 0;

e25..    0.5*x40 + x41 =L= 13;

e26..    0.5*x40 - x41 =L= 0;

e27..    0.5*x42 + x43 =L= 12;

e28..    0.5*x42 - x43 =L= 0;

e29..    0.5*x44 + x45 =L= 13;

e30..    0.5*x44 - x45 =L= 0;

e31..    0.5*x46 + x47 =L= 12;

e32..    0.5*x46 - x47 =L= 0;

e33..    0.5*x48 + x49 =L= 13;

e34..    0.5*x48 - x49 =L= 0;

e35..    0.5*x50 + x51 =L= 12;

e36..    0.5*x50 - x51 =L= 0;

e37..    0.5*x52 + x53 =L= 13;

e38..    0.5*x52 - x53 =L= 0;

e39..  - x2 + x18 - x19 =L= 0;

e40..  - x2 - x18 + x19 =L= 0;

e41..  - x3 + x22 - x25 =L= 0;

e42..  - x3 - x22 + x25 =L= 0;

e43..  - x18 + x19 + 0.5*x20 + 0.5*x23 - 12*b54 - 12*b55 =L= 0;

e44..    x18 - x19 + 0.5*x20 + 0.5*x23 - 12*b54 + 12*b55 =L= 12;

e45..    0.5*x21 - x22 + 0.5*x24 + x25 + 13*b54 - 13*b55 =L= 13;

e46..    0.5*x21 + x22 + 0.5*x24 - x25 + 13*b54 + 13*b55 =L= 26;

e47..    x18 - x27 - x56 =L= 0;

e48..  - x18 + x27 - x56 =L= 0;

e49..    x22 - x29 - x57 =L= 0;

e50..  - x22 + x29 - x57 =L= 0;

e51..  - x18 + 0.5*x20 + 0.5*x26 + x27 - 12*b58 - 12*b59 =L= 0;

e52..    x18 + 0.5*x20 + 0.5*x26 - x27 - 12*b58 + 12*b59 =L= 12;

e53..    0.5*x21 - x22 + 0.5*x28 + x29 + 13*b58 - 13*b59 =L= 13;

e54..    0.5*x21 + x22 + 0.5*x28 - x29 + 13*b58 + 13*b59 =L= 26;

e55..    x18 - x31 - x60 =L= 0;

e56..  - x18 + x31 - x60 =L= 0;

e57..    x22 - x33 - x61 =L= 0;

e58..  - x22 + x33 - x61 =L= 0;

e59..  - x18 + 0.5*x20 + 0.5*x30 + x31 - 12*b62 - 12*b63 =L= 0;

e60..    x18 + 0.5*x20 + 0.5*x30 - x31 - 12*b62 + 12*b63 =L= 12;

e61..    0.5*x21 - x22 + 0.5*x32 + x33 + 13*b62 - 13*b63 =L= 13;

e62..    0.5*x21 + x22 + 0.5*x32 - x33 + 13*b62 + 13*b63 =L= 26;

e63..    x18 - x35 - x64 =L= 0;

e64..  - x18 + x35 - x64 =L= 0;

e65..    x22 - x37 - x65 =L= 0;

e66..  - x22 + x37 - x65 =L= 0;

e67..  - x18 + 0.5*x20 + 0.5*x34 + x35 - 12*b66 - 12*b67 =L= 0;

e68..    x18 + 0.5*x20 + 0.5*x34 - x35 - 12*b66 + 12*b67 =L= 12;

e69..    0.5*x21 - x22 + 0.5*x36 + x37 + 13*b66 - 13*b67 =L= 13;

e70..    0.5*x21 + x22 + 0.5*x36 - x37 + 13*b66 + 13*b67 =L= 26;

e71..    x18 - x39 - x68 =L= 0;

e72..  - x18 + x39 - x68 =L= 0;

e73..    x22 - x41 - x69 =L= 0;

e74..  - x22 + x41 - x69 =L= 0;

e75..  - x18 + 0.5*x20 + 0.5*x38 + x39 - 12*b70 - 12*b71 =L= 0;

e76..    x18 + 0.5*x20 + 0.5*x38 - x39 - 12*b70 + 12*b71 =L= 12;

e77..    0.5*x21 - x22 + 0.5*x40 + x41 + 13*b70 - 13*b71 =L= 13;

e78..    0.5*x21 + x22 + 0.5*x40 - x41 + 13*b70 + 13*b71 =L= 26;

e79..    x18 - x43 - x72 =L= 0;

e80..  - x18 + x43 - x72 =L= 0;

e81..    x22 - x45 - x73 =L= 0;

e82..  - x22 + x45 - x73 =L= 0;

e83..  - x18 + 0.5*x20 + 0.5*x42 + x43 - 12*b74 - 12*b75 =L= 0;

e84..    x18 + 0.5*x20 + 0.5*x42 - x43 - 12*b74 + 12*b75 =L= 12;

e85..    0.5*x21 - x22 + 0.5*x44 + x45 + 13*b74 - 13*b75 =L= 13;

e86..    0.5*x21 + x22 + 0.5*x44 - x45 + 13*b74 + 13*b75 =L= 26;

e87..    x18 - x47 - x76 =L= 0;

e88..  - x18 + x47 - x76 =L= 0;

e89..    x22 - x49 - x77 =L= 0;

e90..  - x22 + x49 - x77 =L= 0;

e91..  - x18 + 0.5*x20 + 0.5*x46 + x47 - 12*b78 - 12*b79 =L= 0;

e92..    x18 + 0.5*x20 + 0.5*x46 - x47 - 12*b78 + 12*b79 =L= 12;

e93..    0.5*x21 - x22 + 0.5*x48 + x49 + 13*b78 - 13*b79 =L= 13;

e94..    0.5*x21 + x22 + 0.5*x48 - x49 + 13*b78 + 13*b79 =L= 26;

e95..    x18 - x51 - x80 =L= 0;

e96..  - x18 + x51 - x80 =L= 0;

e97..    x22 - x53 - x81 =L= 0;

e98..  - x22 + x53 - x81 =L= 0;

e99..  - x18 + 0.5*x20 + 0.5*x50 + x51 - 12*b82 - 12*b83 =L= 0;

e100..    x18 + 0.5*x20 + 0.5*x50 - x51 - 12*b82 + 12*b83 =L= 12;

e101..    0.5*x21 - x22 + 0.5*x52 + x53 + 13*b82 - 13*b83 =L= 13;

e102..    0.5*x21 + x22 + 0.5*x52 - x53 + 13*b82 + 13*b83 =L= 26;

e103..  - x4 + x19 - x27 =L= 0;

e104..  - x4 - x19 + x27 =L= 0;

e105..  - x5 + x25 - x29 =L= 0;

e106..  - x5 - x25 + x29 =L= 0;

e107..  - x19 + 0.5*x23 + 0.5*x26 + x27 - 12*b84 - 12*b85 =L= 0;

e108..    x19 + 0.5*x23 + 0.5*x26 - x27 - 12*b84 + 12*b85 =L= 12;

e109..    0.5*x24 - x25 + 0.5*x28 + x29 + 13*b84 - 13*b85 =L= 13;

e110..    0.5*x24 + x25 + 0.5*x28 - x29 + 13*b84 + 13*b85 =L= 26;

e111..    x19 - x31 - x86 =L= 0;

e112..  - x19 + x31 - x86 =L= 0;

e113..    x25 - x33 - x87 =L= 0;

e114..  - x25 + x33 - x87 =L= 0;

e115..  - x19 + 0.5*x23 + 0.5*x30 + x31 - 12*b88 - 12*b89 =L= 0;

e116..    x19 + 0.5*x23 + 0.5*x30 - x31 - 12*b88 + 12*b89 =L= 12;

e117..    0.5*x24 - x25 + 0.5*x32 + x33 + 13*b88 - 13*b89 =L= 13;

e118..    0.5*x24 + x25 + 0.5*x32 - x33 + 13*b88 + 13*b89 =L= 26;

e119..    x19 - x35 - x90 =L= 0;

e120..  - x19 + x35 - x90 =L= 0;

e121..    x25 - x37 - x91 =L= 0;

e122..  - x25 + x37 - x91 =L= 0;

e123..  - x19 + 0.5*x23 + 0.5*x34 + x35 - 12*b92 - 12*b93 =L= 0;

e124..    x19 + 0.5*x23 + 0.5*x34 - x35 - 12*b92 + 12*b93 =L= 12;

e125..    0.5*x24 - x25 + 0.5*x36 + x37 + 13*b92 - 13*b93 =L= 13;

e126..    0.5*x24 + x25 + 0.5*x36 - x37 + 13*b92 + 13*b93 =L= 26;

e127..    x19 - x39 - x94 =L= 0;

e128..  - x19 + x39 - x94 =L= 0;

e129..    x25 - x41 - x95 =L= 0;

e130..  - x25 + x41 - x95 =L= 0;

e131..  - x19 + 0.5*x23 + 0.5*x38 + x39 - 12*b96 - 12*b97 =L= 0;

e132..    x19 + 0.5*x23 + 0.5*x38 - x39 - 12*b96 + 12*b97 =L= 12;

e133..    0.5*x24 - x25 + 0.5*x40 + x41 + 13*b96 - 13*b97 =L= 13;

e134..    0.5*x24 + x25 + 0.5*x40 - x41 + 13*b96 + 13*b97 =L= 26;

e135..    x19 - x43 - x98 =L= 0;

e136..  - x19 + x43 - x98 =L= 0;

e137..    x25 - x45 - x99 =L= 0;

e138..  - x25 + x45 - x99 =L= 0;

e139..  - x19 + 0.5*x23 + 0.5*x42 + x43 - 12*b100 - 12*b101 =L= 0;

e140..    x19 + 0.5*x23 + 0.5*x42 - x43 - 12*b100 + 12*b101 =L= 12;

e141..    0.5*x24 - x25 + 0.5*x44 + x45 + 13*b100 - 13*b101 =L= 13;

e142..    0.5*x24 + x25 + 0.5*x44 - x45 + 13*b100 + 13*b101 =L= 26;

e143..    x19 - x47 - x102 =L= 0;

e144..  - x19 + x47 - x102 =L= 0;

e145..    x25 - x49 - x103 =L= 0;

e146..  - x25 + x49 - x103 =L= 0;

e147..  - x19 + 0.5*x23 + 0.5*x46 + x47 - 12*b104 - 12*b105 =L= 0;

e148..    x19 + 0.5*x23 + 0.5*x46 - x47 - 12*b104 + 12*b105 =L= 12;

e149..    0.5*x24 - x25 + 0.5*x48 + x49 + 13*b104 - 13*b105 =L= 13;

e150..    0.5*x24 + x25 + 0.5*x48 - x49 + 13*b104 + 13*b105 =L= 26;

e151..    x19 - x51 - x106 =L= 0;

e152..  - x19 + x51 - x106 =L= 0;

e153..    x25 - x53 - x107 =L= 0;

e154..  - x25 + x53 - x107 =L= 0;

e155..  - x19 + 0.5*x23 + 0.5*x50 + x51 - 12*b108 - 12*b109 =L= 0;

e156..    x19 + 0.5*x23 + 0.5*x50 - x51 - 12*b108 + 12*b109 =L= 12;

e157..    0.5*x24 - x25 + 0.5*x52 + x53 + 13*b108 - 13*b109 =L= 13;

e158..    0.5*x24 + x25 + 0.5*x52 - x53 + 13*b108 + 13*b109 =L= 26;

e159..  - x6 + x27 - x31 =L= 0;

e160..  - x6 - x27 + x31 =L= 0;

e161..  - x7 + x29 - x33 =L= 0;

e162..  - x7 - x29 + x33 =L= 0;

e163..    0.5*x26 - x27 + 0.5*x30 + x31 - 12*b110 - 12*b111 =L= 0;

e164..    0.5*x26 + x27 + 0.5*x30 - x31 - 12*b110 + 12*b111 =L= 12;

e165..    0.5*x28 - x29 + 0.5*x32 + x33 + 13*b110 - 13*b111 =L= 13;

e166..    0.5*x28 + x29 + 0.5*x32 - x33 + 13*b110 + 13*b111 =L= 26;

e167..    x27 - x35 - x112 =L= 0;

e168..  - x27 + x35 - x112 =L= 0;

e169..    x29 - x37 - x113 =L= 0;

e170..  - x29 + x37 - x113 =L= 0;

e171..    0.5*x26 - x27 + 0.5*x34 + x35 - 12*b114 - 12*b115 =L= 0;

e172..    0.5*x26 + x27 + 0.5*x34 - x35 - 12*b114 + 12*b115 =L= 12;

e173..    0.5*x28 - x29 + 0.5*x36 + x37 + 13*b114 - 13*b115 =L= 13;

e174..    0.5*x28 + x29 + 0.5*x36 - x37 + 13*b114 + 13*b115 =L= 26;

e175..    x27 - x39 - x116 =L= 0;

e176..  - x27 + x39 - x116 =L= 0;

e177..    x29 - x41 - x117 =L= 0;

e178..  - x29 + x41 - x117 =L= 0;

e179..    0.5*x26 - x27 + 0.5*x38 + x39 - 12*b118 - 12*b119 =L= 0;

e180..    0.5*x26 + x27 + 0.5*x38 - x39 - 12*b118 + 12*b119 =L= 12;

e181..    0.5*x28 - x29 + 0.5*x40 + x41 + 13*b118 - 13*b119 =L= 13;

e182..    0.5*x28 + x29 + 0.5*x40 - x41 + 13*b118 + 13*b119 =L= 26;

e183..    x27 - x43 - x120 =L= 0;

e184..  - x27 + x43 - x120 =L= 0;

e185..    x29 - x45 - x121 =L= 0;

e186..  - x29 + x45 - x121 =L= 0;

e187..    0.5*x26 - x27 + 0.5*x42 + x43 - 12*b122 - 12*b123 =L= 0;

e188..    0.5*x26 + x27 + 0.5*x42 - x43 - 12*b122 + 12*b123 =L= 12;

e189..    0.5*x28 - x29 + 0.5*x44 + x45 + 13*b122 - 13*b123 =L= 13;

e190..    0.5*x28 + x29 + 0.5*x44 - x45 + 13*b122 + 13*b123 =L= 26;

e191..    x27 - x47 - x124 =L= 0;

e192..  - x27 + x47 - x124 =L= 0;

e193..    x29 - x49 - x125 =L= 0;

e194..  - x29 + x49 - x125 =L= 0;

e195..    0.5*x26 - x27 + 0.5*x46 + x47 - 12*b126 - 12*b127 =L= 0;

e196..    0.5*x26 + x27 + 0.5*x46 - x47 - 12*b126 + 12*b127 =L= 12;

e197..    0.5*x28 - x29 + 0.5*x48 + x49 + 13*b126 - 13*b127 =L= 13;

e198..    0.5*x28 + x29 + 0.5*x48 - x49 + 13*b126 + 13*b127 =L= 26;

e199..    x27 - x51 - x128 =L= 0;

e200..  - x27 + x51 - x128 =L= 0;

e201..    x29 - x53 - x129 =L= 0;

e202..  - x29 + x53 - x129 =L= 0;

e203..    0.5*x26 - x27 + 0.5*x50 + x51 - 12*b130 - 12*b131 =L= 0;

e204..    0.5*x26 + x27 + 0.5*x50 - x51 - 12*b130 + 12*b131 =L= 12;

e205..    0.5*x28 - x29 + 0.5*x52 + x53 + 13*b130 - 13*b131 =L= 13;

e206..    0.5*x28 + x29 + 0.5*x52 - x53 + 13*b130 + 13*b131 =L= 26;

e207..  - x8 + x31 - x35 =L= 0;

e208..  - x8 - x31 + x35 =L= 0;

e209..  - x9 + x33 - x37 =L= 0;

e210..  - x9 - x33 + x37 =L= 0;

e211..    0.5*x30 - x31 + 0.5*x34 + x35 - 12*b132 - 12*b133 =L= 0;

e212..    0.5*x30 + x31 + 0.5*x34 - x35 - 12*b132 + 12*b133 =L= 12;

e213..    0.5*x32 - x33 + 0.5*x36 + x37 + 13*b132 - 13*b133 =L= 13;

e214..    0.5*x32 + x33 + 0.5*x36 - x37 + 13*b132 + 13*b133 =L= 26;

e215..    x31 - x39 - x134 =L= 0;

e216..  - x31 + x39 - x134 =L= 0;

e217..    x33 - x41 - x135 =L= 0;

e218..  - x33 + x41 - x135 =L= 0;

e219..    0.5*x30 - x31 + 0.5*x38 + x39 - 12*b136 - 12*b137 =L= 0;

e220..    0.5*x30 + x31 + 0.5*x38 - x39 - 12*b136 + 12*b137 =L= 12;

e221..    0.5*x32 - x33 + 0.5*x40 + x41 + 13*b136 - 13*b137 =L= 13;

e222..    0.5*x32 + x33 + 0.5*x40 - x41 + 13*b136 + 13*b137 =L= 26;

e223..    x31 - x43 - x138 =L= 0;

e224..  - x31 + x43 - x138 =L= 0;

e225..    x33 - x45 - x139 =L= 0;

e226..  - x33 + x45 - x139 =L= 0;

e227..    0.5*x30 - x31 + 0.5*x42 + x43 - 12*b140 - 12*b141 =L= 0;

e228..    0.5*x30 + x31 + 0.5*x42 - x43 - 12*b140 + 12*b141 =L= 12;

e229..    0.5*x32 - x33 + 0.5*x44 + x45 + 13*b140 - 13*b141 =L= 13;

e230..    0.5*x32 + x33 + 0.5*x44 - x45 + 13*b140 + 13*b141 =L= 26;

e231..    x31 - x47 - x142 =L= 0;

e232..  - x31 + x47 - x142 =L= 0;

e233..    x33 - x49 - x143 =L= 0;

e234..  - x33 + x49 - x143 =L= 0;

e235..    0.5*x30 - x31 + 0.5*x46 + x47 - 12*b144 - 12*b145 =L= 0;

e236..    0.5*x30 + x31 + 0.5*x46 - x47 - 12*b144 + 12*b145 =L= 12;

e237..    0.5*x32 - x33 + 0.5*x48 + x49 + 13*b144 - 13*b145 =L= 13;

e238..    0.5*x32 + x33 + 0.5*x48 - x49 + 13*b144 + 13*b145 =L= 26;

e239..    x31 - x51 - x146 =L= 0;

e240..  - x31 + x51 - x146 =L= 0;

e241..    x33 - x53 - x147 =L= 0;

e242..  - x33 + x53 - x147 =L= 0;

e243..    0.5*x30 - x31 + 0.5*x50 + x51 - 12*b148 - 12*b149 =L= 0;

e244..    0.5*x30 + x31 + 0.5*x50 - x51 - 12*b148 + 12*b149 =L= 12;

e245..    0.5*x32 - x33 + 0.5*x52 + x53 + 13*b148 - 13*b149 =L= 13;

e246..    0.5*x32 + x33 + 0.5*x52 - x53 + 13*b148 + 13*b149 =L= 26;

e247..  - x10 + x35 - x39 =L= 0;

e248..  - x10 - x35 + x39 =L= 0;

e249..  - x11 + x37 - x41 =L= 0;

e250..  - x11 - x37 + x41 =L= 0;

e251..    0.5*x34 - x35 + 0.5*x38 + x39 - 12*b150 - 12*b151 =L= 0;

e252..    0.5*x34 + x35 + 0.5*x38 - x39 - 12*b150 + 12*b151 =L= 12;

e253..    0.5*x36 - x37 + 0.5*x40 + x41 + 13*b150 - 13*b151 =L= 13;

e254..    0.5*x36 + x37 + 0.5*x40 - x41 + 13*b150 + 13*b151 =L= 26;

e255..    x35 - x43 - x152 =L= 0;

e256..  - x35 + x43 - x152 =L= 0;

e257..    x37 - x45 - x153 =L= 0;

e258..  - x37 + x45 - x153 =L= 0;

e259..    0.5*x34 - x35 + 0.5*x42 + x43 - 12*b154 - 12*b155 =L= 0;

e260..    0.5*x34 + x35 + 0.5*x42 - x43 - 12*b154 + 12*b155 =L= 12;

e261..    0.5*x36 - x37 + 0.5*x44 + x45 + 13*b154 - 13*b155 =L= 13;

e262..    0.5*x36 + x37 + 0.5*x44 - x45 + 13*b154 + 13*b155 =L= 26;

e263..    x35 - x47 - x156 =L= 0;

e264..  - x35 + x47 - x156 =L= 0;

e265..    x37 - x49 - x157 =L= 0;

e266..  - x37 + x49 - x157 =L= 0;

e267..    0.5*x34 - x35 + 0.5*x46 + x47 - 12*b158 - 12*b159 =L= 0;

e268..    0.5*x34 + x35 + 0.5*x46 - x47 - 12*b158 + 12*b159 =L= 12;

e269..    0.5*x36 - x37 + 0.5*x48 + x49 + 13*b158 - 13*b159 =L= 13;

e270..    0.5*x36 + x37 + 0.5*x48 - x49 + 13*b158 + 13*b159 =L= 26;

e271..    x35 - x51 - x160 =L= 0;

e272..  - x35 + x51 - x160 =L= 0;

e273..    x37 - x53 - x161 =L= 0;

e274..  - x37 + x53 - x161 =L= 0;

e275..    0.5*x34 - x35 + 0.5*x50 + x51 - 12*b162 - 12*b163 =L= 0;

e276..    0.5*x34 + x35 + 0.5*x50 - x51 - 12*b162 + 12*b163 =L= 12;

e277..    0.5*x36 - x37 + 0.5*x52 + x53 + 13*b162 - 13*b163 =L= 13;

e278..    0.5*x36 + x37 + 0.5*x52 - x53 + 13*b162 + 13*b163 =L= 26;

e279..  - x12 + x39 - x43 =L= 0;

e280..  - x12 - x39 + x43 =L= 0;

e281..  - x13 + x41 - x45 =L= 0;

e282..  - x13 - x41 + x45 =L= 0;

e283..    0.5*x38 - x39 + 0.5*x42 + x43 - 12*b164 - 12*b165 =L= 0;

e284..    0.5*x38 + x39 + 0.5*x42 - x43 - 12*b164 + 12*b165 =L= 12;

e285..    0.5*x40 - x41 + 0.5*x44 + x45 + 13*b164 - 13*b165 =L= 13;

e286..    0.5*x40 + x41 + 0.5*x44 - x45 + 13*b164 + 13*b165 =L= 26;

e287..    x39 - x47 - x166 =L= 0;

e288..  - x39 + x47 - x166 =L= 0;

e289..    x41 - x49 - x167 =L= 0;

e290..  - x41 + x49 - x167 =L= 0;

e291..    0.5*x38 - x39 + 0.5*x46 + x47 - 12*b168 - 12*b169 =L= 0;

e292..    0.5*x38 + x39 + 0.5*x46 - x47 - 12*b168 + 12*b169 =L= 12;

e293..    0.5*x40 - x41 + 0.5*x48 + x49 + 13*b168 - 13*b169 =L= 13;

e294..    0.5*x40 + x41 + 0.5*x48 - x49 + 13*b168 + 13*b169 =L= 26;

e295..    x39 - x51 - x170 =L= 0;

e296..  - x39 + x51 - x170 =L= 0;

e297..    x41 - x53 - x171 =L= 0;

e298..  - x41 + x53 - x171 =L= 0;

e299..    0.5*x38 - x39 + 0.5*x50 + x51 - 12*b172 - 12*b173 =L= 0;

e300..    0.5*x38 + x39 + 0.5*x50 - x51 - 12*b172 + 12*b173 =L= 12;

e301..    0.5*x40 - x41 + 0.5*x52 + x53 + 13*b172 - 13*b173 =L= 13;

e302..    0.5*x40 + x41 + 0.5*x52 - x53 + 13*b172 + 13*b173 =L= 26;

e303..  - x14 + x43 - x47 =L= 0;

e304..  - x14 - x43 + x47 =L= 0;

e305..  - x15 + x45 - x49 =L= 0;

e306..  - x15 - x45 + x49 =L= 0;

e307..    0.5*x42 - x43 + 0.5*x46 + x47 - 12*b174 - 12*b175 =L= 0;

e308..    0.5*x42 + x43 + 0.5*x46 - x47 - 12*b174 + 12*b175 =L= 12;

e309..    0.5*x44 - x45 + 0.5*x48 + x49 + 13*b174 - 13*b175 =L= 13;

e310..    0.5*x44 + x45 + 0.5*x48 - x49 + 13*b174 + 13*b175 =L= 26;

e311..    x43 - x51 - x176 =L= 0;

e312..  - x43 + x51 - x176 =L= 0;

e313..    x45 - x53 - x177 =L= 0;

e314..  - x45 + x53 - x177 =L= 0;

e315..    0.5*x42 - x43 + 0.5*x50 + x51 - 12*b178 - 12*b179 =L= 0;

e316..    0.5*x42 + x43 + 0.5*x50 - x51 - 12*b178 + 12*b179 =L= 12;

e317..    0.5*x44 - x45 + 0.5*x52 + x53 + 13*b178 - 13*b179 =L= 13;

e318..    0.5*x44 + x45 + 0.5*x52 - x53 + 13*b178 + 13*b179 =L= 26;

e319..  - x16 + x47 - x51 =L= 0;

e320..  - x16 - x47 + x51 =L= 0;

e321..  - x17 + x49 - x53 =L= 0;

e322..  - x17 - x49 + x53 =L= 0;

e323..    0.5*x46 - x47 + 0.5*x50 + x51 - 12*b180 - 12*b181 =L= 0;

e324..    0.5*x46 + x47 + 0.5*x50 - x51 - 12*b180 + 12*b181 =L= 12;

e325..    0.5*x48 - x49 + 0.5*x52 + x53 + 13*b180 - 13*b181 =L= 13;

e326..    0.5*x48 + x49 + 0.5*x52 - x53 + 13*b180 + 13*b181 =L= 26;

e327.. -x21*x20 =L= -16;

e328.. -x21*x20 =L= -16;

e329.. -x24*x23 =L= -16;

e330.. -x24*x23 =L= -16;

e331.. -x28*x26 =L= -16;

e332.. -x28*x26 =L= -16;

e333.. -x32*x30 =L= -36;

e334.. -x32*x30 =L= -36;

e335.. -x36*x34 =L= -36;

e336.. -x36*x34 =L= -36;

e337.. -x40*x38 =L= -9;

e338.. -x40*x38 =L= -9;

e339.. -x44*x42 =L= -9;

e340.. -x44*x42 =L= -9;

e341.. -x48*x46 =L= -9;

e342.. -x48*x46 =L= -9;

e343.. -x52*x50 =L= -9;

e344.. -x52*x50 =L= -9;

* set non-default bounds
x20.lo = 2; x20.up = 8;
x21.lo = 2; x21.up = 8;
x23.lo = 2; x23.up = 8;
x24.lo = 2; x24.up = 8;
x26.lo = 2; x26.up = 8;
x28.lo = 2; x28.up = 8;
x30.lo = 3; x30.up = 12;
x32.lo = 3; x32.up = 12;
x34.lo = 3; x34.up = 12;
x36.lo = 3; x36.up = 12;
x38.lo = 1.5; x38.up = 6;
x40.lo = 1.5; x40.up = 6;
x42.lo = 1.5; x42.up = 6;
x44.lo = 1.5; x44.up = 6;
x46.lo = 1.5; x46.up = 6;
x48.lo = 1.5; x48.up = 6;
x50.lo = 1.5; x50.up = 6;
x52.lo = 1.5; x52.up = 6;

* set non-default levels
x20.l = 2;
x21.l = 2;
x23.l = 2;
x24.l = 2;
x26.l = 2;
x28.l = 2;
x30.l = 3;
x32.l = 3;
x34.l = 3;
x36.l = 3;
x38.l = 1.5;
x40.l = 1.5;
x42.l = 1.5;
x44.l = 1.5;
x46.l = 1.5;
x48.l = 1.5;
x50.l = 1.5;
x52.l = 1.5;

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





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