Matlab compiler with CPLEX API

3 views (last 30 days)
Sam
Sam on 6 Jan 2016
Answered: Usha Duddu on 8 Jan 2016
Is it possible to 'bundle' CPLEX optimization API into MATLAB application and deploy the application to a machine without Matlab and CPLEX ?
  2 Comments
Harsheel
Harsheel on 6 Jan 2016
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 on 6 Jan 2016
IBM's CPLEX, or Tomlab's CPLEX? The two might have very different license terms.

Sign in to comment.

Answers (1)

Usha Duddu
Usha Duddu on 8 Jan 2016
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

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!