Performance World [ Performance World Home | Board | Tools | PerformanceLib | Links | GamsWorld group | Search | Contact ]

palmer8e.gms


* NLP written by GAMS Convert at 10/06/06 11:47:12 * * Equation counts * Total E G L N X C * 1 1 0 0 0 0 0 * * Variable counts * x b i s1s s2s sc si * Total cont binary integer sos1 sos2 scont sint * 9 9 0 0 0 0 0 0 * FX 0 0 0 0 0 0 0 0 * * Nonzero counts * Total const NL DLL * 9 1 8 0 * * Solve m using NLP minimizing objvar; Variables x1,x2,x3,x4,x5,x6,x7,x8,objvar; Equations e1; e1.. - (sqr(4.757534 - x1 - x8) + sqr(3.121416 - exp(-0.030461768089*x7)*x8 - x1 - 0.030461768089*x2 - 0.000927919315108019*x3 - 2.82660629821242e-5*x4 - 8.61034255350534e-7*x5 - 2.62286258031728e-8*x6) + sqr(1.207606 - exp(- 0.098695877281*x7)*x8 - x1 - 0.098695877281*x2 - 0.00974087619226621*x3 - 0.000961384321281321*x4 - 9.48846689930588e-5*x5 - 9.36472564678723e-6*x6) + sqr(0.131916 - exp(-0.190385614224*x7)*x8 - x1 - 0.190385614224*x2 - 0.0362466821034498*x3 - 0.00690084683584735*x4 - 0.00131382196350854*x5 - 0.000250132801503556*x6) + sqr((-exp(-0.264714366016*x7)*x8) - x1 - 0.264714366016*x2 - 0.0700736955752528*x3 - 0.0185495138986012*x4 - 0.0049103228115732*x5 - 0.0012998329899995*x6) + sqr(0.258514 - exp(- 0.373156048225*x7)*x8 - x1 - 0.373156048225*x2 - 0.139245436326899*x3 - 0.0519602767531113*x4 - 0.0193892915378684*x5 - 0.00723523140815339*x6) + sqr(3.380161 - exp(-0.616850018404*x7)*x8 - x1 - 0.616850018404*x2 - 0.380503945205015*x3 - 0.234713865602508*x4 - 0.144783252316581*x5 - 0.0893095518560741*x6) + sqr(10.762813 - exp(-0.921467524761*x7)*x8 - x1 - 0.921467524761*x2 - 0.849102399189164*x3 - 0.782420286049465*x4 - 0.720974884308795*x5 - 0.664354942058873*x6) + sqr(23.745996 - exp(- 1.287008567296*x7)*x8 - x1 - 1.287008567296*x2 - 1.6563910522933*x3 - 2.13178947509392*x4 - 2.74363131811731*x5 - 3.5310770119186*x6) + sqr( 44.471864 - exp(-1.713473146009*x7)*x8 - x1 - 1.713473146009*x2 - 2.93599022209398*x3 - 5.03074040250303*x4 - 8.62003858423146*x5 - 14.770204631642*x6) + sqr(76.541947 - exp(-2.2008612609*x7)*x8 - x1 - 2.2008612609*x2 - 4.84379028973034*x3 - 10.6605104045911*x4 - 23.4623043708859*x5 - 51.6372767813275*x6) + sqr(97.874528 - exp(- 2.467400073616*x7)*x8 - x1 - 2.467400073616*x2 - 6.08806312328024*x3 - 15.0216873985605*x4 - 37.0645125930448*x5 - 91.4529811006199*x6)) + objvar =E= 0; * set non default bounds x7.lo = 1E-7; x7.up = 22.12; * set non default levels x7.l = 22.12; * set non default marginals Model m / all /; m.limrow=0; m.limcol=0; $if NOT '%gams.u1%' == '' $include '%gams.u1%' Solve m using NLP minimizing objvar;