Hi all ๐
I know that joining a server and then immediately asking a question is unpopular, but I've been trying to figure this out for a few weeks now..
- I am looking at a travelling salesman problem with ~200k cities, Euclid2 distance( of floats).
Is there any way to save the entire distance matrix( triangular matrix dim ~ 200k^2 )? If not, is there a good way for me to save the distance matrices when I divide the grid into n parts( that way the matrices would be much smaller sized- files)? If both are bad ideas, what would be the best practices for doing something like this?
[ I've tried to work with mmap, but im not sure if it'd work with more than 1 matrix saved in it ]
ps. if you need more info, please ask, I will respond as soon as I see it ๐
Thanks