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

netasgn.gms


* NLP written by GAMS Convert at 03/28/07 20:22:53 * * Equation counts * Total E G L N X C * 11 11 0 0 0 0 0 * * Variable counts * x b i s1s s2s sc si * Total cont binary integer sos1 sos2 scont sint * 15 15 0 0 0 0 0 0 * FX 0 0 0 0 0 0 0 0 * * Nonzero counts * Total const NL DLL * 43 43 0 0 * * Solve m using NLP minimizing objvar; Variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,objvar; Positive Variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14; Equations e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,e11; e1.. x1 + x2 + x3 + x4 =E= 1400; e2.. x5 + x6 + x7 + x8 + x9 + x10 =E= 2600; e3.. x11 + x12 + x13 + x14 =E= 2900; e4.. x5 + x11 =E= 900; e5.. x1 + x6 =E= 1200; e6.. x2 + x7 =E= 600; e7.. x8 + x12 =E= 400; e8.. x3 + x9 + x13 =E= 1700; e9.. x14 =E= 1100; e10.. x4 + x10 =E= 1000; e11.. - 14*x1 - 11*x2 - 16*x3 - 8*x4 - 27*x5 - 9*x6 - 12*x7 - 9*x8 - 26*x9 - 17*x10 - 24*x11 - 13*x12 - 28*x13 - 99*x14 + objvar =E= 0; * set non default bounds x1.up = 5000; x2.up = 5000; x3.up = 5000; x4.up = 5000; x5.up = 5000; x6.up = 5000; x7.up = 5000; x8.up = 5000; x9.up = 5000; x10.up = 5000; x11.up = 5000; x12.up = 5000; x13.up = 5000; x14.up = 5000; * set non default levels * 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;