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