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

linesearch fails #39

Open
electrodan99 opened this issue Dec 6, 2023 · 0 comments
Open

linesearch fails #39

electrodan99 opened this issue Dec 6, 2023 · 0 comments

Comments

@electrodan99
Copy link

When the initial x in the Rosenbrock example is changed from zeros to random, the linesearch fails.
VectorXf x = VectorXf::Random(n);

The linesearch fails the sufficient decrease condition.

I ran into this trying to use this BFGS optimizer on a neural net. Reproduced it with the included Rosenbrock example. I haven't figured out the problem, but was wondering if you know.

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

1 participant