Commit 843c262c authored by Martin Reinecke's avatar Martin Reinecke
Browse files

update docs

parent a8f5f76d
Pipeline #25853 passed with stage
in 13 minutes and 6 seconds
......@@ -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'
No restarting procedure has been implemented yet.
......@@ -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)
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