Matlab compiler with CPLEX API

3 次查看(过去 30 天)
Sam
Sam 2016-1-6
Is it possible to 'bundle' CPLEX optimization API into MATLAB application and deploy the application to a machine without Matlab and CPLEX ?
  2 个评论
Harsheel
Harsheel 2016-1-6
I don't know what that API is about. Can you give more info. like which language it is written in, are there any pre-usage steps needed to use the API, etc.? If it is just a bunch of MATLAB files then yes you can do so.
Walter Roberson
Walter Roberson 2016-1-6
IBM's CPLEX, or Tomlab's CPLEX? The two might have very different license terms.

请先登录,再进行评论。

回答(1 个)

Usha Duddu
Usha Duddu 2016-1-8
Hi Sam
I understand that you are trying to use CPLEX API with MATLAB. Ability to integrate CPLEX API with MATLAB R2014a or prior is not available.
As a workaround you can use third party tool that enables MATLAB to communicate with CPLEX.
If you are using MATLAB R2014a or prior, it is possible to integrate CPLEX API with MATLAB. You could refer to Getting started with CPLEX for MATLAB and MATLAB Central Link for Call CPEX from MATLAB for your reference.
In order to compile CPLEX functions using MATLAB compiler add the folder(For example-'C:\Program Files\IBM\ILOG\CPLEX_Studio_Academic123\cplex\examples\src\matlab') that is associated with CPLEX function in "Files required for your application to run" section of Application Compiler. Also not that not all MATLAB functions can be compiled.
Please note that MathWorks does not guarantee or warrant the use or content of third party submissions. Any questions, issues or complaints should be directed to the author.
Hope this helps.
Thanks
Usha

类别

Help CenterFile Exchange 中查找有关 C Shared Library Integration 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by