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

NelderMead trace contains only final result #1112

Closed
tuncbkose opened this issue Oct 29, 2024 · 3 comments · Fixed by #1114
Closed

NelderMead trace contains only final result #1112

tuncbkose opened this issue Oct 29, 2024 · 3 comments · Fixed by #1114

Comments

@tuncbkose
Copy link
Contributor

Same issue as #418 except concerning metadata added in #719.

@pkofod
Copy link
Member

pkofod commented Oct 29, 2024

Can you show me an example and can I ask what version of Optim?

@tuncbkose
Copy link
Contributor Author

Ran on Optim v1.9.4

using Optim

f(x) = (x[1]^2 + x[2] - 11)^2 + (x[1] + x[2]^2 - 7)^2

x0 = [0.0, 0.0]
opt = Optim.Options(store_trace = true,
                    trace_simplex = true)
res = optimize(f, x0, NelderMead(), opt)
tr = Optim.simplex_trace(res)

@pkofod
Copy link
Member

pkofod commented Oct 29, 2024

Thanks, put up a PR for 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

Successfully merging a pull request may close this issue.

2 participants