Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  relative mip gap parametre

    Posted 05/06/09 07:33 PM

    Originally posted by: SystemAdmin


    [osta said:]

    Hi eveyone,
    I am programming a script with OPL 5.5 that calls three different models. I set relative mip gap to 1% in the ops file but when the script is run, the parameter is applied only to the first model. Thus, how to set this parametre in order to stop the running when the relative mip gap becomes under 1% for each model in the script?
    Thanks in advance
    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: relative mip gap parametre

    Posted 05/07/09 01:49 PM

    Originally posted by: SystemAdmin


    [osta said:]

    I found the solution by myself. I post it in order to inform you in case you nedd it one day! It suffices to add to each model called by the script the following code:

    execute PARAMS{
    cplex.epgap=0.01;
    }

    I tried it and it works.
    #DecisionOptimization
    #OPLusingCPLEXOptimizer