Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  dealing with an error

    Posted 09/11/14 02:45 AM

    Originally posted by: ShirinG


    Hi,

     

    I receive this error: 

    Exception from IBM ILOG Concert: excel: size of the range is not the size of the array.

     

    I don`t know how to solve it and where to look for... Actually, I checked any root I could guess... I wonder if the problem is in my model or in excel file.

     

    I appreciate your quick reply,

    Shirin


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: dealing with an error

    Posted 09/11/14 04:37 AM

    Hi

    this means that the array you use in SheetRead and the range you gave are not in sync

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: dealing with an error

    Posted 09/11/14 12:28 PM

    Originally posted by: ShirinG


    Thank you Alex;

    But I have checked it several times and I am defining the same size area in excel and .dat section.

    Do you know any solution?

    It is just a single dimensional array... Can you please tell me how I can write it in .mod section?! then probably it works....

     

    Thanks in advance


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: dealing with an error

    Posted 09/14/14 03:41 AM

    Hi

    have you had a look at the example oil in CPLEX_Studio126\opl\examples\opl\oil ?

    Have a look at oilSheet.dat

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 5.  Re: dealing with an error

    Posted 09/15/14 04:52 PM

    Originally posted by: ShirinG


    Thanks


    #DecisionOptimization
    #OPLusingCPLEXOptimizer