I was trying to read a
MPS file by using the
PuLP package in the Python, but I can't find any related documents on it. Does anybody know, is there any way to read an LP/MPS file on the
According to PuLP's documentation, it seems that
load_file function in PuLP's
Amply class can only handle AMPL files with a subset of AMPL syntax for data.
So if you want to use those LP/MPS files in
PuLP, you may have to first convert them into AMPL files. You can either write a small script by yourself or use some existing scripts.