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

Output of solvers #1109

Open
flgoyens opened this issue Oct 28, 2024 · 1 comment
Open

Output of solvers #1109

flgoyens opened this issue Oct 28, 2024 · 1 comment

Comments

@flgoyens
Copy link

Hello,

I would like to run simple unconstrained algorithms (like gradient descent, trust-regions etc.) and have the solver return the following quantities:

  • the function value at each iterate visited by the algorithm
  • the gradient norm at each iterate
  • the time spent in each iteration
  • a list of all the iterates x_k
    Is this currently supported ? I wasn't able to find this in the documentation.

Thanks a lot
Florentin

@pkofod
Copy link
Member

pkofod commented Oct 29, 2024

This sounds like the "trace"? If you write Optim.trace(your_results) does it have the information you are looking for?

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