Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  3 Dimensional Arrays in Matlab

    Posted 11/16/14 05:39 PM

    Originally posted by: aykutmelih


    Hi,

     

    I am pretty new to CPLEX. I have a 3-dimensional array in Matlab composed of operators, jobs, and days (X[i][j][k]). I am wondering its example usage in Matlab through CPLEX API. I haven't seen any out of the box example including 3-dimensional arrays. Need some help.

     

    Thank you in advance.

     

    Aykut


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: 3 Dimensional Arrays in Matlab

    Posted 11/21/14 03:47 AM

    Since the CPLEX matlab API supports only column vectors of decision variables, you will have to map your 3 dimensional array to a column vector. This is usually done by concatenating the elements in the 3 dimensional array in some way or another.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: 3 Dimensional Arrays in Matlab

    Posted 11/27/14 03:34 PM

    Originally posted by: aykutmelih


    Thank you for the help Daniel. I was able to model it through converting it to a column vector.

    Thanks again.


    #CPLEXOptimizers
    #DecisionOptimization