Fixed a bug when producing the results files, and added a flag for not
removing the results produced by AMPL.