Skip to content

Commit fb850dc

Browse files
revert changes to LM & LMTR, revert theta default value
1 parent db770d6 commit fb850dc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

src/LM_alg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ function LM(
260260
if ρk < η1 || ρk == Inf
261261
σk = σk * γ
262262
end
263-
νInv = (σmax^2 + σk)/θ # ‖J'J + σₖ I‖ = ‖J‖² + σₖ
263+
νInv = (1 + θ) * (σmax^2 + σk) # ‖J'J + σₖ I‖ = ‖J‖² + σₖ
264264
tired = k maxIter || elapsed_time > maxTime
265265
end
266266

src/RegularizedOptimization.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ include("splitting.jl")
1919
include("TR_alg.jl")
2020
include("TRDH_alg.jl")
2121
include("R2_alg.jl")
22+
include("LM_alg.jl")
23+
include("LMTR_alg.jl")
2224
include("R2DH.jl")
2325
include("R2NModel.jl")
2426
include("R2N.jl")
25-
include("LM_alg.jl")
26-
include("LMTR_alg.jl")
2727
include("AL_alg.jl")
2828

2929
end # module RegularizedOptimization

src/input_struct.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ mutable struct ROSolverOptions{R}
3434
α::R = 1 / eps(R),
3535
ν::R = eps(R)^(1 / 5),
3636
γ::R = R(3),
37-
θ::R = 1/(1+eps(R)^(1 / 5)),
37+
θ::R = eps(R)^(1 / 5),
3838
β::R = 1 / eps(R),
3939
reduce_TR::Bool = true,
4040
) where {R <: Real}

0 commit comments

Comments
 (0)