Skip to content

Commit

Permalink
add info.mismatch <= OUTER_TOL as termination criterion
Browse files Browse the repository at this point in the history
  • Loading branch information
wzhangw committed May 25, 2023
1 parent dff55fa commit 38272b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/algorithms/admm_two_level.jl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function admm_two_level(
info.dualres, info.norm_z_curr, info.mismatch, OUTER_TOL, par.beta)
end

if info.primres <= info.eps_pri #|| info.dualres <= par.DUAL_TOL
if info.primres <= info.eps_pri || info.mismatch <= OUTER_TOL #|| info.dualres <= par.DUAL_TOL
break
end
end # while inner
Expand Down

0 comments on commit 38272b3

Please sign in to comment.