how to convert cplex *.mod file to glpk *.mod file on command line?
<p>I want to convert cplex .mod and .dat file to glpk .mod and .dat (separate model and data files) using any open source solver, and then compile the model with different data files with preferably glpsol. 
As far as I know, glpsol does not provide a read command for opl cplex .mod files. I do not want to export mps or lp files through oplrun and then convert to glpk .mod files, since cplex is not open source and lp/mps formats does not convert model and data files separately. </p>