Originally posted by: EdKlotz
Hassan,
I don't know whether AMPL supports writing out SOCPs in MPS format or not. But, you can tell CPLEX to write out the model to a MPS, LP or SAV file by using either the 'file' or 'writeprob' directive among the directives in the cplex_options statement before you instruct AMPL to solve the model. For example
ampl: model mymodel.mod;
ampl: data mymodel.dat;
ampl: option cplex_options 'writeprob mymodel.sav';
ampl: solve;
Once you quit AMPL, you will see the model mymodel.sav in the directory from which you invoked AMPL.Since not everyone in the forum necessarily has AMPL, you may get more responses if you post the file in MPS, LP or SAV format.
That said, I have generated the SAV file from your .nl file myself and reproduce the behavior with CPLEX 12.6, the latest version. I'll let you know as soon as I have more information regarding what is happening.
#CPLEXOptimizers#DecisionOptimization