source: gui/sample/miscellaneous/sample_optimization.mso @ 956

Last change on this file since 956 was 394, checked in by Argimiro Resende Secchi, 15 years ago
File size: 430 bytes
Line 
1Optimization hs71
2        VARIABLES
3        x1 as Real(Default=2, Lower=1, Upper=5);
4        x2 as Real(Default=5, Lower=1, Upper=5);
5        x3 as Real(Default=5, Lower=1, Upper=5);
6        x4 as Real(Default=1, Lower=1, Upper=5);
7
8        MINIMIZE
9        x1*x4*(x1+x2+x3) + x3;
10       
11        EQUATIONS
12        x1*x2*x3*x4 > 25;
13       
14        x1*x1 + x2*x2 + x3*x3 + x4*x4 = 40;
15       
16        OPTIONS
17        NLPSolver(#File = "ipopt_emso"
18                          #File = "complex"
19                  File = "optpp_emso"
20                          );
21        Dynamic = false;
22end
Note: See TracBrowser for help on using the repository browser.