P!=NP

Research Notes

Monthly Archives: December 2010

Converting Xpress lp format to Cplex lp format

I was doing a little digging to see if I could find a tool for converting between theĀ non-compatibleĀ lp formats of Cplex and XpressMP. It turns out that the open source lpsolve does the trick with the external language interfaces enabled for CPLEX and XPRESS.

I had to download and compile it myself, and symlink the .so files to the /usr/lib/ directory, and it seems to work with the command line:

lpsolve -rxli xli_XPRESS myXpressFile.lp -wxli xli_CPLEX myCplexFile.lp