(git:c5411e0)
|
info for the optimizer (see the description of this module) More...
Data Fields | |
character(len=60) | task = "" |
character(len=60) | csave = "" |
logical, dimension(4) | lsave = .FALSE. |
integer | m = 0 |
integer | print_every = 0 |
integer | master = 0 |
integer | max_f_per_iter = 0 |
integer | status = 0 |
integer | n_iter = 0 |
integer, dimension(:), pointer | kind_of_bound => NULL() |
integer, dimension(:), pointer | i_work_array => NULL() |
integer, dimension(:), pointer | isave => NULL() |
real(kind=dp) | f = 0.0_dp |
real(kind=dp) | wanted_relative_f_delta = 0.0_dp |
real(kind=dp) | wanted_projected_gradient = 0.0_dp |
real(kind=dp) | last_f = 0.0_dp |
real(kind=dp) | projected_gradient = 0.0_dp |
real(kind=dp) | eold = 0.0_dp |
real(kind=dp) | emin = 0.0_dp |
real(kind=dp) | trust_radius = 0.0_dp |
real(kind=dp), dimension(:), pointer | x => NULL() |
real(kind=dp), dimension(:), pointer | lower_bound => NULL() |
real(kind=dp), dimension(:), pointer | upper_bound => NULL() |
real(kind=dp), dimension(:), pointer | gradient => NULL() |
real(kind=dp), dimension(:), pointer | dsave => NULL() |
real(kind=dp), dimension(:), pointer | work_array => NULL() |
type(mp_para_env_type), pointer | para_env => NULL() |
type(gopt_f_type), pointer | obj_funct => NULL() |
info for the optimizer (see the description of this module)
task | the actual task of the optimizer (in the master it is up to date, in case of error also the minions one get updated. |
csave | internal character string used by the lbfgs optimizer, meaningful only in the master |
lsave | logical array used by the lbfgs optimizer, updated only in the master On exit with task = 'NEW_X', the following information is available: lsave(1) = .true. the initial x did not satisfy the bounds; lsave(2) = .true. the problem contains bounds; lsave(3) = .true. each variable has upper and lower bounds. |
ref_count | reference count (see doc/ReferenceCounting.html) |
m | the dimension of the subspace used to approximate the second derivative |
print_every | every how many iterations output should be written. if 0 only at end, if print_every<0 never |
master | the pid of the master processor |
max_f_per_iter | the maximum number of function evaluations per iteration |
status | 0: just initialized, 1: f g calculation, 2: begin new iteration, 3: ended iteration, 4: normal (converged) exit, 5: abnormal (error) exit, 6: daellocated |
n_iter | the actual iteration number |
kind_of_bound | an array with 0 (no bound), 1 (lower bound), 2 (both bounds), 3 (upper bound), to describe the bounds of every variable |
i_work_array | an integer workarray of dimension 3*n, present only in the master |
isave | is an INTEGER working array of dimension 44. On exit with task = 'NEW_X', it contains information that the user may want to access: |
isave | (30) = the current iteration number; |
isave | (34) = the total number of function and gradient evaluations; |
isave | (36) = the number of function value or gradient evaluations in the current iteration; |
isave | (38) = the number of free variables in the current iteration; |
isave | (39) = the number of active constraints at the current iteration; |
f | the actual best value of the object function |
wanted_relative_f_delta | the wanted relative error on f (to be multiplied by epsilon), 0.0 -> no check |
wanted_projected_gradient | the wanted error on the projected gradient (hessian times the gradient), 0.0 -> no check |
last_f | the value of f in the last iteration |
projected_gradient | the value of the sup norm of the projected gradient |
x | the actual evaluation point (best one if converged or stopped) |
lower_bound | the lower bounds |
upper_bound | the upper bounds |
gradient | the actual gradient |
dsave | info date for lbfgs (master only) |
work_array | a work array for lbfgs (master only) |
para_env | the parallel environment for this optimizer |
obj_funct | the objective function to be optimized |
Definition at line 163 of file cp_lbfgs_optimizer_gopt.F.
character(len=60) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::task = "" |
Definition at line 164 of file cp_lbfgs_optimizer_gopt.F.
character(len=60) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::csave = "" |
Definition at line 165 of file cp_lbfgs_optimizer_gopt.F.
logical, dimension(4) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::lsave = .FALSE. |
Definition at line 166 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::m = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::print_every = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::master = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::max_f_per_iter = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::status = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::n_iter = 0 |
Definition at line 167 of file cp_lbfgs_optimizer_gopt.F.
integer, dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::kind_of_bound => NULL() |
Definition at line 168 of file cp_lbfgs_optimizer_gopt.F.
integer, dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::i_work_array => NULL() |
Definition at line 168 of file cp_lbfgs_optimizer_gopt.F.
integer, dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::isave => NULL() |
Definition at line 168 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::f = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::wanted_relative_f_delta = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::wanted_projected_gradient = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::last_f = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::projected_gradient = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::eold = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::emin = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp) cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::trust_radius = 0.0_dp |
Definition at line 169 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::x => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::lower_bound => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::upper_bound => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::gradient => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::dsave => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
real(kind=dp), dimension(:), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::work_array => NULL() |
Definition at line 171 of file cp_lbfgs_optimizer_gopt.F.
type(mp_para_env_type), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::para_env => NULL() |
Definition at line 173 of file cp_lbfgs_optimizer_gopt.F.
type(gopt_f_type), pointer cp_lbfgs_optimizer_gopt::cp_lbfgs_opt_gopt_type::obj_funct => NULL() |
Definition at line 174 of file cp_lbfgs_optimizer_gopt.F.