| Name: |
Sixeq1 - Poorly scaled chemical
equilibrium problem |
| Source: |
Hiebert, K. L., ACM Trans.
Math. Software 8, 1(1982) |
| Reference/s |
Bullard, L. G. and Biegler,
L. T., Computers Chem. Engng. 15(4), 239 (1991). |
| |
|
|
|
| Model: |
6 implicit equations, indep.
variables x1 to x6 |
| |
Higher difficulty level |
| |
Constraints: xi are nonnegative
for I=1,2,
6 |
| |
Discontinuities: none |
| |
Initial estimates: 1. (10,10,10,10,10,10);
2.(1,1,1,1,1,1); |
| |
3. (0,0,0,0,0,0); 4. (1e-4,1e-3,0,1e-4,55,1e-4) |
| |
|
|
|
| Solved by |
Shacham, M., POLYMATH 5.1,
build 19, April 6, 2001 |
| |
|
|
|
| Model Eqs. |
Poorly scaled chemical equilibrium
problem |POLVER05_3 |
|
EXCEL
FILE |
f(x1) = x1+x2+x4-0.001 # |
|
TEXT
FILE |
f(x2) = x5+x6-55 # |
|
POLYMATH
FILE |
f(x3) = x1+x2+x3+2*x5+x6-110.001
# |
| |
f(x4) = x1-0.1*x2 # |
| |
f(x5) = x1-1e4*x3*x4 # |
| |
f(x6) = x5-55e14*x3*x6 # |
| |
x1(0)=10 |
| |
x2(0)=10 |
| |
x3(0)=10 |
| |
x4(0)=10 |
| |
x5(0)=10 |
| |
x6(0)=10 |
| |
|
|
|
| Variable/function values |
Variable |
Value |
f(x) |
| |
x1 |
10 |
29.999 |
| |
x2 |
10 |
-35 |
| |
x3 |
10 |
-50.001 |
| |
x4 |
10 |
9 |
| |
x5 |
10 |
-999990 |
| |
x6 |
10 |
-5.50E+17 |
| |
|
|
|
| Solution |
Variable |
Value |
f(x) |
| |
x1 |
0.0000826446329 |
0 |
| |
x2 |
0.0008264463286 |
0 |
| |
x3 |
0.0000909091485 |
0 |
| |
x4 |
0.0000909090385 |
0 |
| |
x5 |
54.9999999998900 |
0 |
| |
x6 |
0.0000000001100 |
-7.5318E-13 |
| |
|
|
|
| Infeasible solution |
Variable |
Value |
f(x) |
| |
x1 |
-0.0000000001000 |
0 |
| |
x2 |
-0.0000000010000 |
0 |
| |
x3 |
-0.0000000000100 |
0 |
| |
x4 |
0.0010000000000 |
0 |
| |
x5 |
55.0010000000000 |
-5.17E-26 |
| |
x6 |
-0.0010000000000 |
2.1320E-14 |
| |
|
|
|
| |
|
|
|
| Additional information |
There is a serious scaling
problem in this example (see the |
| |
order of magnitude of the
function values at the initial guess) |
| |
Error tolerances on x must
be set at a very small value to |
| |
prevent premature stop of
the iterations. Most algorithms |
| |
will converge to the infeasible
solution or won't converge |
| |
when started from initial
quesses 3 and 4. |