-
Notifications
You must be signed in to change notification settings - Fork 10
stopping criteria update #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
Codecov ReportAttention:
... and 1 file with indirect coverage changes 📢 Thoughts on this report? Let us know!. |
Here are the |
Could you please rebase this? |
fa2adfc
to
e02c02b
Compare
I rebased this PR for you. |
e02c02b
to
688df74
Compare
@@ -115,11 +115,11 @@ function LMTR( | |||
|
|||
if verbose > 0 | |||
#! format: off | |||
@info @sprintf "%6s %8s %8s %8s %7s %7s %8s %7s %7s %7s %7s %1s" "outer" "inner" "f(x)" "h(x)" "√ξ1" "√ξ" "ρ" "Δ" "‖x‖" "‖s‖" "1/ν" "TR" | |||
@info @sprintf "%6s %8s %8s %8s %7s %7s %8s %7s %7s %7s %7s %1s" "outer" "inner" "f(x)" "h(x)" "√(ξ1/ν)" "√(ξ/ν)" "ρ" "Δ" "‖x‖" "‖s‖" "1/ν" "TR" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Compute
The other solvers don't compute or output
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was stuck on this when I was rebasing on Friday. It doesn't make sense to me to only do
@@ -179,7 +177,7 @@ function TR( | |||
continue | |||
end | |||
|
|||
subsolver_options.ϵa = k == 1 ? 1.0e-5 : max(ϵ_subsolver, min(1e-2, sqrt_ξ1_νInv)) | |||
subsolver_options.ϵa = k == 1 ? 1.0e-5 : max(ϵ_subsolver, min(1e-2, sqrt_ξ1_νInv) * ξ1) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@geoffroyleconte I reinstated this because it disappeared in ac255073a980ee340c02d7dff568dc0f2a07d265. It's not clear which produces the best results.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was intended, and this choice is mentioned in the section numerical results of indef-pg.
@@ -125,6 +125,7 @@ function LM( | |||
|
|||
σmax = opnorm(Jk) | |||
νInv = (1 + θ) * (σmax^2 + σk) # ‖J'J + σₖ I‖ = ‖J‖² + σₖ | |||
ν = 1 / νInv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we bother doing this? Why not just set ν
directly?
No description provided.