MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance: graphpart_3pm-0334-0334

This is a quadratic model for the graph partitioning problem. The
graphs are taken from the publication of Ghaddar et al. We used 3
parts of the partition to generate the quadratic instances. The model
assigns each node to one of the three parts. Hence, the model is
symmetric, which should probably be used in a solution algorithm.
Formats ams gms lp mod nl osil pip
Primal Bounds
-36.00000000 p1 ( gdx sol )
(infeas: 0)
Dual Bounds
-36.00000004 (ANTIGONE)
-36.00000000 (BARON)
-36.00000000 (COUENNE)
-36.00000000 (LINDO)
-36.00000000 (SCIP)
References Ghaddar, Bissan, Anjos, Miguel F, and Liers, Frauke, A Branch-and-Cut Algorithm based on Semidefinite Programming for the Minimum k-Partition Problem, Annals of Operations Research, 188:1, 2011, 155-174.
Source POLIP instance graphpart/data_3pm_334_334.dimacs
Application Graph Partitioning
Added to library 26 Feb 2014
Problem type BQP
#Variables 108
#Binary Variables 108
#Integer Variables 0
#Nonlinear Variables 108
#Nonlinear Binary Variables 108
#Nonlinear Integer Variables 0
Objective Sense min
Objective type quadratic
Objective curvature indefinite
#Nonzeros in Objective 108
#Nonlinear Nonzeros in Objective 108
#Constraints 36
#Linear Constraints 36
#Quadratic Constraints 0
#Polynomial Constraints 0
#Signomial Constraints 0
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature linear
#Nonzeros in Jacobian 108
#Nonlinear Nonzeros in Jacobian 0
#Nonzeros in (Upper-Left) Hessian of Lagrangian 648
#Nonzeros in Diagonal of Hessian of Lagrangian 0
#Blocks in Hessian of Lagrangian 3
Minimal blocksize in Hessian of Lagrangian 36
Maximal blocksize in Hessian of Lagrangian 36
Average blocksize in Hessian of Lagrangian 36.0
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Infeasibility of initial point 1
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
*         37       37        0        0        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*        109        1      108        0        0        0        0        0
*  FX      0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*        217      109      108        0
*
*  Solve m using MINLP minimizing 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,objvar;

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;

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;


e1..    b1 + b2 + b3 =E= 1;

e2..    b4 + b5 + b6 =E= 1;

e3..    b7 + b8 + b9 =E= 1;

e4..    b10 + b11 + b12 =E= 1;

e5..    b13 + b14 + b15 =E= 1;

e6..    b16 + b17 + b18 =E= 1;

e7..    b19 + b20 + b21 =E= 1;

e8..    b22 + b23 + b24 =E= 1;

e9..    b25 + b26 + b27 =E= 1;

e10..    b28 + b29 + b30 =E= 1;

e11..    b31 + b32 + b33 =E= 1;

e12..    b34 + b35 + b36 =E= 1;

e13..    b37 + b38 + b39 =E= 1;

e14..    b40 + b41 + b42 =E= 1;

e15..    b43 + b44 + b45 =E= 1;

e16..    b46 + b47 + b48 =E= 1;

e17..    b49 + b50 + b51 =E= 1;

e18..    b52 + b53 + b54 =E= 1;

e19..    b55 + b56 + b57 =E= 1;

e20..    b58 + b59 + b60 =E= 1;

e21..    b61 + b62 + b63 =E= 1;

e22..    b64 + b65 + b66 =E= 1;

e23..    b67 + b68 + b69 =E= 1;

e24..    b70 + b71 + b72 =E= 1;

e25..    b73 + b74 + b75 =E= 1;

e26..    b76 + b77 + b78 =E= 1;

e27..    b79 + b80 + b81 =E= 1;

e28..    b82 + b83 + b84 =E= 1;

e29..    b85 + b86 + b87 =E= 1;

e30..    b88 + b89 + b90 =E= 1;

e31..    b91 + b92 + b93 =E= 1;

e32..    b94 + b95 + b96 =E= 1;

e33..    b97 + b98 + b99 =E= 1;

e34..    b100 + b101 + b102 =E= 1;

e35..    b103 + b104 + b105 =E= 1;

e36..    b106 + b107 + b108 =E= 1;

