Skip to content
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

Initial alpha when using InitialPrevious initial guess #1117

Open
jmeziere opened this issue Nov 10, 2024 · 1 comment
Open

Initial alpha when using InitialPrevious initial guess #1117

jmeziere opened this issue Nov 10, 2024 · 1 comment

Comments

@jmeziere
Copy link

When using the InitialPrevious routine from LineSearches.jl, an optional parameter alpha can be given. However, when running the routine, this alpha is only used if state.alpha is NaN. Since the initialization of state.alpha sets it to 1, this optional parameter cannot be used as an initial guess for the InitialPrevious routine.

To me, it makes more sense that the input parameter would be the first alpha guess to be used. Is this behavior intended? If so, I can just redefine my own step size procedure.

@pkofod
Copy link
Member

pkofod commented Nov 12, 2024

Could you post a Minimal working example (MWE)? I will look into it.

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

No branches or pull requests

2 participants