Package PyDSTool :: Package Toolbox :: Package optimizers :: Package step :: Module restart_conjugate_gradient
[hide private]
[frames] | no frames]

Module restart_conjugate_gradient

source code

Restarts a conjugate gradient search by deleting the step key in the state dictionary

Classes [hide private]
  RestartPeriodicallyConjugateGradientStep
A step decorator that periodically deletes the direction key in the dictionary so that the CG search can be restarted
  RestartNotOrthogonalConjugateGradientStep
A step decorator that deletes the direction key in the dictionary if the last gradients are not orthogonal enough so that the CG search can be restarted