Skip to content

Commit

Permalink
New minimums for penalties
Browse files Browse the repository at this point in the history
  • Loading branch information
michel2323 committed May 9, 2023
1 parent a1aa8c5 commit 4676f97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Evaluators/ProxALEvalutor.jl
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function optimize!(
algparams.ρ_t = min(2.0*algparams.ρ_t, 32.0*algparams.θ_t)
algparams.τ = τ_default(modelinfo, algparams)
elseif runinfo.maxviol_d[end] > 10.0*runinfo.maxviol_t[end]
algparams.ρ_t *= 0.5
algparams.ρ_t = max(0.5*algparams.ρ_t, 1e-4)
algparams.τ = τ_default(modelinfo, algparams)
end
end
Expand All @@ -356,7 +356,7 @@ function optimize!(
algparams.ρ_c = min(2.0*algparams.ρ_c, 32.0*algparams.θ_c)
algparams.τ = τ_default(modelinfo, algparams)
elseif runinfo.maxviol_d[end] > 10*runinfo.maxviol_c[end]
algparams.ρ_c *= 0.5
algparams.ρ_c = max(0.5*algparams.ρ_c, 1e-4)
algparams.τ = τ_default(modelinfo, algparams)
end
end
Expand Down

0 comments on commit 4676f97

Please sign in to comment.