I have just installed Anaconda and am intending to use Spyder as it is able to display variable, parameter values for debugging. After which, I am planning to use Pyomo to code my MIP model and invoke CPLEX from it.
I am able to install Pyomo from the instructions from the Pyomo Documentation site, but am stuck at the CPLEX portion as it is not mentioned within the site.
Having trawled the net, to the best of my knowledge, I am unable to locate any comprehensive instructions on it. I would specifically like to enquire about the following (Kindly correct me if I am wrong):
I understand the Academic Version of CPLEX is downloadable, and that one needs to just download and click for installation.
The Cplex executable is different from the API as the API is just a wrapper that translated Python instructions into C instructions during execution, and the Cplex executable is invoked specifically by Pyomo.
One can either set the path within windows so that Pyomo would automatically locate the Cplex executable upon being invoked by the SolverFactory, or one can code the path within code itself.
I would like to enquire if the instructions found from the IBM support site is sufficient for setting up the Cplex executable.
With regards to 3 and 4, how does one invoke Cplex from Pyomo via coding the path with the code itself? On the other hand, even without explicitly coding the path, is invoking the SolverFactory sufficient? Or is it necessary to set the path via the Anaconda Prompt?
Greatly appreciate your kind advice on the above!