Skip to content

callback implemented and current x added to metadata dictionary of the trace#230

Open
viktmar wants to merge 1 commit intoJuliaNLSolvers:masterfrom
viktmar:master
Open

callback implemented and current x added to metadata dictionary of the trace#230
viktmar wants to merge 1 commit intoJuliaNLSolvers:masterfrom
viktmar:master

Conversation

@viktmar
Copy link
Contributor

@viktmar viktmar commented Oct 17, 2022

the callback is generally useful for more control. I use it myself, but saw also others requesting it. For my use case, early stopping, the current x of each iteration is also required, so I added it to the metadata of the trace. Have all of the trace rather than only the current state, is also important for me.
I am thinking of implementing Early Stopping more directly and efficiently in future. But that is a story for another day.

@pkofod
Copy link
Member

pkofod commented Jun 12, 2023

If you could add a few tests of the functionality I would be happy to merge.

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 this pull request may close these issues.

2 participants