read and write solutions as XML files

Note that a read solution is not actually tested against model.