xmlyqing00 / Cholmod-Scikit-Sparse-Windows

Set up cholmod and scikit-sparse python package on Windows.
GNU General Public License v3.0
37 stars 11 forks source link

Problem with linear system solution through cholesky decomposition #4

Closed okamiRvS closed 4 years ago

okamiRvS commented 4 years ago

I followed all the instructions, when I execute cholesky decomposition function works, but then it return me an error when I try to solve the system. In particular, I can do the first line, but not the last line of the following code:

factor = cholesky(A) x = factor(b)

the error that I received is: SystemError: <sksparse.cholmod.Factor object at 0x0000010810BC93A0> returned a result with an error set

Also, I debugged test_cholmod.py and it give me the same errors but I haven't idea of how solve thise issue.

Thank you so much, Umberto.

okamiRvS commented 4 years ago

Ok I resolved, not using scikit-sparse-0.4.3, but the last version 0.4.4 downloanding it here.

I changed the setup.py of 0.4.4 version with this setup.py.

xmlyqing00 commented 4 years ago

Hi @okamiRvS , Thank you for your information. That's very helpful.

I will consider upgrading my scikit-sparse version from 0.4.3 to 0.4.4