Package PyDSTool :: Package Toolbox :: Package optimizers :: Package line_search :: Module goldstein_rule :: Class GoldsteinRule
[hide private]
[frames] | no frames]

Class GoldsteinRule

source code

object --+
         |
        GoldsteinRule

The Goldstein rule for a inexact line search

Instance Methods [hide private]
 
__init__(self, rho=0.1, alpha_min=0.0, alpha_max=1.0, **kwargs)
Initializes the search Parameters :
source code
 
__call__(self, origin, function, state, **kwargs)
Tries to find an acceptable candidate
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, rho=0.1, alpha_min=0.0, alpha_max=1.0, **kwargs)
(Constructor)

source code 

Initializes the search Parameters :

  • rho is the factor
  • alpha_min is the inf limit of the search interval (0.)
  • alpha_max is the max limit of the search interval (1.)

Those parameters should be tweaked depending on the function to optimize

Overrides: object.__init__