问题
Is there any way to run a CPLEX OPL project using Matlab? Code will be written in CPLEX solver but it will be triggered (RUN) by Matlab.
回答1:
Although I have not tried, this should be possible. You can use oplrun to "execute OPL models and projects from the command line". And, in MATLAB you can use system to "execute operating system command and return output". Combining the two should do the trick.
来源:https://stackoverflow.com/questions/40296416/triggering-cplex-using-matlab