Originally posted by: LuisdelaTorre
I'm using Concert (through Java). I want to read a model from an .lp file, solve it, and display the values of the optimal variables. I'm not sure how to get the variable values from the model imported into Concert. Normally when I write a model entirely in Concert, I can do this with something like
IloNumVar x = cplex.numVar(0,1);
cplex.solve();
cplex.getValue(x);
but I'm not sure what object to call getValue on when I read the model from an LP file instead of creating it myself.
Thanks!
#CPLEXOptimizers#DecisionOptimization