Skip to content

Commit 7b9c04f

Browse files
committed
increase max tau backtrackings
1 parent 333ef6d commit 7b9c04f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/algorithms/panoc.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ function Base.iterate(iter::PANOC_iterable{R}, state::PANOC_state{R, Tx, TAx}) w
140140
tol = 10*eps(R)*(1 + abs(FBE_x))
141141
threshold = FBE_x - sigma * norm(state.res)^2 + tol
142142

143-
for i = 1:10
143+
for i = 1:20
144144
state.y .= state.x .- state.gamma .* state.At_grad_f_Ax
145145
state.g_z = prox!(state.z, iter.g, state.y, state.gamma)
146146
state.res .= state.x .- state.z

src/algorithms/zerofpr.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ function Base.iterate(iter::ZeroFPR_iterable{R}, state::ZeroFPR_state{R, Tx, TAx
136136
tol = 10*eps(R)*(1 + abs(FBE_x))
137137
threshold = FBE_x - sigma * norm(state.res)^2 + tol
138138

139-
for i = 1:10
139+
for i = 1:20
140140
state.x .= state.xbar_curr .+ tau .* state.d
141141
state.Ax .= state.Axbar .+ tau .* state.Ad
142142
# TODO: can precompute most of next line in case f is quadratic

0 commit comments

Comments
 (0)