QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
GoldsteinLineSearch Class Reference

#include <ql/math/optimization/goldstein.hpp>

+ Inheritance diagram for GoldsteinLineSearch:
+ Collaboration diagram for GoldsteinLineSearch:

Public Member Functions

 GoldsteinLineSearch (Real eps=1e-8, Real alpha=0.05, Real beta=0.65, Real extrapolation=1.5)
 Default constructor. More...
 
Real operator() (Problem &P, EndCriteria::Type &ecType, const EndCriteria &, Real t_ini) override
 Perform line search. More...
 

Private Attributes

Real alpha_
 
Real beta_
 
Real extrapolation_
 

Additional Inherited Members

Detailed Description

Definition at line 30 of file goldstein.hpp.

Constructor & Destructor Documentation

◆ GoldsteinLineSearch()

GoldsteinLineSearch ( Real  eps = 1e-8,
Real  alpha = 0.05,
Real  beta = 0.65,
Real  extrapolation = 1.5 
)

Default constructor.

Definition at line 33 of file goldstein.hpp.

Member Function Documentation

◆ operator()()

Real operator() ( Problem P,
EndCriteria::Type ecType,
const EndCriteria endCriteria,
Real  t_ini 
)
overridevirtual

Perform line search.

Implements LineSearch.

Definition at line 26 of file goldstein.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ alpha_

Real alpha_
private

Definition at line 46 of file goldstein.hpp.

◆ beta_

Real beta_
private

Definition at line 46 of file goldstein.hpp.

◆ extrapolation_

Real extrapolation_
private

Definition at line 47 of file goldstein.hpp.