Slow sparse solver
Page 1 of 1

Author:  kyraz66 [ Sun Nov 22, 2020 3:32 am ]
Post subject:  Slow sparse solver


I am solving a sparse linear system Ku = B using alglib::sparsesolve in C++, the matrix is around 1e4x1e4 in size and 99.9% empty. However the computation time on my personal computer is around 1 minute, which looks very high for such matrix (I am running in sequential with commercial version of Alglib, the matrix is in CSR format). I was wondering if this computation time was normal or if I misunderstood something.

    alglib::sparsematrix K;
    alglib::real_1d_array B;


    int nLen = B.length()
    alglib::real_1d_array u;

    alglib::sparsesolverreport rep;

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group