17.1.1.11. pysisyphus.line_searches package
17.1.1.11.1. Submodules
17.1.1.11.2. pysisyphus.line_searches.Backtracking module
- class pysisyphus.line_searches.Backtracking.Backtracking(*args, rho_lo=0.05, rho_hi=0.9, use_grad=False, **kwargs)[source]
Bases:
LineSearch
17.1.1.11.3. pysisyphus.line_searches.HagerZhang module
- class pysisyphus.line_searches.HagerZhang.HagerZhang(*args, alpha_prev=None, f_prev=None, dphi0_prev=None, quad_step=False, eps=1e-06, theta=0.5, gamma=0.5, rho=5, psi_0=0.01, psi_1=0.1, psi_2=2.0, psi_low=0.1, psi_hi=10, Delta=0.7, omega=0.001, max_bisects=10, **kwargs)[source]
Bases:
LineSearch
17.1.1.11.4. pysisyphus.line_searches.LineSearch module
- class pysisyphus.line_searches.LineSearch.LineSearch(p, cond='armijo', x0=None, geometry=None, f=None, df=None, alpha_init=None, f0=None, g0=None, c1=0.1, c2=0.9, max_cycles=10, alpha_min=1e-06)[source]
Bases:
object
- class pysisyphus.line_searches.LineSearch.LineSearchResult(converged, alpha, f_new, g_new, f_evals, df_evals, dphi0)
Bases:
tuple
- alpha
Alias for field number 1
- converged
Alias for field number 0
- df_evals
Alias for field number 5
- dphi0
Alias for field number 6
- f_evals
Alias for field number 4
- f_new
Alias for field number 2
- g_new
Alias for field number 3
17.1.1.11.5. pysisyphus.line_searches.StrongWolfe module
- class pysisyphus.line_searches.StrongWolfe.StrongWolfe(*args, alpha_max=10.0, fac=2, **kwargs)[source]
Bases:
LineSearch
17.1.1.11.6. pysisyphus.line_searches.interpol module
17.1.1.11.7. Module contents
- class pysisyphus.line_searches.Backtracking(*args, rho_lo=0.05, rho_hi=0.9, use_grad=False, **kwargs)[source]
Bases:
LineSearch
- class pysisyphus.line_searches.HagerZhang(*args, alpha_prev=None, f_prev=None, dphi0_prev=None, quad_step=False, eps=1e-06, theta=0.5, gamma=0.5, rho=5, psi_0=0.01, psi_1=0.1, psi_2=2.0, psi_low=0.1, psi_hi=10, Delta=0.7, omega=0.001, max_bisects=10, **kwargs)[source]
Bases:
LineSearch
- class pysisyphus.line_searches.StrongWolfe(*args, alpha_max=10.0, fac=2, **kwargs)[source]
Bases:
LineSearch