1 |
heimbach |
1.1 |
|
2 |
|
|
c ================================================================== |
3 |
|
|
c HEADER OPTIMIZATION |
4 |
|
|
c ================================================================== |
5 |
|
|
c |
6 |
|
|
c o Header for the large scale optimization. |
7 |
|
|
c |
8 |
|
|
c This header file contains those parameters that are monitoring |
9 |
|
|
c the state of the off-line optimization procedure. One |
10 |
|
|
c optimization cycle is considered to consist of a forward/adjoint |
11 |
|
|
c model run followed by a cost function minimization that then |
12 |
|
|
c yields a new guess for the control vector: |
13 |
|
|
c |
14 |
|
|
c optimcycle i: xx(i) --> fc(i) adxx(i) --> xx(i+1) |
15 |
|
|
c |
16 |
|
|
c |
17 |
|
|
c started: Christian Eckert eckert@mit.edu 30-Jun-1999 |
18 |
|
|
c |
19 |
|
|
c changed: Christian Eckert eckert@mit.edu 24-Feb-2000 |
20 |
|
|
c |
21 |
|
|
c |
22 |
|
|
c ================================================================== |
23 |
|
|
c HEADER OPTIMIZATION |
24 |
|
|
c ================================================================== |
25 |
|
|
|
26 |
|
|
c Optimization version: |
27 |
|
|
c ===================== |
28 |
|
|
c |
29 |
|
|
c lsoptversion - Version of the large scale optimization. |
30 |
|
|
|
31 |
|
|
character*(5) lsoptversion |
32 |
|
|
parameter ( lsoptversion = '2.1.0' ) |
33 |
|
|
|
34 |
|
|
character*(5) offlineversion |
35 |
|
|
parameter ( offlineversion = '0.1.1' ) |
36 |
|
|
|
37 |
|
|
c The off-line optimization part: |
38 |
|
|
c =============================== |
39 |
|
|
c |
40 |
|
|
c Starting an optimization experiment implies setting optimcycle to |
41 |
|
|
c zero. During cycle number I the model is called first, then the |
42 |
|
|
c offline optimization is run. The latter provides a new guess for |
43 |
|
|
c the vector of control variables for the next cycle I+1. |
44 |
|
|
c |
45 |
|
|
c optimcycle - cycle number of the off-line optimization. |
46 |
|
|
|
47 |
|
|
common /optiparm_i/ |
48 |
|
|
& optimcycle, |
49 |
|
|
& nvars, |
50 |
|
|
& numiter, |
51 |
|
|
& nfunc, |
52 |
|
|
& iprint, |
53 |
|
|
& nupdate |
54 |
|
|
integer optimcycle |
55 |
|
|
integer nvars |
56 |
|
|
integer numiter |
57 |
|
|
integer nfunc |
58 |
|
|
integer iprint |
59 |
|
|
integer nupdate |
60 |
|
|
|
61 |
|
|
common /optiparm_r/ |
62 |
|
|
& fmin, |
63 |
|
|
& epsf, |
64 |
|
|
& epsx, |
65 |
|
|
& epsg, |
66 |
|
|
& eps |
67 |
|
|
_RL epsf |
68 |
|
|
_RL epsx |
69 |
|
|
_RL fmin |
70 |
|
|
_RL epsg |
71 |
|
|
_RL eps |
72 |
|
|
|
73 |
|
|
common /optiparm_l/ |
74 |
|
|
& nondimcontrol |
75 |
|
|
logical nondimcontrol |
76 |
|
|
|
77 |
|
|
common /optiparm_c/ |
78 |
|
|
& copt |
79 |
|
|
character*( 3) copt |
80 |
|
|
|
81 |
|
|
c ================================================================== |
82 |
|
|
c END OF HEADER OPTIMIZATION |
83 |
|
|
c ================================================================== |
84 |
|
|
|
85 |
|
|
|