ALGLIB forum
It is currently Fri Jul 19, 2024 9:31 pm

All times are UTC

Forum rules

1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.

Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Slow sparse solver
PostPosted: Sun Nov 22, 2020 3:32 am 

Joined: Sun Nov 22, 2020 3:16 am
Posts: 1

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;

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 8 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group