I have a program where the system matrix within the sparse solver (using the Eigen library) is often the same, and could be precomputed once and loaded as a file. Ideally I would want to serialize the whole solver, but there seems to be no way to do that with Eigen.
I am currently using CholmodSupernodalLLT
, so I suppose one way could be to subclass CholmodSupernodalLLT
and find a way to serialize cholmod_factor
, however I am at a loss on how to serialize this type as well.
I am willing to use other solvers (preferably LLT) or even other libraries if they have this capability.