Decision Optimization

Decision Optimization

Delivers prescriptive analytics capabilities and decision intelligence to improve decision-making.


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Run CPLEX on Matlab Matrices in CPLEX Opt. Studio

    Posted 03/31/14 08:53 PM

    Originally posted by: YamanS


    Hello,

    I have a problem with +20,000 var & constraints that is taking days without reaching a solution. I am running the solver in matlab. No information is printed on the screen while running the solver even though the Diagnostics mode is turned 'on'. From the forum I found out that using the Matlab connector interfacing parameters like the diagnostics might not work. So I want to know if I can use the CPLEX Optimization Studio to run directly on the same Aeq, Beq, Aineq, ... matrices directly without having to re-write the constraints and objective function in the Opt. Studio style. And using the Opt. Studio I can use any diagnostics display option and track the issue of the slow performance of the problem.
    I am using CPLEX ver 12.6 and Matlab R2013b
     

    Thanks,


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Run CPLEX on Matlab Matrices in CPLEX Opt. Studio

    Posted 04/01/14 12:56 AM

    Please take a look at the 12.6 reference documentation. The name of the parameter for enable log output changed to 'Display' in 12.6.

    You can not run CPLEX Optimization studio on matlab matrices. What you can do though is to use the class API in matlab, export the model to a SAV file via

    cplex.writeModel('model.sav')

    and the use the interactive optimizer in the command line to solve this model.


    #CPLEXOptimizers
    #DecisionOptimization