nonlin 1.5.2
A library that provides routines to compute the solutions to systems of nonlinear equations.
|
A base class for optimization of an equation of multiple variables. More...
Public Member Functions | |
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. | |
procedure(nonlin_optimize_fcn), deferred, pass, public | solve nonlin_optimize_fcn |
Optimizes the equation. | |
Public Attributes | |
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. | |
Private Attributes | |
integer(int32) | m_maxeval = 500 |
The maximum number of function evaluations allowed. | |
A base class for optimization of an equation of multiple variables.
Definition at line 1767 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::get_max_fcn_evals |
Gets the maximum number of function evaluations allowed.
[in] | this | The equation_optimizer object. |
Definition at line 1785 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::get_print_status |
Gets a logical value determining if iteration status should be printed.
[in] | this | The equation_optimizer object. |
Definition at line 1826 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::get_tolerance |
Gets the tolerance on convergence.
[in] | this | The equation_optimizer object. |
Definition at line 1805 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::set_max_fcn_evals |
Sets the maximum number of function evaluations allowed.
[in,out] | this | The equation_optimizer object. |
[in] | n | The maximum number of function evaluations. |
Definition at line 1795 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::set_print_status |
Sets a logical value determining if iteration status should be printed.
[in,out] | this | The equation_optimizer object. |
[in] | x | True if the iteration status should be printed; else, false. |
Definition at line 1837 of file nonlin_core.f90.
procedure, public nonlin_core::equation_optimizer::set_tolerance |
Sets the tolerance on convergence.
[in,out] | this | The equation_optimizer object. |
[in] | x | The convergence tolerance. |
Definition at line 1815 of file nonlin_core.f90.
|
pure virtual |
Optimizes the equation.
Implemented in nonlin_optimize::bfgs, and nonlin_optimize::nelder_mead.
Definition at line 1843 of file nonlin_core.f90.
|
private |
The maximum number of function evaluations allowed.
Definition at line 1770 of file nonlin_core.f90.
logical nonlin_core::equation_optimizer::m_printstatus = .false. |
Set to true to print iteration status; else, false.
Definition at line 1774 of file nonlin_core.f90.
real(real64) nonlin_core::equation_optimizer::m_tol = 1.0d-12 |
The error tolerance used to determine convergence.
Definition at line 1772 of file nonlin_core.f90.