Skip to content

Hard inequality constraints for SQP solver #30

Open
@adamheins

Description

@adamheins

Is your feature request related to a problem? Please describe.
I would like to use hard inequality constraints with the SQP solver (based on HPIPM), rather than just soft constraints (via penalty functions). I would expect hard inequality constraints to be supported by SQP, but after trying to add them, and then digging a bit in the ocs2_sqp package code, it doesn't appear that they are currently supported.

Describe the solution you'd like
Assuming I'm correct that hard inequality constraints are not currently implemented for the SQP solver (happy to be corrected here!), then my preferred solution is for support for them to be added. I would potentially be interested in working on this myself if others see a need for it, too.

Describe alternatives you've considered
Of course, one could just use soft constraints via penalty functions like for DDP-based approaches, but having the alternative of hard inequality constraints is a nice point of comparison for controller behaviour.

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions