mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Miscellaneous Math

Reply
 
Thread Tools
Old 2012-08-24, 05:24   #23
Puzzle-Peter
 
Puzzle-Peter's Avatar
 
Jun 2009

22·32·19 Posts
Default

I'd love to see what this method can do with large problems. I do FEM calculations and some of the systems I'm dealing with are >10M variables. They take quite some time even on really powerful machines.

Those matrices are populated very sparsely, so as far as I understand (which is not far at all) this new method wouldn't give much benefit as there are already highly optimized methods for these problems? Our running times roughly correlate with the square of the problem size.
Puzzle-Peter is offline   Reply With Quote
Old 2012-08-24, 05:27   #24
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

Quote:
Originally Posted by Puzzle-Peter View Post
I'd love to see what this method can do with large problems. I do FEM calculations and some of the systems I'm dealing with are >10M variables. They take quite some time even on really powerful machines.

Those matrices are populated very sparsely, so as far as I understand (which is not far at all) this new method wouldn't give much benefit as there are already highly optimized methods for these problems? Our running times roughly correlate with the square of the problem size.
You're mostly right. My initial test case is a relatively small 250K matrix, and under the N as defined in the paper, the total memory of the "test vectors" is around 2 TB. I'm working on optimizing the memory use as much as possible, but there's no way to work around the fact that N will always be limited to much much much less than described in the paper. That and the fact that the complexity is O(n3) lead me to believe this will never be practically useful, but I'll keep trying at it. (As pointed out above, the Block Lanczos/Wiedemann algos are roughly O(n2), as you suggest.)

By the way jasonp (or others with the answer), because the matrix is sparse, doesn't that mean that the solution vectors are around as sparse? That would go a long way to reducing the memory requirement.

Last fiddled with by Dubslow on 2012-08-24 at 05:29 Reason: (As pointed...)
Dubslow is offline   Reply With Quote
Old 2012-08-24, 10:46   #25
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

67258 Posts
Default

If you did GE on the matrix and wound up with a few variables that have no dependencies, setting those few variables to random bits and back-propagating will produce a completely dense nullspace solution. Setting those few variables to mostly zeros will also lead to a dense solution because the matrix mixes the mostly-zeros very thoroughly, but then you risk the Lanczos iteration failing.

The bound in the paper would mean a matrix of size n with elements in GF_2 needs 400n trial vectors to generate a solution with high probability. FEM calculations don't benefit at all because the method as written only applies to matrices with elements in a finite field.

Last fiddled with by jasonp on 2012-08-24 at 11:15
jasonp is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solving systems of equations modulo n carpetpool carpetpool 2 2017-02-05 20:40
SIQS - problem with solving linear algebra Dome Factoring 14 2015-03-06 17:59
Solving linear systems faster than ever... WraithX Math 2 2010-10-23 21:27
Solving linear systems modulo n drido Math 3 2008-02-08 15:06
Mathematica question-solving systems Zeta-Flux Math 6 2005-09-22 21:47

All times are UTC. The time now is 01:43.


Sat Jul 17 01:43:42 UTC 2021 up 49 days, 23:30, 1 user, load averages: 1.54, 1.34, 1.27

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.