How can I link CPLEX code to matlab code

I have written a program on CPLEX with the language 'OPL' which allows to solve a Mixed-integer linear programming (MILP), my question is how can I call and link the CPLEX program from matlab. Thank you in advance. Regards, Selma.

5 件のコメント

Selma Hameche
Selma Hameche 2018 年 5 月 28 日
first, thank you for answering me.
I added the path, but my problem is that I don't know what is the function, that has inputs parameters and returns me the solution from the program that I wrote in cplex. Thank you.
Selma Hameche
Selma Hameche 2018 年 5 月 28 日
I'd like to say: 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.
abdullateef almohamad
abdullateef almohamad 2018 年 7 月 12 日
編集済み: abdullateef almohamad 2018 年 7 月 12 日
I think after integrating the CPLEX in Matlab you should rewrite your problem using the new CPLEX-Matlab functions, not triggering your OPL code from Matlab.
In all cases have a look at this Matlab-OPL interface:
sara samo
sara samo 2019 年 6 月 22 日
hello, please selma, i have same issue. have you find solution.
thanks

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeText Analytics Toolbox についてさらに検索

タグ

質問済み:

2018 年 5 月 27 日

コメント済み:

2019 年 6 月 22 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by