Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- * NLP written by GAMS Convert at 12/11/18 16:44:25
- *
- * Equation counts
- * Total E G L N X C
- * 60 58 1 1 0 0 0
- *
- * Variable counts
- * x b i s1s s2s sc si
- * Total cont binary integer sos1 sos2 scont sint
- * 66 66 0 0 0 0 0 0
- * FX 0 0 0 0 0 0 0 0
- *
- * Nonzero counts
- * Total const NL DLL
- * 187 76 111 0
- *
- * Warning: This is a scaled version of the original model
- * =======================================================
- *
- * Solve m using NLP maximizing x66;
- 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,x25,x26,x27,x28,x29,x30,x31,x32,x33,x34,x35,x36
- ,x37,x38,x39,x40,x41,x42,x43,x44,x45,x46,x47,x48,x49,x50,x51,x52,x53
- ,x54,x55,x56,x57,x58,x59,x60,x61,x62,x63,x64,x65,x66;
- 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,e44,e45,e46,e47,e48,e49,e50,e51,e52,e53
- ,e54,e55,e56,e57,e58,e59,e60;
- e1.. - 0.99*x12 - x32 =E= -60;
- e2.. x13*x7 - ((x12 + x13)*x30 + x32*x33) =E= -24;
- e3.. exp(x41*(1 - x55)) - x57 =E= 0;
- e4.. -x55*x24 - x43 + x44 =E= 0;
- e5.. ((154*x12 + 154*x13)/x23)**0.51*x43 - 0.015534173*(3480/x23)**0.32 =E= 0;
- e6.. 255.915*(154*x12 + 154*x13)/(0.0003*x23)**0.22 - x24 =E= 0;
- e7.. -3.14159265358979*x42**2 + 4*x23 =E= 0;
- e8.. 8482.30016469244*x42**2*x22 - 232*x32 =E= 0;
- e9.. log10(2794.41437201298*x22**2) - 0.852921557790304*(2.6551724137931*x21/
- x32)**0.25 =E= 0;
- e10.. -(0.14286*x12 + 0.14286*x13)*x1 + x14 =E= 0;
- e11.. -0.05*x13*x25 + x45 =E= 0;
- e12.. -30.8*x13*(-303 + x34) + x6 =E= 0;
- e13.. - 5*x2 + x6 =E= 0;
- e14.. -200*x35*x15 + x6 =E= 0;
- e15.. log(x58)*x15 - x47 =E= -10;
- e16.. -(30.8*x12 + 30.8*x13)*(-303 + x36) + x16 =E= 0;
- e17.. -30.8*x13*x48 + x16 =E= 0;
- e18.. -100*x37*x17 + x16 =E= 0;
- e19.. log(x53)*x17 - x49 + x50 =E= 0;
- e20.. (x12 + x13)*x30 - x13*x7 - 0.99*x12 =E= 0;
- e21.. (30.8*x12 + 30.8*x13)*x36 - 30.8*x12*x28 - 30.8*x13*x4 + x18 - x29 =E= 0;
- e22.. 0.785398163397448*x38**2 - 1.71056075237363e-9*x18*x4 =E= 0;
- e23.. -(0.99/x30 - 0.02/(1 - x30)) + x11 =E= 0;
- e24.. -log(98.9999999999999*(1 - x7)/x7) + 0.693147180559945*x27 =E= 0;
- e25.. x1*(1 - x8) - x8 - x27 =E= 0;
- e26.. 0.75*(x31 - x11)/(1 + x31)**0.5668 + x8 =E= 0.75;
- e27.. - 5*x10 + x29 =E= 0;
- e28.. -300*x5*x9 + x29 =E= 0;
- e29.. log(x54)*x9 - x46 + x52 =E= 0;
- e30.. x18 - 500*x19 =E= 0;
- e31.. -500*x39*x26 + x18 =E= 0;
- e32.. x4 + x26 =E= 393;
- e33.. exp(x59)*x7 + exp(x60)*(1 - x7) =E= 760;
- e34.. 752.4/exp(x61) + 7.60000000000001/exp(x62) =E= 1;
- e35.. - 0.2*x3 - 50*x20 + 0.2*x36 =E= -50;
- e36.. exp(x63)*x30 + exp(x64)*(1 - x30) =E= 760;
- e37.. x40*(0.01*x12 + x13) - x13*x7 =E= 0;
- e38.. - 0.01*x12 - x13 + x21 =E= 0;
- e39.. -x41*x44 + x25 =E= 0;
- e40.. -7700*x12*(1 + x31) + x29 =E= 0;
- e41.. - x34 + x47 =G= -588;
- e42.. - x4 + x34 + x48 =E= 0;
- e43.. x34 + x49 =E= 303;
- e44.. x4 - x36 + x50 =E= 0;
- e45.. - x28 + x51 =E= -298;
- e46.. - x28 + x52 =E= -293;
- e47.. - x28 + x46 =E= 230;
- e48.. 760*x55*x13 - 608*x32 =E= 0;
- e49.. - 608*x40 + 760*x56 =E= 0;
- e50.. (x57 - x55)*(x33 - x56) - (1 - x55)*(0.4 - x56) =E= 0;
- e51.. - x47 + 10*x58 =E= 0;
- e52.. (-32.9 + x59)*(230 + x4) =E= -14300;
- e53.. (-30.4 + x60)*(230 + x4) =E= -13800;
- e54.. (-32.9 + x61)*x46 =E= -14300;
- e55.. (-30.4 + x62)*x46 =E= -13800;
- e56.. (-32.9 + x63)*(230 + x3) =E= -14300;
- e57.. (-30.4 + x64)*(230 + x3) =E= -13800;
- e58.. - x4 + x36 =L= 0;
- e59.. -(600*x25*x42 + (363*x1*x38)**1.085 + 350*(x5**0.556 + x39**0.556 + x37**
- 0.556 + x35**0.556) + 1000*(x14**0.3 + x45**0.3)) + x65 =E= 0;
- e60.. - 0.0635*x2 - 0.0635*x10 - 3056.9*x12 - 89.7*x14 - 35.2*x19 - 89.7*x45
- - 0.14286*x65 + x66 =E= -174000;
- * set non default bounds
- x1.lo = 1; x1.up = 500;
- x2.lo = 1; x2.up = 10000;
- x3.lo = 300; x3.up = 370.64;
- x4.lo = 300; x4.up = 370.64;
- x5.lo = 10; x5.up = 10000;
- x6.lo = 100; x6.up = 100000;
- x7.lo = 0.001; x7.up = 1;
- x8.lo = 0.001; x8.up = 1;
- x9.lo = 0.001; x9.up = 500;
- x10.lo = 1000; x10.up = 100000;
- x11.lo = 1E-6; x11.up = 100;
- x12.lo = 1; x12.up = 50;
- x13.lo = 1; x13.up = 50;
- x14.lo = 100; x14.up = 1000;
- x15.lo = 1E-6; x15.up = 100;
- x16.lo = 1000; x16.up = 100000;
- x17.lo = 1; x17.up = 100;
- x18.lo = 1000; x18.up = 1000000;
- x19.lo = 100; x19.up = 5000;
- x20.lo = 0.01; x20.up = 10;
- x21.lo = 10; x21.up = 500;
- x22.lo = 0.001; x22.up = 20;
- x23.lo = 0.1; x23.up = 50;
- x24.lo = 0.1; x24.up = 100;
- x25.lo = 5; x25.up = 1000;
- x26.lo = 1; x26.up = 100;
- x27.lo = 1; x27.up = 20;
- x28.lo = 200; x28.up = 600;
- x29.lo = 1000; x29.up = 1000000;
- x30.lo = 0.001; x30.up = 5;
- x31.lo = 1; x31.up = 20;
- x32.lo = 1; x32.up = 500;
- x33.lo = 1E-6; x33.up = 3;
- x34.lo = 10; x34.up = 500;
- x35.lo = 1; x35.up = 100;
- x36.lo = 303; x36.up = 500;
- x37.lo = 1; x37.up = 500;
- x38.lo = 0.001; x38.up = 10;
- x39.lo = 1; x39.up = 500;
- x40.lo = 1E-6; x40.up = 3;
- x41.lo = 1; x41.up = 300;
- x42.lo = 0.01; x42.up = 100;
- x43.lo = 1E-5; x43.up = 3;
- x44.lo = 1E-5; x44.up = 10;
- x45.lo = 20; x45.up = 1000;
- x46.lo = 100; x46.up = 600;
- x47.lo = 10; x47.up = 500;
- x48.lo = 20; x48.up = 500;
- x49.lo = -10; x49.up = -0.01;
- x50.lo = -50; x50.up = -0.01;
- x51.lo = 10; x51.up = 50;
- x52.lo = 10; x52.up = 50;
- x53.lo = 10; x53.up = 100;
- x54.lo = -100; x54.up = 100;
- x55.lo = -0.99; x55.up = 10;
- x56.lo = 0.01; x56.up = 10;
- x57.lo = 10; x57.up = 500;
- x58.lo = 0.01; x58.up = 10;
- x59.lo = 0.01; x59.up = 100;
- x60.lo = 1; x60.up = 100;
- x61.lo = 0.01; x61.up = 100;
- x62.lo = 1; x62.up = 100;
- x63.lo = 1; x63.up = 100;
- x64.lo = 1; x64.up = 100;
- * set non default levels
- x1.l = 29.2;
- x2.l = 848.5;
- x3.l = 353.1;
- x4.l = 370.4;
- x5.l = 61.3;
- x6.l = 16969;
- x7.l = 0.003;
- x8.l = 0.541;
- x9.l = 49.5;
- x10.l = 30316;
- x11.l = 3.339;
- x12.l = 20.8;
- x13.l = 50;
- x14.l = 213.2;
- x15.l = 2.7;
- x16.l = 74106;
- x17.l = 25.1;
- x18.l = 646277;
- x19.l = 1293;
- x20.l = 0.936;
- x21.l = 53.2;
- x22.l = 11.26;
- x23.l = 0.1185;
- x24.l = 0.473;
- x25.l = 18.9;
- x26.l = 22.6;
- x27.l = 12.876;
- x28.l = 338.1;
- x29.l = 606329;
- x30.l = 0.273;
- x31.l = 3.849;
- x32.l = 180.2;
- x33.l = 0.0011;
- x34.l = 299.3;
- x35.l = 62.11;
- x36.l = 333.8;
- x37.l = 14.77;
- x38.l = 0.74;
- x39.l = 285.85;
- x40.l = 0.0025;
- x41.l = 39.7;
- x42.l = 0.39;
- x43.l = 0.037;
- x44.l = 0.475;
- x45.l = 49.1;
- x46.l = 568.1;
- x47.l = 10;
- x48.l = 71.1;
- x49.l = -0.01;
- x50.l = -36.6;
- x51.l = 40.1;
- x52.l = 45.1;
- x53.l = 10;
- x54.l = 0.889135254988914;
- x55.l = 2.70977443609023;
- x56.l = 1;
- x57.l = 200;
- x58.l = 1;
- x59.l = 9.08254497001998;
- x60.l = 7.41532311792138;
- x61.l = 7.72837528604119;
- x62.l = 6.1085020242915;
- x63.l = 8.37590464757331;
- x64.l = 6.73339049905676;
- * set non default marginals
- Model m / all /;
- m.limrow=0; m.limcol=0;
- Solve m using NLP maximizing x66;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement