Skip to content

Commit

Permalink
WIP: Allowed control over alpha backtracking
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser-Birks committed Oct 25, 2023
1 parent 8c303e9 commit 18cd409
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def walk(x0,x1,direction,sc_dict):
continuation=continuation,
traj_file=traj_file_name,
traj_interval=traj_interval,
precon=precon,opt_method='krylov',parallel=False)
precon=precon,opt_method='krylov',parallel=False,
allow_alpha_backtracking=allow_alpha_backtracking)

#time.sleep(10)
#go idle
Expand Down Expand Up @@ -381,6 +382,7 @@ def main(K_range,alpha_range):
dk = parameter('dk', 1e-4)
dalpha = parameter('dalpha', 1e-1)
explore_direction = parameter('explore_direction', 0)
allow_alpha_backtracking = parameter('allow_alpha_backtracking',False)

if cb == 'None':
cb = None
Expand Down

0 comments on commit 18cd409

Please sign in to comment.