Skip to content

Slow initialization and stuck in initialization phase when using OSQP for quadratic programming #696

Discussion options

You must be logged in to vote

The number of nonzeros is really large in your problem, and its likely that the issue is that the internal memory allocation and factorisation of the KKT conditions for your problem are consequently very slow. This is partly (maybe entirely) because the internal sparse matrix factorisation method defaults to the QDLDL package, which is a simplicial matrix factorisation method that doesn't always scale well to very large problems.

If you are on an intel platform then you could try using the MKL solver backend instead, or even the indirect / conjugate gradient based linear solver method. I'm not sure if those are in the current release (0.6) though, or only in the 1.0 beta release.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ineffable-sun-xie
Comment options

@goulart-paul
Comment options

Answer selected by ineffable-sun-xie
@ineffable-sun-xie
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants