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

Trick to reduce problem size when both lower and upper inequality constraints are required #13

Open
EmanueleSiego opened this issue Oct 23, 2024 · 1 comment

Comments

@EmanueleSiego
Copy link

Actually piqp manages inequality constraints of the form $Gx \leq h$.
If real problem requires both lower and upper constraints, say $k \leq \tilde{G}x \leq h$, then $G$ matrix used in the standard formulation doubles, $G = [\tilde{G} ; -\tilde{G}]$, and KKT matrix becomes larger.
Following the trick described in Marcel Jacobse, Christof Buskens - REVISITING DESIGN ASPECTS OF A QP SOLVER FOR WORHP, $\tilde{G}$ matrix can be directly used and better performances could be reached (at least in terms of time spent factoring the KKT matrix).

Do you think this is a possible improvement?

@RSchwan
Copy link
Contributor

RSchwan commented Oct 23, 2024

Thanks for the resource, very interesting read. I think, what they describe in the paper should be possible to implement, but requires a bit of remodeling of the solvers internals. I'm currently working on other optimizations (special KKT solver for OCP type structures with auto-detection, and warm-starting). But afterward, I will revisit this issue and see what I can do. This could be indeed very interesting in the context of SQP as described in the WHORP paper. It would also make the API more similar to IPOPT.

For now, I keep the issue open for future reference :)

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

No branches or pull requests

2 participants