Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@david0oo
Copy link
Contributor

@david0oo david0oo commented Jun 17, 2024

This PR moved the adaptive Levenberg-Marquardt update from the DDP solver to ocp_nlp_common, such that it also can be used by the SQP solver in the future. The PR includes the following changes:

  • A function ocp_nlp_compute_cost_from_submodules was added that adds the components of the cost function.
  • The Levenberg-Marquardt update on the Hessian is not performed within ocp_nlp_approximate_qp_matrices anymore, but within a novel function ocp_nlp_add_levenberg_marquardt_term. This function is called after ocp_nlp_approximate_qp_matrices.
  • The function ocp_nlp_add_levenberg_marquardt_term was added within ocp_nlp_sqp.c and ocp_nlp_sqp_rti.c.

@david0oo david0oo changed the title Levenberg marquardt module Levenberg marquardt calculation moved to common Jun 17, 2024
@FreyJo FreyJo changed the title Levenberg marquardt calculation moved to common Moved adaptive Levenberg marquardt calculation to common Jun 17, 2024
@FreyJo FreyJo merged commit c04f463 into acados:master Jun 17, 2024
@FreyJo FreyJo deleted the levenberg_marquardt_module branch June 17, 2024 14:53
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.

2 participants