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

Skip to content

Conversation

@giaf
Copy link
Collaborator

@giaf giaf commented May 21, 2024

This PR adds soft constraints support to OSQP interface, and fixes the QP mass spring example in case of soft constraints.

There are still some limitations in the OSQP interface, namely it must hold that the lower bounds on the slacks are nonnegativity constraints s>=0, that is anyway what is generally used to implement soft constraints.

Note that soft constraints are only supported for QP formulations for now.
Within SQP, the lower bounds on the slack variables typically change during the SQP iterations.

It has not been implemented yet a general cleanup of the OSQP interface to make it more "high level" and independent to changes within OSQP internal structures.

@FreyJo FreyJo merged commit b1cf0dc into acados:master May 22, 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.

2 participants