Commit da29a8f4 authored by Steininger, Theo (theos)'s avatar Steininger, Theo (theos)

Merge branch 'normalize_descent' into 'master'

normalize descent direction for SteepestDescent and VL_BFGS (but not for RelaxedNewton!)

See merge request !188
parents e0f1f873 b2a6aa5f
Pipeline #17001 passed with stages
in 18 minutes and 43 seconds
......@@ -121,7 +121,7 @@ class LineSearchStrongWolfe(LineSearch):
if alpha1 < 0:
alpha1 = 1.0
else:
alpha1 = 1.0
alpha1 = 1.0/pk.norm()
# start the minimization loop
for i in xrange(self.max_iterations):
......
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