nonlin 1.5.2
A library that provides routines to compute the solutions to systems of nonlinear equations.
|
Defines a Broyden–Fletcher–Goldfarb–Shanno (BFGS) solver for minimization of functions of multiple variables. More...
Public Member Functions | |
procedure, public | solve bfgs_solve |
Utilizes the Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm for finding a minimum value of the specified function. | |
Public Member Functions inherited from nonlin_optimize::line_search_optimizer | |
procedure, public | get_line_search lso_get_line_search |
Gets the line search module. | |
procedure, public | set_line_search lso_set_line_search |
Sets the line search module. | |
procedure, public | set_default_line_search lso_set_default |
Establishes a default line_search object for the line search module. | |
procedure, public | is_line_search_defined lso_is_line_search_defined |
Tests to see if a line search module is defined. | |
procedure, public | get_use_line_search lso_get_use_search |
Gets a value determining if a line-search should be employed. | |
procedure, public | set_use_line_search lso_set_use_search |
Sets a value determining if a line-search should be employed. | |
procedure, public | get_var_tolerance lso_get_var_tol |
Gets the convergence on change in variable tolerance. | |
procedure, public | set_var_tolerance lso_set_var_tol |
Sets the convergence on change in variable tolerance. | |
Public Member Functions inherited from nonlin_core::equation_optimizer | |
procedure, public | get_max_fcn_evals oe_get_max_eval |
Gets the maximum number of function evaluations allowed. | |
procedure, public | set_max_fcn_evals oe_set_max_eval |
Sets the maximum number of function evaluations allowed. | |
procedure, public | get_tolerance oe_get_tol |
Gets the tolerance on convergence. | |
procedure, public | set_tolerance oe_set_tol |
Sets the tolerance on convergence. | |
procedure, public | get_print_status oe_get_print_status |
Gets a logical value determining if iteration status should be printed. | |
procedure, public | set_print_status oe_set_print_status |
Sets a logical value determining if iteration status should be printed. | |
Additional Inherited Members | |
Public Attributes inherited from nonlin_optimize::line_search_optimizer | |
logical | m_uselinesearch = .true. |
Set to true if a line search should be used regardless of the status of m_lineSearch. | |
real(real64) | m_xtol = 1.0d-12 |
The convergence criteria on change in variable. | |
Public Attributes inherited from nonlin_core::equation_optimizer | |
real(real64) | m_tol = 1.0d-12 |
The error tolerance used to determine convergence. | |
logical | m_printstatus = .false. |
Set to true to print iteration status; else, false. | |
Defines a Broyden–Fletcher–Goldfarb–Shanno (BFGS) solver for minimization of functions of multiple variables.
Definition at line 404 of file nonlin_optimize.f90.
|
virtual |
Utilizes the Broyden-Fletcher-Goldfarb-Shanno (BFGS) algorithm for finding a minimum value of the specified function.
[in,out] | this | The bfgs_mead object. |
[in] | fcn | The fcnnvar_helper object containing the equation to optimize. |
[in,out] | x | On input, the initial guess at the optimal point. On output, the updated optimal point estimate. |
[out] | fout | An optional output, that if provided, returns the value of the function at x . |
[out] | ib | An optional output, that if provided, allows the caller to obtain iteration performance statistics. |
[out] | err | An optional errors-based object that if provided can be used to retrieve information relating to any errors encountered during execution. If not provided, a default implementation of the errors class is used internally to provide error handling. Possible errors and warning messages that may be encountered are as follows.
|
Implements nonlin_core::equation_optimizer.
Definition at line 488 of file nonlin_optimize.f90.