e37.. b1*b7 - b1*b4 - b1*b10 + b1*b19 + b1*b28 + b1*b82 - b2*b5 + b2*b8 - b2*
      b11 + b2*b20 + b2*b29 + b2*b83 - b3*b6 + b3*b9 - b3*b12 + b3*b21 + b3*b30
       + b3*b84 - b4*b7 - b4*b13 - b4*b22 - b4*b31 + b4*b85 - b5*b8 - b5*b14 - 
      b5*b23 - b5*b32 + b5*b86 - b6*b9 - b6*b15 - b6*b24 - b6*b33 + b6*b87 + b7
      *b16 - b7*b25 + b7*b34 + b7*b88 + b8*b17 - b8*b26 + b8*b35 + b8*b89 + b9*
      b18 - b9*b27 + b9*b36 + b9*b90 + b10*b13 - b10*b16 + b10*b19 + b10*b37 - 
      b10*b91 + b11*b14 - b11*b17 + b11*b20 + b11*b38 - b11*b92 + b12*b15 - b12
      *b18 + b12*b21 + b12*b39 - b12*b93 - b13*b16 + b13*b22 + b13*b40 + b13*
      b94 - b14*b17 + b14*b23 + b14*b41 + b14*b95 - b15*b18 + b15*b24 + b15*b42
       + b15*b96 + b16*b25 + b16*b43 - b16*b97 + b17*b26 + b17*b44 - b17*b98 + 
      b18*b27 + b18*b45 - b18*b99 - b19*b22 - b19*b25 + b19*b46 - b19*b100 - 
      b20*b23 - b20*b26 + b20*b47 - b20*b101 - b21*b24 - b21*b27 + b21*b48 - 
      b21*b102 - b22*b25 - b22*b49 + b22*b103 - b23*b26 - b23*b50 + b23*b104 - 
      b24*b27 - b24*b51 + b24*b105 + b25*b52 + b25*b106 + b26*b53 + b26*b107 + 
      b27*b54 + b27*b108 - b28*b31 - b28*b34 - b28*b37 + b28*b46 - b28*b55 - 
      b29*b32 - b29*b35 - b29*b38 + b29*b47 - b29*b56 - b30*b33 - b30*b36 - b30
      *b39 + b30*b48 - b30*b57 - b31*b34 + b31*b40 + b31*b49 - b31*b58 - b32*
      b35 + b32*b41 + b32*b50 - b32*b59 - b33*b36 + b33*b42 + b33*b51 - b33*b60
       + b34*b43 + b34*b52 + b34*b61 + b35*b44 + b35*b53 + b35*b62 + b36*b45 + 
      b36*b54 + b36*b63 + b37*b40 - b37*b43 - b37*b46 + b37*b64 + b38*b41 - b38
      *b44 - b38*b47 + b38*b65 + b39*b42 - b39*b45 - b39*b48 + b39*b66 - b40*
      b43 + b40*b49 + b40*b67 - b41*b44 + b41*b50 + b41*b68 - b42*b45 + b42*b51
       + b42*b69 - b43*b52 - b43*b70 - b44*b53 - b44*b71 - b45*b54 - b45*b72 + 
      b46*b49 + b46*b52 + b46*b73 + b47*b50 + b47*b53 + b47*b74 + b48*b51 + b48
      *b54 + b48*b75 + b49*b52 - b49*b76 + b50*b53 - b50*b77 + b51*b54 - b51*
      b78 - b52*b79 - b53*b80 - b54*b81 - b55*b58 - b55*b61 + b55*b64 - b55*b73
       + b55*b82 - b56*b59 - b56*b62 + b56*b65 - b56*b74 + b56*b83 - b57*b60 - 
      b57*b63 + b57*b66 - b57*b75 + b57*b84 + b58*b61 - b58*b67 + b58*b76 - b58
      *b85 + b59*b62 - b59*b68 + b59*b77 - b59*b86 + b60*b63 - b60*b69 + b60*
      b78 - b60*b87 + b61*b70 - b61*b79 - b61*b88 + b62*b71 - b62*b80 - b62*b89
       + b63*b72 - b63*b81 - b63*b90 + b64*b67 + b64*b70 + b64*b73 - b64*b91 + 
      b65*b68 + b65*b71 + b65*b74 - b65*b92 + b66*b69 + b66*b72 + b66*b75 - b66
      *b93 + b67*b70 + b67*b76 + b67*b94 + b68*b71 + b68*b77 + b68*b95 + b69*
      b72 + b69*b78 + b69*b96 - b70*b79 - b70*b97 - b71*b80 - b71*b98 - b72*b81
       - b72*b99 - b73*b76 - b73*b79 - b73*b100 - b74*b77 - b74*b80 - b74*b101
       - b75*b78 - b75*b81 - b75*b102 - b76*b79 - b76*b103 - b77*b80 - b77*b104
       - b78*b81 - b78*b105 - b79*b106 - b80*b107 - b81*b108 - b82*b85 - b82*
      b88 + b82*b91 + b82*b100 - b83*b86 - b83*b89 + b83*b92 + b83*b101 - b84*
      b87 - b84*b90 + b84*b93 + b84*b102 + b85*b88 - b85*b94 + b85*b103 + b86*
      b89 - b86*b95 + b86*b104 + b87*b90 - b87*b96 + b87*b105 - b88*b97 - b88*
      b106 - b89*b98 - b89*b107 - b90*b99 - b90*b108 - b91*b94 + b91*b97 - b91*
      b100 - b92*b95 + b92*b98 - b92*b101 - b93*b96 + b93*b99 - b93*b102 + b94*
      b97 - b94*b103 + b95*b98 - b95*b104 + b96*b99 - b96*b105 + b97*b106 + b98
      *b107 + b99*b108 + b100*b103 - b100*b106 + b101*b104 - b101*b107 + b102*
      b105 - b102*b108 + b103*b106 + b104*b107 + b105*b108 - objvar =E= 0;

Model m / all /;

m.limrow=0; m.limcol=0;
m.tolproj=0.0;

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

$if not set MINLP $set MINLP MINLP
Solve m using %MINLP% minimizing objvar;


Last updated: 2018-09-14 Git hash: ac5a5314
Imprint / Privacy Policy