Comments (7)
I think we will wait for the official release before supporting it as well.
Understood, thanks!
from osqp-eigen.
To complement what @S-Dafarra wrote, I think a prerequisite of supporting/documenting explicitly this use case is that the use of OSQP with CUDA via the C interface is explicitly documented/supported in a released (i.e. listed in https://github.com/oxfordcontrol/osqp/releases) version of OSQP, I do not know if that is already the case or it is planned, perhaps @gbanjac or @bstellato are the right person to ask (I guess that the corresponding OSQP upstream issue is osqp/osqp#30 ).
from osqp-eigen.
CUDA support for OSQP implemented in cuda-1.0
branch is not a part of any official release yet. It was built on top of develop-1.0
branch that allows an easy transition between different implementations of linear algebra. OSQP with CUDA will be documented and supported once we have OSQP 1.0 version released. We don't know right now when this will happen.
from osqp-eigen.
Hi @ZhenshengLee, thanks for opening the issue. osqp-eigen
is meant to be an interface to use osqp
in C++ using eigen
objects. If you are interested in the python
API I would suggest to use directly the one provided with osqp
.
For what concerns the cuda
support, I think we never tested it on our side. On the other hand, as far as I understood, osqp
started supporting cuda
as backend, although it has not properly released yet. I think you can still install osqp
with the cuda
support, and keep using osqp-eigen
normally since the API should not have changed. In any case, this is mainly a supposition of mine, since we did not test this workflow yet.
Feel free to comment or to open a specific issue if the current implementation of osqp-eigen
prevents the use of osqp
with cuda
.
from osqp-eigen.
Thanks a lot for the quick response @gbanjac .
from osqp-eigen.
Feel free to comment or to open a specific issue if the current implementation of
osqp-eigen
prevents the use ofosqp
withcuda
.
some data structure has been changed due to cuda interface
-
OSQPWorkspace
is replaced withOSQPSolver
-
OSQPData
is removed, and data injection is throughcsc_set_data
andosqp_setup
-
many
csc
related memory allocator functions are removed.
I think a prerequisite of supporting/documenting explicitly this use case is that the use of OSQP with CUDA via the C interface is explicitly documented/supported in a released
I understand that the version of cuda was not released, and the api may not be stable, even I guess the development of this branch was stopped after the paper was published.
The cuda branch of code is still experimental, but with impressive speed up in some usecases.
May be we should add some #ifdef CUOSQP_SUPPORT
codes?
I will have a try first.
thanks!
from osqp-eigen.
I am not sure if those differences are functional, or the result of a divergence between the released version and the cuda
branch. In this case, maintaining the interface to be compatible with both versions would be problematic.
I think we will wait for the official release before supporting it as well.
from osqp-eigen.
Related Issues (20)
- there is a problem when building it HOT 4
- ERROR in LDL_factor: Error in KKT matrix LDL factorization when computing the nonzero elements. The problem seems to be non-convex HOT 2
- problems compiling this library HOT 4
- Assert statement in SparseMatrixHelper.tpp HOT 2
- The createOsqpSparseMatrix does not correctly handle empty sparse matrix. HOT 5
- Compile error on Windows with vs2022 and vs2019 when compiling against osqp master branch (future osqp v1) HOT 8
- The possibility to handle huge matrix equation? HOT 4
- Using OSQP-Eigen with OSQP CUDA HOT 2
- have a solution for osqp 0.4.0? HOT 6
- error while loading shared libraries: libosqp.so HOT 3
- undefined reference to `OsqpEigen::Solver::Solver()',undefined reference to `OsqpEigen::Solver::settings() const' HOT 1
- I'm using osqp-eigen v0.7.0, wondering if Hessian Matrix is supporting only symmetric matrix, rather than upper triangular matrix. HOT 2
- Support for solution derivative functions HOT 1
- ..... HOT 1
- trouble building the library HOT 4
- different result in c++ and matlab HOT 3
- Get Unstable Answer When Solve a simple QP using Update Matrix Functions HOT 10
- When calling the setHessianMatrix and updateHessianMatrix functions, the compilation error HOT 4
- auxil.h no such file or directory HOT 4
- macos-latest CI float=ON failing since April 23
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 osqp-eigen.