Decision Optimization

Decision Optimization

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

 View Only
  • 1.  How to solve cplex error 1015

    Posted Fri September 15, 2017 04:29 AM

    Originally posted by: YeJunchi


    Hello, I invoke cplex by c++ to solve a MIQCP, and set CPX_PARA_DATACHECK as 2. It cause the cplex error 1015: Parameter value too big. I exported the lp file as following:

    Minimize
     obj: 0.0001892233 x3 + 0.0001892233 x4 + 0.0001892233 x8 + 0.0001892233 x9
          + 0.02701 x13 - 0.118625 x14 + x19
    Subject To
     c1:  0.001 x1 <= 10000000
     c2:  x2 - x3 + x4  = 0
     c3:  0.001 x2 - 68493.1506849315 x5 <= 0
     c4:  0.001 x2 >= 0
     c5:  0.001 x3 <= 68493.1506849315
     c6:  0.001 x3 >= 0
     c7:  0.001 x6 <= 10000000
     c8:  x7 - x8 + x9  = 0
     c9:  0.001 x7 - 68493.1506849315 x10 <= 0
     c10: 0.001 x7 >= 0
     c11: 0.001 x8 <= 68493.1506849315
     c12: 0.001 x8 >= 0
     c13: 0.001 x9 <= 0
     c14: 0.001 x9 >= 0
     c15: x2 + x7 - x11  = 0
     c16: - x2 - x7 - x12  = 0
     c17: x11 - x13  = 0
     c18: x12 + x14  = 0
     c19: x5  = 1
     c20: - x2 + x3  = 0
     c21: x4  = 0
     c22: 0.001 x8 - 68493.1506849315 x10 <= 0
     c23: 0.001 x9 <= 0
     c24: 0.001 x2 - 7937.76866469563 x15  = 0
     c25: 0.001 x7 - 7937.76866469563 x16  = 0
     c26: 0.001 x13 <= 13698.6301369863
     c27: 0.001 x13 >= 0
     c28: 0.001 x14 <= 13698.6301369863
     c29: 0.001 x14 >= 0
     c30: x18 <= 10
     c31: x18 >= 0.2
     c32: x17 <= 7
     c33: x17 >= 4
     c34: x17 <= 9.85
     c35: x17 >= 4
     c36: x18 <= 9.85
     c37: x18 >= 4
     c38: x1 + x2 >= 0
     c39: x1 - x2 >= 0
     c40: x6 + x7 >= 0
     c41: x6 - x7 >= 0
     q1: [ - x15 ^2 + x17 ^2 - 0.957611830464112 x18 ^2 ] >= 0
    Bounds
          x2 Free
     0 <= x5 <= 1
          x7 Free
     0 <= x10 <= 1
          x11 Free
          x12 Free
          x15 Free
          x16 Free
     0 <= x17 <= 100
     0 <= x18 <= 100
          x19 = 0
    Binaries
     x5  x10 
    End

    Could you please tell me which parameter in those constraints cause this error?

    Thanks!


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: How to solve cplex error 1015

    Posted Fri September 15, 2017 05:07 AM

    What version of CPLEX do you use? In older version of CPLEX the parameter value 2 does not exist.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: How to solve cplex error 1015

    Posted Fri September 15, 2017 10:45 PM

    Originally posted by: YeJunchi


    My CPLEX version is 12.5. Dose the parameter value 2 exist in this version?


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: How to solve cplex error 1015

    Posted Sat September 16, 2017 04:37 AM

    Originally posted by: YeJunchi


    And this program has return the error 1015. Could this fact can prove the DATACHECK has worked? 

    Thank you very much!


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: How to solve cplex error 1015

    Posted Sat September 16, 2017 05:38 AM

    Value 2 for DATACHECK (aka Modeling Assistance) was introduced with version 12.7: https://www.ibm.com/support/knowledgecenter/SSSA5P_12.7.0/ilog.odms.studio.help/CPLEX/ReleaseNotes/topics/releasenotes127/newModelAsst.html

    Is there a specific reason why you still use version 12.5, which is now 5 years old? There's been much progress since then!


    #CPLEXOptimizers
    #DecisionOptimization


  • 6.  Re: How to solve cplex error 1015

    Posted Sat September 16, 2017 09:08 AM

    Originally posted by: YeJunchi


    Ok, I understand why the error happens. Thank you very much. Our program chooses 12.5 because of other reasons. 


    #CPLEXOptimizers
    #DecisionOptimization