Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.
Originally posted by: Sanias
I am new to CPLEX and don't know how to use it. I need to read an .lp file to solve the problem within, but I have no idea how to. Could someone please give me a step by step process on how to do this? I am not computer savvy at all!
Hi
could
main
{
cplex.importModel("file.lp");
cplex.solve();
}
help ?
regards
Where would I put this code? I want to read this model and then solve it. Btw, I am using CPLEX 12.6.
EDIT: I just figured it out, thanks!
If you are using the IDE then you can just put what Alex wrote into a .mod file and run that in the IDE. It could also help to start with the tutorial.
If you are using one of the programming APIs then you will have to tell us what API you are using.