Package minfx :: Module polak_ribiere_plus_cg :: Class Polak_ribiere_plus
[hide private]
[frames] | no frames]

Class Polak_ribiere_plus

source code


Instance Methods [hide private]
 
__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
Class for Polak-Ribiere + conjugate gradient minimisation specific functions.
source code
 
calc_bk(self)
Function to calculate the Polak-Ribiere + beta value.
source code

Inherited from base_classes.Conjugate_gradient: new_param_func, old_cg_conv_test, update

Inherited from base_classes.Line_search: backline, line_search_options, mt, no_search, nwi, nww, setup_line_search, valid_line_search

Inherited from base_classes.Min: double_test, func_test, grad_test, hessian_type_and_mod, minimise, setup_conv_tests

Method Details [hide private]

__init__(self, func, dfunc, args, x0, min_options, func_tol, grad_tol, maxiter, a0, mu, eta, full_output, print_flag, print_prefix)
(Constructor)

source code 

Class for Polak-Ribiere + conjugate gradient minimisation specific functions.

Unless you know what you are doing, you should call the function 'polak_ribiere_plus' rather than using this class.

Overrides: base_classes.Min.__init__