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

Split condensing and regularization into preparation and feedback #1034

Merged
merged 12 commits into from
Feb 14, 2024

Conversation

FreyJo
Copy link
Member

@FreyJo FreyJo commented Jan 31, 2024

Condensing modules now provide

  • condense - all condensing operations
  • condense_rhs - condensing the right hand side
  • condense_lhs - condensing the left hand side

Similarly, regularization modules now provide

  • regularize - all operations
  • regularize_rhs - operations on the right hand side
  • regularize_lhs - operations on the left hand side

Only if RTI is split into preparation and feedback, the _rhs / _lhs routines are called.
Otherwise, operations are done all together.
Addresses #1031

NOTE: using convexify with split RTI phase has now relatively overhead, see #1035
Splitting the computations for convexify more efficiently should be done in another PR.

acados/ocp_nlp/ocp_nlp_sqp_rti.c Fixed Show fixed Hide fixed
acados/ocp_qp/ocp_qp_xcond_solver.c Fixed Show fixed Hide fixed
@FreyJo FreyJo changed the title Draft: Split condensing into preparation and feedback Split condensing and regularization into preparation and feedback Feb 13, 2024
@FreyJo FreyJo merged commit 7cf7a3a into acados:master Feb 14, 2024
5 checks passed
@FreyJo FreyJo deleted the dev_condensing branch February 14, 2024 12:39
@FreyJo FreyJo mentioned this pull request Feb 14, 2024
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.

None yet

1 participant