8000 Implement Anderson acceleration for fixed step SQP-type algorithms by FreyJo · Pull Request #1521 · acados/acados · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Implement Anderson acceleration for fixed step SQP-type algorithms #1521

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

Merged
merged 41 commits into from
Jun 6, 2025

Conversation

FreyJo
Copy link
Member
@FreyJo FreyJo commented May 5, 2025

Only take 1 pervious step into account, as in this case there is an explicit formula to compute the step.
This formula is e.g. given in eq. (4.4) in Pollock2021 -- Anderson acceleration for contractive and noncontractive operators
This feature can be used by setting with_anderson_acceleration = True.

A plot of the SCQP benchmark example is below:
anderson_scqp_convergence

Plots corresponding to the convergence experiment with the Furuta pendulum are below:
contraction_rates_furuta_pendulum
convergence_furuta_pendulum< 8000 /p>

@FreyJo FreyJo marked this pull request as draft May 5, 2025 15:48
@FreyJo FreyJo changed the title Anderson: WIP Implement Anderson acceleration for fixed step SQP-type algorithms May 26, 2025
@sandmaennchen
Copy link
Contributor

How does AA-GN perform?

@FreyJo
Copy link
Member Author
FreyJo commented May 27, 2025

How does AA-GN perform?

It does not converge, just like GN.
AA only improves linearly converging Newton-type iterations afaik.
https://epub 8000 s.siam.org/doi/abs/10.1137/19M1245384

@FreyJo FreyJo marked this pull request as ready for review May 28, 2025 08:16
@sandmaennchen
Copy link
Contributor
sandmaennchen commented Jun 3, 2025

There are a few more for loops that could be parallelized, not sure if it is always worth it though ..

@david0oo
Copy link
Contributor
david0oo commented Jun 6, 2025

Looks good! Great that we could reproduce the strong performance of Anderson acceleration in acados!

@FreyJo FreyJo merged commit dd7827a into acados:main Jun 6, 2025
14 checks passed
@FreyJo FreyJo deleted the anderson25 branch June 6, 2025 14:45
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.

3 participants
0