Package PyDSTool :: Package Toolbox :: Package optimizers :: Package line_search :: Module backtracking_search :: Class BacktrackingSearch
[hide private]
[frames] | no frames]

Class BacktrackingSearch

source code

object --+
         |
        BacktrackingSearch

The backtracking algorithm for enforcing Armijo rule

Instance Methods [hide private]
 
__init__(self, rho=0.1, alpha_step=1.0, alpha_factor=0.5, **kwargs)
Can have :
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_step=1.0, alpha_factor=0.5, **kwargs)
(Constructor)

source code 

Can have :

  • a coefficient for the Armijo rule (rho = 0.1)
  • an alpha factor to modulate the step (alpha_step = 1.)
  • an alpha factor < 1 that will decrease the step size until the rule is valid (alpha_factor = 0.5)
Overrides: object.__init__