@ALEX FLEISCHER
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!
------------------------------
Georgios Vovos
------------------------------
Original Message:
Sent: Fri November 13, 2020 06:47 AM
From: ALEX FLEISCHER
Subject: How to load .MPS file to run in Watson Machine learning
Hi
I recommend
https://medium.com/@AlainChabrier/solve-lp-problems-from-do-experiments-9afd4d53aaf5
by Alain Chabrier
regards
------------------------------
[Alex] [Fleischer]
[EMEA CPLEX Optimization Technical Sales]
[IBM]
Original Message:
Sent: Thu November 12, 2020 04:12 PM
From: Georgios Vovos
Subject: How to load .MPS file to run in Watson Machine learning
Thanks @ALEX FLEISCHER
I can solve an OLP model(.mod) using sample code found in the link you posted:
(https://github.com/IBMDecisionOptimization/oplrunonwml)
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
cplex | .lp .mps .sav .feasibility .prm |
cpo | .cpo |
opl | .mod .dat .oplproject .xls .json .csv |
docplex | .py *.* (input data) |
I've seen many examples for the last two (opl/docplex) but not for the first one (cplex-mps)
------------------------------
Georgios Vovos
Original Message:
Sent: Thu September 03, 2020 09:01 AM
From: ALEX FLEISCHER
Subject: How to load .MPS file to run in Watson Machine learning
Hi,
have you had a look at https://medium.com/@AlainChabrier/solve-lp-models-with-do-for-wml-5299da95c5ad ?
------------------------------
ALEX FLEISCHER
Original Message:
Sent: Tue February 18, 2020 10:29 AM
From: Qiang Chen
Subject: How to load .MPS file to run in Watson Machine learning
I have been loading MPS file to dropsolve directly to run linear optimization and pull result from there. However, since IBM migrate dropsolve to Watson Machine learning, I found it is really hard for me to do the same way I was used to. Does anyone know how to do it (not through API)
Thanks.
------------------------------
Qiang Chen
------------------------------
#WatsonStudio