I have tried to use convert facility to write a (.MPS) file from an NLP solver. The code is as follows:
Code: Select all
model Mark_cut / all /; *** Modifications * choose convert as solver option nlp = convert; ** write convert option file $echo fixedmps Mark_cut.mps > convert.opt ** instruct convert to look for a solver option file Mark_cut.optfile = 1; solve Mark_cut using nlp max obj;
While I run the model I get a (.MPS) file that, it does not work.
Would you please, say that does convert facility do that? If so, how can I fix it?