Hi all,

I am a newbie in programming with IBM ILOG CPLEX. For my problem I have found some similar question but not a suitable answer in the forum.

I have an LP file and would like to solve this with CPLEX. I have now entered the following code to solve the LP file with using OPL:

main

{

cplex.importModel("RSR.lp");

cplex.solve();

writeln(cplex.getObjValue());

}

However, I did not get a solution as I know from a normal OPL program, only some data in the statistics and in the engineprotokoll.

So my question is, whether there exist some more commands which i can enter in the OPL code to get the solution of my variables or whether i can convert my LP file to an OPL file?

Hope some of you can help me. Thanks for the support.

Neal