MINLPLib

A Library of Mixed-Integer and Continuous Nonlinear Programming Instances

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


Instance: gbd

Formats ams gms lp mod nl osil pip
Primal Bounds
2.20000000 p1 ( gdx sol )
(infeas: 0)
Dual Bounds
2.20000000 (ALPHAECP)
2.20000000 (ANTIGONE)
2.20000000 (BARON)
2.20000000 (BONMIN)
2.20000000 (COUENNE)
2.20000000 (LINDO)
2.20000000 (SCIP)
Source MINOPT Model Library model gbd_test.dat
Added to library 01 May 2001
Problem type MBQP
#Variables 4
#Binary Variables 3
#Integer Variables 0
#Nonlinear Variables 1
#Nonlinear Binary Variables 0
#Nonlinear Integer Variables 0
Objective Sense min
Objective type quadratic
Objective curvature convex
#Nonzeros in Objective 4
#Nonlinear Nonzeros in Objective 1
#Constraints 4
#Linear Constraints 4
#Quadratic Constraints 0
#Polynomial Constraints 0
#Signomial Constraints 0
#General Nonlinear Constraints 0
Operands in Gen. Nonlin. Functions  
Constraints curvature linear
#Nonzeros in Jacobian 12
#Nonlinear Nonzeros in Jacobian 0
#Nonzeros in (Upper-Left) Hessian of Lagrangian 1
#Nonzeros in Diagonal of Hessian of Lagrangian 1
#Blocks in Hessian of Lagrangian 1
Minimal blocksize in Hessian of Lagrangian 1
Maximal blocksize in Hessian of Lagrangian 1
Average blocksize in Hessian of Lagrangian 1.0
#Semicontinuities 0
#Nonlinear Semicontinuities 0
#SOS type 1 0
#SOS type 2 0
Infeasibility of initial point 2
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
*          5        1        2        2        0        0        0        0
*  
*  Variable counts
*                   x        b        i      s1s      s2s       sc       si
*      Total     cont   binary  integer     sos1     sos2    scont     sint
*          5        2        3        0        0        0        0        0
*  FX      0
*  
*  Nonzero counts
*      Total    const       NL      DLL
*         17       16        1        0
*
*  Solve m using MINLP minimizing objvar;


Variables  objvar,x2,b3,b4,b5;

Binary Variables  b3,b4,b5;

Equations  e1,e2,e3,e4,e5;


e1.. -5*sqr(x2) + objvar - b3 - b4 - b5 =E= 0;

e2..    3*x2 - b3 - b4 =L= 0;

e3..  - x2 + 0.1*b4 + 0.25*b5 =L= 0;

e4..    b3 + b4 + b5 =G= 2;

e5..    b3 + b4 + 2*b5 =G= 2;

* set non-default bounds
x2.lo = 0.2; x2.up = 1;

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