Has Any One Figured Out How To Generate an .mps or .lp File?

I’m trying to use an external solver for a mixed-integer linear program which takes too long when run in FindMinimum.
The solver can take .mps or .lp files as input.