Triggering CPLEX using Matlab

柔情痞子 提交于 2020-01-07 09:55:33

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!