Comments (2)
Hi sucrozzg, Thank you for your interest in our solver. As per your question, I have the following suggestions
- I am not sure how the cpp interface is slower than Matlab. The mex file in matlab calls the cpp interface itself. So I believe there should be some problem with your cpp code. Is the cpp code being run in debug mode? Also are the inputs (dimensions of matrices, number of constraints, etc) given to the qpSWIFT solver in the correct format ?
- Since the problems you are comparing in matlab and cpp are different, I am wondering if the input matrices provided in the cpp interface are more dense than the ones used in matlab. qpSWIFT performs sparse LDL decomposition and the performance of the solver heavily depends on the sparsity pattern of the input matrices. Have you checked the solve time for RF_MPC using cpp interface ?
- qpSWIFT does not perform infeasibility detection and hence any infeasible problem is likely to hit the maximum number of iterations. In addition, max iterations are also reached when the input matrices are ill-conditioned. Check to see if these issues arise in your code.
from qpswift.
Thank you, professor. Based on your suggestion, I re-installed qpSWIFT following the tutorial on GitHub. This worked well. The solving time of the CPP interface has reached the same level as Matlab. I think maybe there is some omission in my previous installation steps. This is a good product. Thank you!
from qpswift.
Related Issues (10)
- simulink support HOT 1
- sparse python interface HOT 2
- Solving Linear Programs using qpSWIFT HOT 1
- Quadratic programs with only equality constraints HOT 1
- Max iter always reached on humanoid MPC problem HOT 5
- Warm Start Support HOT 1
- Absolute tolerance check error in Python HOT 2
- pip install qpswift HOT 1
- RELTOL is actually an absolute feasibility tolerance?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qpswift.