Skip to content

CUDA based osqp compatible with apollo openspace planner.

License

Notifications You must be signed in to change notification settings

ZhenshengLee/cuosqp

Repository files navigation

The Operator Splitting QP Solver

Build status of the master branch on Linux/OSX Build status of the master branch on Windows Code coverage License

PyPI - downloads Conda - downloads

Join our forum on Discourse for any questions related to the solver!

The documentation is available at osqp.org

The OSQP (Operator Splitting Quadratic Program) solver is a numerical optimization package for solving problems in the form

minimize        0.5 x' P x + q' x

subject to      l <= A x <= u

where x in R^n is the optimization variable. The objective function is defined by a positive semidefinite matrix P in S^n_+ and vector q in R^n. The linear constraints are defined by matrix A in R^{m x n} and vectors l in R^m U {-inf}^m, u in R^m U {+inf}^m.

The latest version is 0.6.0.

Citing OSQP

If you are using OSQP for your work, we encourage you to

We are looking forward to hearing your success stories with OSQP! Please share them with us.

Bug reports and support

Please report any issues via the Github issue tracker. All types of issues are welcome including bug reports, documentation typos, feature requests and so on.

Numerical benchmarks

Numerical benchmarks against other solvers are available here.

How to build with CUDA

On Linux: cmake -G "Unix Makefiles" -DDLONG=OFF -DDFLOAT=ON -CUDA_SUPPORT=ON .. to configure and cmake --build . to build.

On Windows: cmake -G "Visual Studio 15 2017 Win64" -DDLONG=OFF -DDFLOAT=ON -DCUDA_SUPPORT=ON .. to configure and cmake --build . --config Release to build