Last change
on this file since 304 was
259,
checked in by Rafael de Pelegrini Soares, 16 years ago
|
Fixed problem with static optimization example
|
File size:
369 bytes
|
Line | |
---|
1 | Optimization 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 | Dynamic = false; |
---|
19 | end |
---|
Note: See
TracBrowser
for help on using the repository browser.