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

A tiny bit more explanation #167

Closed
mahaa2 opened this issue Sep 7, 2022 · 1 comment
Closed

A tiny bit more explanation #167

mahaa2 opened this issue Sep 7, 2022 · 1 comment

Comments

@mahaa2
Copy link

mahaa2 commented Sep 7, 2022

In this code,

using LineSearches

ϕ(x) = (x - π)^4
dϕ(x) = 4*(x-π)^3
ϕdϕ(x) = ϕ(x),dϕ(x)

α0 = 9.0
ϕ0 = ϕ(0.0)
dϕ0 = dϕ(0.0)

for ls in (Static,BackTracking,HagerZhang,MoreThuente,StrongWolfe)
res = (ls())(ϕ, dϕ, ϕdϕ, α0, ϕ0,dϕ0)
println(ls, ": ", res)
end

what res is returning ? Like a new search direction and then say the \alpha value (here like x + \alpha new_search_direction)

Thanks.

@mahaa2 mahaa2 closed this as completed Sep 9, 2022
@mahaa2
Copy link
Author

mahaa2 commented Sep 9, 2022

Solved issue.

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

1 participant