Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  how to set gap limit

    Posted 02/21/12 11:24 PM

    Originally posted by: JayY


    Hi,all

    I use the cplex 12.1 via the matlab interface.I am using toolbox functions. I want to set a bigger gap than the default value to accelerate the computational speed.S0 I use the statements below. But it does not work. how can I set new gap for the convergency criterion of cplex.

    options = cplexoptimset ('cplex');
    options.Diagnostics = 'on';
    options.mip.tolerances.mipgap=0.003;
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: how to set gap limit

    Posted 02/21/12 11:29 PM

    Originally posted by: JayY


    I am sorry, the version of cplex is 12.2.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: how to set gap limit

    Posted 03/02/12 02:28 AM

    Originally posted by: John Cui


    How about just set options.mip.tolerances.mipgap=0.003; only in our code?
    BTW, if you are an acedemic user, I suggest you upgrade to CPLEX 12.4, we improved a lot in CPLEX 12.4

    John Cui
    #CPLEXOptimizers
    #DecisionOptimization