MINLPLib
A Library of Mixed-Integer and Continuous Nonlinear Programming Instances
Home // Instances // Documentation // Download // Statistics
Instance flay04m
Determine the optimal length and width of a number of rectangular patches of land with fixed area, such that the perimeter of the set of patches is minimized.
| Formatsⓘ | ams gms mod nl osil py |
| Primal Bounds (infeas ≤ 1e-08)ⓘ | |
| Other points (infeas > 1e-08)ⓘ | |
| Dual Boundsⓘ | 54.40446500 (ALPHAECP) 54.40587557 (ANTIGONE) 54.40587784 (BARON) 54.40588200 (BONMIN) 54.40587138 (COUENNE) 54.40588203 (LINDO) 54.40587856 (SCIP) 54.40587851 (SHOT) |
| Referencesⓘ | Sawaya, Nicolas W, Reformulations, relaxations and cutting planes for generalized disjunctive programming, PhD thesis, Carnegie Mellon University, 2006. |
| Sourceⓘ | FLay04M.gms from CMU-IBM MINLP solver project page |
| Applicationⓘ | Layout |
| Added to libraryⓘ | 28 Sep 2013 |
| Problem typeⓘ | MBNLP |
| #Variablesⓘ | 42 |
| #Binary Variablesⓘ | 24 |
| #Integer Variablesⓘ | 0 |
| #Nonlinear Variablesⓘ | 4 |
| #Nonlinear Binary Variablesⓘ | 0 |
| #Nonlinear Integer Variablesⓘ | 0 |
| Objective Senseⓘ | min |
| Objective typeⓘ | linear |
| Objective curvatureⓘ | linear |
| #Nonzeros in Objectiveⓘ | 2 |
| #Nonlinear Nonzeros in Objectiveⓘ | 0 |
| #Constraintsⓘ | 42 |
| #Linear Constraintsⓘ | 38 |
| #Quadratic Constraintsⓘ | 0 |
| #Polynomial Constraintsⓘ | 0 |
| #Signomial Constraintsⓘ | 4 |
| #General Nonlinear Constraintsⓘ | 0 |
| Operands in Gen. Nonlin. Functionsⓘ | |
| Constraints curvatureⓘ | convex |
| #Nonzeros in Jacobianⓘ | 152 |
| #Nonlinear Nonzeros in Jacobianⓘ | 4 |
| #Nonzeros in (Upper-Left) Hessian of Lagrangianⓘ | 4 |
| #Nonzeros in Diagonal of Hessian of Lagrangianⓘ | 4 |
| #Blocks in Hessian of Lagrangianⓘ | 4 |
| 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 |
| Minimal coefficientⓘ | 1.0000e+00 |
| Maximal coefficientⓘ | 1.1700e+02 |
| Infeasibility of initial pointⓘ | 17 |
| Sparsity Jacobianⓘ | ![]() |
| Sparsity Hessian of Lagrangianⓘ | ![]() |
$offlisting
*
* Equation counts
* Total E G L N X C B
* 43 7 8 28 0 0 0 0
*
* Variable counts
* x b i s1s s2s sc si
* Total cont binary integer sos1 sos2 scont sint
* 43 19 24 0 0 0 0 0
* FX 0
*
* Nonzero counts
* Total const NL DLL
* 155 151 4 0
*
* Solve m using MINLP minimizing objvar;
Variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18,b19
,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30,b31,b32,b33,b34,b35,b36
,b37,b38,b39,b40,b41,b42,objvar;
Positive Variables x1,x2,x3,x4,x5,x6,x7,x8,x17,x18;
Binary Variables b19,b20,b21,b22,b23,b24,b25,b26,b27,b28,b29,b30,b31,b32,b33
,b34,b35,b36,b37,b38,b39,b40,b41,b42;
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;
e1.. - 2*x17 - 2*x18 + objvar =E= 0;
e2.. - x1 - x9 + x17 =G= 0;
e3.. - x2 - x10 + x17 =G= 0;
e4.. - x3 - x11 + x17 =G= 0;
e5.. - x4 - x12 + x17 =G= 0;
e6.. - x5 - x13 + x18 =G= 0;
e7.. - x6 - x14 + x18 =G= 0;
e8.. - x7 - x15 + x18 =G= 0;
e9.. - x8 - x16 + x18 =G= 0;
e10.. 40/x13 - x9 =L= 0;
e11.. 50/x14 - x10 =L= 0;
e12.. 60/x15 - x11 =L= 0;
e13.. 35/x16 - x12 =L= 0;
e14.. x1 - x2 + x9 + 110.333333333333*b19 =L= 110.333333333333;
e15.. x1 - x3 + x9 + 110.333333333333*b20 =L= 110.333333333333;
e16.. x1 - x4 + x9 + 110.333333333333*b21 =L= 110.333333333333;
e17.. x2 - x3 + x10 + 113.666666666667*b22 =L= 113.666666666667;
e18.. x2 - x4 + x10 + 113.666666666667*b23 =L= 113.666666666667;
e19.. x3 - x4 + x11 + 117*b24 =L= 117;
e20.. - x1 + x2 + x10 + 113.666666666667*b25 =L= 113.666666666667;
e21.. - x1 + x3 + x11 + 117*b26 =L= 117;
e22.. - x1 + x4 + x12 + 108.666666666667*b27 =L= 108.666666666667;
e23.. - x2 + x3 + x11 + 117*b28 =L= 117;
e24.. - x2 + x4 + x12 + 108.666666666667*b29 =L= 108.666666666667;
e25.. - x3 + x4 + x12 + 108.666666666667*b30 =L= 108.666666666667;
e26.. x5 - x6 + x13 + 110.333333333333*b31 =L= 110.333333333333;
e27.. x5 - x7 + x13 + 110.333333333333*b32 =L= 110.333333333333;
e28.. x5 - x8 + x13 + 110.333333333333*b33 =L= 110.333333333333;
e29.. x6 - x7 + x14 + 113.666666666667*b34 =L= 113.666666666667;
e30.. x6 - x8 + x14 + 113.666666666667*b35 =L= 113.666666666667;
e31.. x7 - x8 + x15 + 117*b36 =L= 117;
e32.. - x5 + x6 + x14 + 113.666666666667*b37 =L= 113.666666666667;
e33.. - x5 + x7 + x15 + 117*b38 =L= 117;
e34.. - x5 + x8 + x16 + 108.666666666667*b39 =L= 108.666666666667;
e35.. - x6 + x7 + x15 + 117*b40 =L= 117;
e36.. - x6 + x8 + x16 + 108.666666666667*b41 =L= 108.666666666667;
e37.. - x7 + x8 + x16 + 108.666666666667*b42 =L= 108.666666666667;
e38.. b19 + b25 + b31 + b37 =E= 1;
e39.. b20 + b26 + b32 + b38 =E= 1;
e40.. b21 + b27 + b33 + b39 =E= 1;
e41.. b22 + b28 + b34 + b40 =E= 1;
e42.. b23 + b29 + b35 + b41 =E= 1;
e43.. b24 + b30 + b36 + b42 =E= 1;
* set non-default bounds
x1.up = 97;
x2.up = 97;
x3.up = 97;
x4.up = 97;
x5.up = 97;
x6.up = 97;
x7.up = 97;
x8.up = 97;
x9.lo = 3; x9.up = 13.3333333333333;
x10.lo = 3; x10.up = 16.6666666666667;
x11.lo = 3; x11.up = 20;
x12.lo = 3; x12.up = 11.6666666666667;
x13.lo = 3; x13.up = 13.3333333333333;
x14.lo = 3; x14.up = 16.6666666666667;
x15.lo = 3; x15.up = 20;
x16.lo = 3; x16.up = 11.6666666666667;
x17.up = 100;
x18.up = 100;
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: 2025-08-07 Git hash: e62cedfc

