Solver/model status output

Now includes writing solver and model status outputs to a text file and interpreting them after solve.