Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to create a 3D array in the data file?

    Posted 11/26/16 02:33 PM

    Originally posted by: khadeejah


    I have an input parameter with 3 indices : Aist , i in cludes 2 elements, s includes 6 elements, t includes 24 element>

     

    i is a string; 2 products , s is stages, they are 6 stages from 1 to 6 (in sequence) , t is periods, t=1...24. 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to create a 3D array in the data file?



  • 3.  Re: How to create a 3D array in the data file?

    Posted 11/27/16 03:50 AM

    Originally posted by: khadeejah


    Thanks, but i'm not importing data from a spreadsheet. and my data is 3D, and as said in your link, "3-dimensional arrays cannot be stored in spreadsheets or database tables natively"

     

    My problem is that when i crated the data as shown below, i had an error of "unexpected float for the value i've inserted!.

    https://www.ibm.com/developerworks/community/forums/html/topic?id=84163fdd-7733-4aed-a28b-6d8f7ec0c4ab&ps=25#repliesPg=0

    the last post!

     

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: How to create a 3D array in the data file?

    Posted 11/27/16 05:06 AM

    I answered there.

    In a nutshell for 3D Arrays in .dat use 3 brackets

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer