Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  CPLEX 12.2.0.2. improper error 1004

    Posted 01/23/12 12:53 PM

    Originally posted by: pinaryap


    Hello,
    I'm getting error 1004 while solving a MIQCP in release 12.2.0.2. I know that my code has no problems since it works fine in release 12.1.0.
    https://www-304.ibm.com/support/docview.wss?uid=swg1RS00559
    A way to fix the problem is explained in the link above but i could not understand how to apply. I have to use release 12.2.0.2 so how can i fix this problem? Or how can i apply "set mip cuts all -1", which may also help solving this problem, in the callable library?

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: CPLEX 12.2.0.2. improper error 1004

    Posted 01/23/12 02:10 PM

    Originally posted by: SystemAdmin


    In order to apply the workaround described in the quoted link add this to your code before you start solving the problem:
    CPXsetintparam(env, 2077, 0);
    

    Does this fix your problem?
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: CPLEX 12.2.0.2. improper error 1004

    Posted 01/23/12 04:32 PM

    Originally posted by: pinaryap


    Thank you, it fixes the problem. What exactly this setting indicates?
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: CPLEX 12.2.0.2. improper error 1004

    Posted 01/24/12 03:12 AM

    Originally posted by: SystemAdmin


    It tells CPLEX to skip a particular heuristic. Running this heuristic may cause the improper 1004 error in the version of CPLEX you are using.
    #CPLEXOptimizers
    #DecisionOptimization