Package PyDSTool :: Package Toolbox :: Package optimizers :: Package line_search :: Module hyperbolic_line_search :: Class HyperbolicLineSearch
[hide private]
[frames] | no frames]

Class HyperbolicLineSearch

source code

object --+
         |
        HyperbolicLineSearch

An inverse line search, takes a point, adds a step (1/(1+iterations)) and returns it

Instance Methods [hide private]
 
__init__(self, alpha_step=1.0, **kwargs)
Needs to have :
source code
 
__call__(self, origin, state, **kwargs)
Returns a good candidate Parameters :
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, alpha_step=1.0, **kwargs)
(Constructor)

source code 

Needs to have :

  • nothing

Can have :

  • a step modifier, a factor to modulate the step (alpha_step = 1.)
Overrides: object.__init__

__call__(self, origin, state, **kwargs)
(Call operator)

source code 

Returns a good candidate Parameters :

  • origin is the origin of the search
  • state is the state of the optimizer