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

Feature: Add affine constraints #33

Open
sschoedel opened this issue Jun 28, 2024 · 0 comments
Open

Feature: Add affine constraints #33

sschoedel opened this issue Jun 28, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sschoedel
Copy link
Collaborator

Similar to #32 and addressing #24. Right now (with the feature/conic-constraints branch) TinyMPC only supports bound constraints (clamping) and second-order cones out of the box. Adding affine constraints is straightforward and just requires adding a few more slack variables for any associated constraints, but like #32 requires:

  • Adding a hyperplane projection function and the slack variable update logic to the algorithm
  • Refactoring the codegen section to include these variables when generating the workspace
  • Modifying the API to accept affine constraints (maybe in a more general way if we now have to deal with clamping, affine constraints, and second-order cones separately, for example using only a second-order cone interface since reductions can be used to define clamping and affine constraints)
@sschoedel sschoedel changed the title Add affine constraints Feature: Add affine constraints Jun 28, 2024
@sschoedel sschoedel added the enhancement New feature or request label Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant