Commit 4ee9b94a authored by Martin Reinecke's avatar Martin Reinecke

clarifications and cosmetics

parent e8c237d2
Pipeline #14901 passed with stage
in 6 minutes and 17 seconds
......@@ -44,9 +44,6 @@ class LineSearch(Loggable, object):
__metaclass__ = abc.ABCMeta
def __init__(self):
self.line_energy = None
self.f_k_minus_1 = None
self.preferred_initial_step_size = None
......
......@@ -175,7 +175,6 @@ class LineSearchStrongWolfe(LineSearch):
break
phi_alpha0 = phi_alpha1
phiprime_alpha0 = phiprime_alpha1
# phi_alpha1 = self._phi(alpha1)
else:
# max_iterations was reached
......@@ -201,9 +200,10 @@ class LineSearchStrongWolfe(LineSearch):
Parameters
----------
alpha_lo : float
The lower boundary for the step length interval.
A boundary for the step length interval.
Fulfills Wolfe condition 1.
alpha_hi : float
The upper boundary for the step length interval.
The other boundary for the step length interval.
phi_0 : float
Value of the energy at the starting point of the line search
algorithm.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment