Read a MPS/LP file in Java

Hello support team,

Would you please, say that is there any way (or any example) to read an “MPS/LP” file in the GAMS Java API and get output in the specific format? If so, could you advise me, please?

Regards
Omidi. A

You can run the mps2gms utility (via some Java system call) to turn the MPS into a GAMS file. This GAMS file you can run with GAMSJob.run.

-Michael