Commit 9970fc88 authored by Martin Reinecke's avatar Martin Reinecke

adjust

parent dd3b24aa
......@@ -22,15 +22,10 @@ from .line_searching import LineSearchStrongWolfe
class RelaxedNewton(DescentMinimizer):
def __init__(self, line_searcher=LineSearchStrongWolfe(), callback=None,
convergence_tolerance=1E-4, convergence_level=3,
iteration_limit=None):
def __init__(self, controller, line_searcher=LineSearchStrongWolfe()):
super(RelaxedNewton, self).__init__(
line_searcher=line_searcher,
callback=callback,
convergence_tolerance=convergence_tolerance,
convergence_level=convergence_level,
iteration_limit=iteration_limit)
controller=controller,
line_searcher=line_searcher)
self.line_searcher.preferred_initial_step_size = 1.
......
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