Skip to content

BackTracking: negate the quadratic minimizer when the cubic coefficient vanishes - #115

Open
ParadaCarleton wants to merge 1 commit into
SciML:mainfrom
ParadaCarleton:backtracking-cubic-sign
Open

ParadaCarleton wants to merge 1 commit into
SciML:mainfrom
ParadaCarleton:backtracking-cubic-sign

Conversation

@ParadaCarleton

Copy link
Copy Markdown

When the cubic interpolant's leading coefficient a is zero, compute_alpha_backtracking returns dϕ₀ / 2b, but the minimizer of ϕ₀ + dϕ₀ α + b α² is -dϕ₀ / 2b. On a descent direction (dϕ₀ < 0, b > 0) the returned step is negative, so the clamp falls back to ρ_lo and the search shrinks more than LineSearches.jl's BackTracking, which has the minus sign. The new test samples ϕ(α) = (1 - α)² at α = 1, 1/2, where a == 0 exactly and the minimizer is 1.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant