Registered Member
|
Hi,
I used Cholmod for solving Sparse LSE in EIgen2 and it worked fine. Now, after upgrading the factorization consistently fails, without any other error message. Here is the code:
As you can see, I checked the matrix using methods for dense types. I also tried assigning only the lower triangle. Is there anything that changed in the backend of sparse matrices / Cholmod from Eigen2 to Eigen3 that I should be aware of? Thanks! -Marc |
Registered Member
|
Hi,
You can try the latest rev. Don't forget to include Eigen/CholmodSupport from /usr/include/eigen/unsupported. There is also the new solve() method. An example is given in the unit tests. Depending on your problem, you could also try an LDLT, Cholmod support has also been added. BTW, Taucs support has just been removed. See Gael comment on this. To me, removing taucs is not surprising as Taucs is not actively maintained (last updates date back to 2003), and I saw here and there that it is notoriously slower than more modern solvers like Cholmod for instance. Cheers, Romain
rbossart, proud to be a member of KDE forums since 2008-Dec.
|
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]