Do we know if what Qiang is asking is supported? Based on the documentation it should be but I haven't seen any actual examples.
I've seen various examples using csv/lp files but haven't managed to get an .mps file working.
I've also asked on StackOverflow and proved some sample code.
Thanks @ALEX FLEISCHER
I can solve an OLP model(.mod) using sample code found in the link you posted:
but I still don't know how to solve the .mps file.
Based on this link Model input and output data file formats - IBM Cloud Pak for Data you support the below
.py*.* (input data)
I've seen many examples for the last two (opl/docplex) but not for the first one (cplex-mps)
Thank you for showing me that I can't use google correctly!
The example you posted works perfectly for .mps files too.
My problem was that I was trying to use an empty "model.tar.gz" file.
On the linked example, the .lp file is included in the archive, once I did the same for my .mps file ,it worked too.
Thank you very much for you help!