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

Restructure of the CentroidalMPC class #766

Merged
merged 4 commits into from
Nov 20, 2023

Conversation

GiulioRomualdi
Copy link
Member

@GiulioRomualdi GiulioRomualdi commented Nov 20, 2023

This PR restructure of the CentroidalMPC class, in detail:

  • Now the CentroidalMPC returns a contact phase list instead of the next active contact
  • It is now possible to switch from ipopt to sqpmethod to solve the optimization problem
  • It is now possible to set the warm-start for the non linear solver

- Now the CentroidalMPC returns a contac phase list instead of a the next active contact
- It is now possible to switch from ipopt to sqpmethod to solve the optimization problem
- It is now possible to set the warm-start for the non linear solver
@GiulioRomualdi GiulioRomualdi marked this pull request as ready for review November 20, 2023 07:54
@GiulioRomualdi GiulioRomualdi enabled auto-merge (squash) November 20, 2023 07:54
Comment on lines 812 to 815
// casadiOptions["elastic_mode"] = true;
// casadiOptions["convexify_strategy"] = "regularize";
// casadiOptions["hessian_approximation"] = "limited_memory";
// casadiOptions["error_on_fail"] = false;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes I can remove it

@GiulioRomualdi GiulioRomualdi enabled auto-merge (squash) November 20, 2023 14:31
@GiulioRomualdi GiulioRomualdi merged commit 3f755bf into master Nov 20, 2023
13 of 15 checks passed
@GiulioRomualdi GiulioRomualdi deleted the centroidal_mpc_contact_phase_list branch November 20, 2023 14:32
@GiulioRomualdi
Copy link
Member Author

merging since the CI failure is not related to this PR

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

Successfully merging this pull request may close these issues.

3 participants