Hi, I am wondering if there's some way to speed up the process of solving 
linear equations for a lot unknowns (200+). For Current I just apply 
solve() directly over 200+ linear equations and let it solve for the 
unknowns, e.g., solve([2c_0 + 2c_1 + 3= 0 ,  4.2c_0 + 5c_1 + 1 = 0  ... ] , 
solution_dict=True).  This takes lots of time when I have hundreds of 
equations with hundreds of unknowns c_i.    

I do know that most (over 70%) of the unknown coefficients will be 0 and 
most of the non-zero coefficients will be related.  That is,  among the 
non-zero coefficients, some of them will get independent values r_i and 
other non-zero coefficients will depend on these. For example, c_10 = r1 , 
c_9 = 2*r1+3 , c_8=r2 , c_1 = 1/2*r2 .  Given these information, is there 
something that I can do to speed up the process ?   Could I use some 
special data structure, sparse matrix or something ?  

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-support+unsubscr...@googlegroups.com.
To post to this group, send email to sage-support@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-support.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to