Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
9
Merge Requests
9
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
843c262c
Commit
843c262c
authored
Mar 07, 2018
by
Martin Reinecke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update docs
parent
a8f5f76d
Pipeline
#25853
passed with stage
in 13 minutes and 6 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
nifty4/minimization/nonlinear_cg.py
nifty4/minimization/nonlinear_cg.py
+6
-2
No files found.
nifty4/minimization/nonlinear_cg.py
View file @
843c262c
...
...
@@ -31,7 +31,11 @@ class NonlinearCG(Minimizer):
controller : IterationController
Object that decides when to terminate the minimization.
beta_heuristics : str
One of 'Polak-Ribiere', 'Fletcher-Reeves', 'Hestenes-Stiefel'
One of 'Polak-Ribiere', 'Fletcher-Reeves', 'Hestenes-Stiefel' or '5.49'
Notes
-----
No restarting procedure has been implemented yet.
References
----------
...
...
@@ -44,7 +48,7 @@ class NonlinearCG(Minimizer):
'Hestenes-Stiefel'
,
"5.49"
]
if
not
(
beta_heuristics
in
valid_beta_heuristics
):
raise
ValueError
(
"beta heuristics must be either 'Polak-Ribiere', "
"'Fletcher-Reeves',
or 'Hestenes-Stiefel
'"
)
"'Fletcher-Reeves',
'Hestenes-Stiefel, or '5.49
'"
)
self
.
_beta_heuristic
=
beta_heuristics
self
.
_controller
=
controller
self
.
_line_searcher
=
LineSearchStrongWolfe
(
c2
=
0.1
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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