I’m trying to save variables from one run of a problem JuMP to use as initial values for variables in a separate JuMP problem. I see that there seem to be several (competing?) options for doing this:
JLD2’s readme says it’s the successor to JLD, but over the past several months JLD has been continuously updated while JLD2 has not. However, looking through the issues on the JLD repository, I came across an issue where one of the maintainers said that JLD would only be getting compatibility fixes rather than updates in the future.
From another post on the forum I found BSON, which seems to be completely independent of the JLD variants.
There’s an HDF5 package as well, but in its readme it talks about the advantages of using JLD over pure HDF5.
I don’t know how well the last three packages handle Julia data types, but my guess is that they’ll work for basic things like arrays and strings but have trouble with more complex types.
Which of these, if any, is the preferred or “official” way to save workspace variables?