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

ROL: Access the updated x values for each iteration in the optimization process #13720

Open
ofmla opened this issue Jan 13, 2025 · 1 comment

Comments

@ofmla
Copy link

ofmla commented Jan 13, 2025

Question

@trilinos/rol @dridzal I would like to plot convergence curves, such as ||x_computed - x_true||/||x_true||, in addition to the objective/loss function curves. However, I couldn’t find an example of how to achieve this in ROL.

Problem Description
How can I obtain this information when using ROL?

Example Use Case
Consider a simple 2D Rosenbrock problem. I want to use ROL to minimize the objective function and plot the convergence ||x_computed - x_true||/||x_true|| over iterations.

Request for Help
Can someone provide an example code snippet or guidance on how to achieve this in ROL?

Copy link

Automatic mention of @aj463

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant