robotology / osqp-eigen

Simple Eigen-C++ wrapper for OSQP library
https://robotology.github.io/osqp-eigen/
BSD 3-Clause "New" or "Revised" License
381 stars 112 forks source link

The solver gets always reinitialized when using RowMajor matrices #168

Open S-Dafarra opened 1 month ago

S-Dafarra commented 1 month ago

See https://github.com/robotology/osqp-eigen/pull/69#issuecomment-707559585 for the explanation.

In short, when using RowMajor matrices, the sparsity pattern is always detected as changed, causing the solver to be initialized all the times