Skip to content
Discussion options

You must be logged in to vote

The local minimization procedures in the linesearch might be to blame given it does a lot of divisions. You could try implementing a simple scale-by-0.7-until-fn-value-is-lower-than-last-value for numerical stability.

Another possibility could be using implicit differentiation like here or here

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
3 replies
@lankef
Comment options

@rdyro
Comment options

@lankef
Comment options

Comment options

You must be logged in to vote
5 replies
@rdyro
Comment options

rdyro Mar 2, 2025
Maintainer

@lankef
Comment options

@rdyro
Comment options

rdyro Mar 4, 2025
Maintainer

Answer selected by lankef
@lankef
Comment options

@rdyro
Comment options

rdyro Mar 5, 2025
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants