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

steelT.gms


* NLP written by GAMS Convert at 03/28/07 20:24:10 * * Equation counts * Total E G L N X C * 13 9 0 4 0 0 0 * * Variable counts * x b i s1s s2s sc si * Total cont binary integer sos1 sos2 scont sint * 25 25 0 0 0 0 0 0 * FX 0 0 0 0 0 0 0 0 * * Nonzero counts * Total const NL DLL * 63 63 0 0 * * Solve m using NLP maximizing objvar; Variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17,x18,x19 ,x20,x21,x22,x23,x24,objvar; Positive Variables x1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12,x13,x14,x15,x16,x17 ,x18,x19,x20,x21,x22,x23,x24; Equations e1,e2,e3,e4,e5,e6,e7,e8,e9,e10,e11,e12,e13; e1.. 0.005*x1 + 0.00714285714285714*x5 =L= 40; e2.. 0.005*x2 + 0.00714285714285714*x6 =L= 40; e3.. 0.005*x3 + 0.00714285714285714*x7 =L= 32; e4.. 0.005*x4 + 0.00714285714285714*x8 =L= 40; e5.. x1 - x9 - x17 =E= -10; e6.. x2 + x9 - x10 - x18 =E= 0; e7.. x3 + x10 - x11 - x19 =E= 0; e8.. x4 + x11 - x12 - x20 =E= 0; e9.. x5 - x13 - x21 =E= 0; e10.. x6 + x13 - x14 - x22 =E= 0; e11.. x7 + x14 - x15 - x23 =E= 0; e12.. x8 + x15 - x16 - x24 =E= 0; e13.. 10*x1 + 10*x2 + 10*x3 + 10*x4 + 11*x5 + 11*x6 + 11*x7 + 11*x8 + 2.5*x9 + 2.5*x10 + 2.5*x11 + 2.5*x12 + 3*x13 + 3*x14 + 3*x15 + 3*x16 - 25*x17 - 26*x18 - 27*x19 - 27*x20 - 30*x21 - 35*x22 - 37*x23 - 39*x24 + objvar =E= 0; * set non default bounds x17.up = 6000; x18.up = 6000; x19.up = 4000; x20.up = 6500; x21.up = 4000; x22.up = 2500; x23.up = 3500; x24.up = 4200; * 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 maximizing objvar;