Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  4-dimension parameter with MS access without touple

    Posted 07/08/14 11:59 AM

    Originally posted by: MMM12


    Hi, how can I write a 4-dimension parameter with MS access without touple?

    tanx

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: 4-dimension parameter with MS access without touple

    Posted 07/09/14 05:06 AM

    Originally posted by: StephenHall


    Hi,

    in Short I think you can't. And why would you want to do that?

    What you can have is a 2 dimensional Array because it can be represented with table.

    But how would you represent a 3 dimensional array? I think only by a list of the data by row

    Arg1, Arg2, data

    That is a tuple.....

    if you want to use Array you need to define the size before, not with set of tuple

     

    I think this threat will help you :

    https://www.ibm.com/developerworks/community/forums/html/topic?id=d52cded9-aedb-44ce-bd81-e33579952997&ps=25

     

    I hope this help


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: 4-dimension parameter with MS access without touple

    Posted 07/09/14 05:12 AM

    Originally posted by: StephenHall


    I guess it is the continuity of this theard :

    https://www.ibm.com/developerworks/community/forums/html/topic?id=79176ca6-1896-475f-a925-c7cdacaec841&ps=25

     

    you want to have 

    int capacity_prod [product][Production_sites] [PlatformsU][scenario]

    I propose you to do

    in .mod

    tuple capacity_prod {

    string product; // I assume product is a string

    string production_site; // I assume production_site is a string

    string platformsU;    //I assume platformsU is a string

    int scenario;   //I assume scenario is a string

    float capacity;

    };

    Capacity_prods = ...;

    I hope that help


    #DecisionOptimization
    #OPLusingCPLEXOptimizer