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

Solving Linear Programs using qpSWIFT #11

Closed
trivediana opened this issue Feb 20, 2024 · 1 comment
Closed

Solving Linear Programs using qpSWIFT #11

trivediana opened this issue Feb 20, 2024 · 1 comment

Comments

@trivediana
Copy link

Hello,
Thanks for making your solver public. It is of great use in my research. I had a question regarding using qpSWIFT as a linear programming solver. For my application, I need to solve both an LP and a QP at real time rates. So I was thinking of using qpSWIFT as a common solver with the LP being solved by setting the P matrix to zero. Do you expect any efficiency shortcomings as a result? Thanks again!

@abhishek-pandala
Copy link
Contributor

Hi,
Thank you for your interest in the solver. Solving LP by setting the P matrix to zero is not a good idea as this might lead to numerical issues in the LDL factorization. Furthermore, the solution of LP and QP can be vastly different even if the P matrix is very close to zero matrix. Hope this helps.

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