nonlin_linesearch Module



Contents


Derived Types

type, public ::  line_search

Defines a type capable of performing an inexact, backtracking line search to find a point as far along the specified direction vector that is usable for unconstrained minimization problems.

Read more…

Type-Bound Procedures

procedure , public :: get_distance_factor => ls_get_dist Function
procedure , public :: get_max_fcn_evals => ls_get_max_eval Function
procedure , public :: get_scaling_factor => ls_get_scale Function
procedure , public , :: ls_search_mimo Subroutine
procedure , public , :: ls_search_miso Subroutine
generic, public :: search => ls_search_mimo, ls_search_miso
procedure , public :: set_distance_factor => ls_set_dist Subroutine
procedure , public :: set_max_fcn_evals => ls_set_max_eval Subroutine
procedure , public :: set_scaling_factor => ls_set_scale Subroutine

Subroutines

public subroutine limit_search_vector(x, lim)

Provides a means of scaling the length of the search direction vector.

Arguments

Type IntentOptional Attributes Name
real(kind=real64), intent(inout), dimension(:) :: x

On input, the search direction vector. On output, the search direction vector limited in length to that specified by lim. If the vector is originally shorter than the limit length, no change is made.

real(kind=real64), intent(in) :: lim

The length limit value.