clean up LP/MPS file writer