gear.gms:
References:
- GAMS Development, GAMS Model Library.
- GAMS Development, Reformulation of Models from MacMINLP.
- Deb, K, and Goyal, M, Optimizing Engineering Designs Using a Combined Genetic Search. In Back, T, Ed, Proceedings of the Seventh International Conference on Genetic Algorithms. 1997, pp. 521-528.
- Original source: GAMS model gear.gms from Gams Model Library and AMPL model geartrain.mod from MacMINLP
Point:
p1
Best known point (p1): Solution value 0.00 (global optimum, BARON certificate)
$offlisting
* MINLP written by GAMS Convert at 04/17/01 16:38:50
*
* Equation counts
* Total E G L N X
* 1 1 0 0 0 0
*
* Variable counts
* x b i s1s s2s sc si
* Total cont binary integer sos1 sos2 scont sint
* 5 1 0 4 0 0 0 0
* FX 0 0 0 0 0 0 0 0
*
* Nonzero counts
* Total const NL DLL
* 5 1 4 0
*
* Solve m using MINLP minimizing objvar;
Variables i1,i2,i3,i4,objvar;
Integer Variables i1,i2,i3,i4;
Equations e1;
e1.. - sqr(0.14427932477276 - i1*i2/(i3*i4)) + objvar =E= 0;
* set non default bounds
i1.lo = 12; i1.up = 60;
i2.lo = 12; i2.up = 60;
i3.lo = 12; i3.up = 60;
i4.lo = 12; i4.up = 60;
$if set nostart $goto modeldef
* set non default levels
* set non default marginals
$label modeldef
Model m / all /;
m.limrow=0; m.limcol=0;
$if NOT '%gams.u1%' == '' $include '%gams.u1%'
$if not set MINLP $set MINLP MINLP
Solve m using %MINLP% minimizing objvar;