Commit e8ffa519 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

add diagnostic print statements

parent 1908cf45
Pipeline #19430 failed with stage
in 3 minutes and 51 seconds
......@@ -164,7 +164,7 @@ class LineSearchStrongWolfe(LineSearch):
phi_alpha0 = phi_alpha1
phiprime_alpha0 = phiprime_alpha1
# max_iterations was reached
print("max iterations reached")
return result_energy
......@@ -261,8 +261,7 @@ class LineSearchStrongWolfe(LineSearch):
# self.logger.error("The line search algorithm (zoom) did not "
# "converge.")
print("The line search algorithm (zoom) did not converge.")
return le_alphaj
def _cubicmin(self, a, fa, fpa, b, fb, c, fc):
Supports Markdown
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