Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  How to delete decision variable?

    Posted 09/28/18 05:46 AM

    Originally posted by: Sumit999


    Hi,
    I am running a model in which I have a Boolean decision variable of 2 dimension: d1[wards][TS].

    Wards-> Total 200

    TS-> Transfer Stations (Total 200)

    As of current declaration all 200X200 decision variables are getting stored and declared.
    I also have distance between each wards and TSs. And I want to delete/ not to be stored those decision variables for which the corresponding distance is more than 10 km.

    I am using interactive optimizer. Please help me out with this.
    Thanks in advance. 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: How to delete decision variable?

    Posted 09/28/18 08:07 AM

    Hi,

    you could have a look at

    IDE and OPL > Optimization Programming Language (OPL) > Language User's Manual > Introduction to OPL > Modeling tips > Sparsity

    If you use tuple set instead of arrays you ll be able to reduce memory footprint

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer