Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Run model with multiple instances

  • 1.  Run model with multiple instances

    Posted Mon July 16, 2018 03:27 AM

    Originally posted by: Humblor


    Hello,

    Can anyone suggest me the solution to this problem?

    I have a decision expression as :

    dexpr float R = (sum(s in Facility,c in Customers,i in ProductsdRawMat,t in Periods) -shortCost[c][i]*Supply[s][c][i][t]);

    minimize R;

    subject to 

    {

    R<= e[i]

     

    }

     

    Where "e" is a value which going to change from 1 to 1000,

    And, I need to run my model 1000 times to satisfy my this constraint because I need to change "e" value every time, So, I want to put this "e" value in a loop which runs this model 1000 times with change the "e" value.

     

    I m very new to this OPL. Please help me 


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Run model with multiple instances

    Posted Tue July 17, 2018 06:35 AM

    Hi,

    in https://www.linkedin.com/pulse/how-opl-alex-fleischer/

    have you had a look at

    • Change some data and solve again without regenerate
    • Change some data and solve again with regenerate

    ?

    regards


    #DecisionOptimization
    #OPLusingCPLEXOptimizer