Skip to content

Commit

Permalink
Update src/TR_alg.jl
Browse files Browse the repository at this point in the history
Co-authored-by: geoffroyleconte <[email protected]>
  • Loading branch information
dpo and geoffroyleconte authored Nov 13, 2023
1 parent fe0c1f4 commit 3e191d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TR_alg.jl
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ function TR(
set_bounds!(ψ, max.(-Δk, l_bound - xk), min.(Δk, u_bound - xk)) : set_radius!(ψ, Δk)
end
α⁻¹Δ⁻¹ = 1 /* Δk)
ν = αΔ / (1 + λmax * (1 + αΔ))
ν = 1 / (α⁻¹Δ⁻¹ + λmax * (α⁻¹Δ⁻¹ + 1))
tired = k maxIter || elapsed_time > maxTime
end

Expand Down

0 comments on commit 3e191d1

Please sign in to comment.