-
Notifications
You must be signed in to change notification settings - Fork 15
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
Extracting intermediate function values/ losses from the solve #52
Comments
Hmm. I don't think we offer that at the moment! FWIW if this is just for debugging purposes then you could add If you really want to interact with the history programmatically then (a) I'm quite curious what the use-case is, but also (b) we could probably add an additional |
Hi, On a side note, I had a look at the interactive stepping example, and I thought that it could be useful for solvers to have an |
Makes sense. I'll mark this as a feature request for a For performing a single optimisation steps, then I think we already have this, as the |
Thanks Patrick, I will try to make a PR on this :) |
Dear optimistix team,
First of all, thank you for your effort in developing optimistix. I have recently transitioned from JAXOpt, and I love it!
I was wondering if it is possible to extract the loss/ function value history from the optimistic solve? In the code example below, it is easy to evaluate the intermediate losses when using the
multi_step_solve
method, but it is much less efficient than the 'single_step_solve' approach. Using ajax.lax.scan
would definitely improve the performance over using afor
but I was wondering if there is a simpler method to extract this information in optimistix.The text was updated successfully, but these errors were encountered: