Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
e8ffa519
Commit
e8ffa519
authored
Oct 09, 2017
by
Martin Reinecke
Browse files
add diagnostic print statements
parent
1908cf45
Pipeline
#19430
failed with stage
in 3 minutes and 51 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/minimization/line_searching/line_search_strong_wolfe.py
View file @
e8ffa519
...
...
@@ -164,7 +164,7 @@ class LineSearchStrongWolfe(LineSearch):
phi_alpha0
=
phi_alpha1
phiprime_alpha0
=
phiprime_alpha1
else
:
#
max
_
iterations
was
reached
print
(
"
max
iterations reached
"
)
return
le_alpha1
.
energy
return
result_energy
...
...
@@ -261,8 +261,7 @@ class LineSearchStrongWolfe(LineSearch):
phiprime_alphaj
)
else
:
# 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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment