Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  RAM Utilization

    Posted 06/04/15 12:36 PM

    Originally posted by: mikeab


    I have a model with lots of pre-processing steps. Each step is in a Execute block. I created lots of tuples (aka drive tables) to save the data in each step and then feed it to the next execute block.

    I run out of RAM when the problem size increases. For example I have an array with about 60K rows of data in it (all of them are 0 or 1).

    I believe it is because of all those tuples that I create in my preprocessing steps. 

    if I write something like TupleName.clear() ; would that be helpful freeing up the RAM ?

    is there any better way ?

    I have a 4 Core CPU with 32GB of RAM.

     

    Thanks

    Mike 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: RAM Utilization

    Posted 06/04/15 05:50 PM

    Hi,

    do you use many "add" ?

    Could you rewrite with OPL and without scripting some of your constructions ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 3.  Re: RAM Utilization

    Posted 06/04/15 09:30 PM

    Originally posted by: mikeab


    I would if I could. I build a lot of sets with a heuristics and thats so the tables (aka Tuples) size increases. I need only the last tuple. if I use .Clear() would that free up memory ?


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 4.  Re: RAM Utilization

    Posted 06/05/15 01:43 AM

    Hi

    you should try the function end();

    ==> Releases the memory used by this object

    regards

     


    #DecisionOptimization
    #OPLusingCPLEXOptimizer