I have an OPL model in CPLEX studio.
I would like to build a simple user interface in Excel allowing users to enter some simple parameters & data, then click a button, then have the solution written to another sheet in the spreadsheet.
I need the solution to work on Mac and Windows.
Apparently their used to be some Excel interface examples bundled with CPLEX under cplex\examples\src\excel
CPLEX OPL and Excel VBA Integration
However this does not appear to be bundled any more as the folder does not exist in "CPLEX_Studio1271".
One option here is to launch oplrun.exe via a Shell command:
However this requires knowledge of the path, which depends on the O/S and possibly version. Also, a nasty "macros" warning comes up when you open the spreadsheet. Both those issues could be tolerable but I am hoping there is a better solution.
What is the best way to integrate Excel with OPL so that the spreadsheet can provide the input data, trigger the OPL solution, then contain the output data? Bearing in mind that this should be deployed to various users without then needing to install extra plugins etc.