Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Error 32024 for QCP problem

    Posted 01/31/11 07:01 PM

    Originally posted by: gyhuang


    Hello
    When I try to use example code QCPex1.java, it returns errors as follows:
    Exception in thread "main" ilog.cplex.CpxException: CPLEX Error 32024: Licensing problem: Optimization algorithm not licensed.

    It seems that I dont have permission to run barrier algorithm. I am running the code in a server which I can not control the license. It seems that barrier algorithm is the only way to ensure optimal. Am I correct?

    For the error above, the only solution is to get the proper license?

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Error 32024 for QCP problem

    Posted 01/31/11 08:11 PM

    Originally posted by: gyhuang


    btw
    The whole error is:

    ILOG CPLEX 10.010, licensed to "university-davis, ca", options: e m b use=10
    Tried aggregator 1 time.
    Aggregator did 1 substitutions.
    Reduced QCP has 12 rows, 12 columns, and 25 nonzeros.
    Exception in thread "main" ilog.cplex.CpxException: CPLEX Error 32024: Licensing problem: Optimization algorithm not licensed.

    So, I guess I already have the license, however, I dont have license for the algorithm. Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: Error 32024 for QCP problem

    Posted 02/01/11 01:14 AM

    Originally posted by: gyhuang


    It seems now that I can run cplex, but the results are odd. I am simply running QCPex1.java, which is the example for QCP. It says:

    ILOG CPLEX 11.200, licensed to "university-davis, ca", options: b e m use=10
    Exception in thread "main" ilog.cplex.CpxException: CPLEX Error 1217: No solution exists.

    Even if I change it to a problem below, there is still no solution. I think the problem below definitely has a solution, right?

    ========================================================
    \Problem name: ilog.cplex

    Maximize
    obj: IloX0 + 2 IloX1 + 3 IloX2 + [ 33 IloX0 ^2 + 12 IloX0 * IloX1
    + 22 IloX1 ^2 + 23 IloX1 * IloX2 + 11 IloX2 ^2 ] / 2
    Subject To
    IloC0: IloX0 + IloX1 + IloX2 <= 20
    IloC1: IloX0 + 3 IloX1 + IloX2 <= 30
    IloC0: IloX0 ^2 + IloX1 ^2 + IloX2 ^2 <= 1
    Bounds
    0 <= IloX0 <= 40
    End
    ========================================================
    Anyone knows what happened?

    Thanks.
    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Error 32024 for QCP problem

    Posted 02/01/11 01:15 AM

    Originally posted by: gyhuang


    Attached is QCPex1.java.
    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Error 32024 for QCP problem

    Posted 02/02/11 10:44 AM

    Originally posted by: SystemAdmin


    The "options" field in the CPLEX license indicates which solvers are licensed. For instance, I believe "m" indicates the license for mixed integer problems. I'm pretty sure the code for quadratic problems is "q", which does not show there. I'm not sure why you get the "no solution" exception as opposed to the unlicensed solver message, but I doubt you'll have any success until you get the license squared away.

    Under IBM's academic licensing policy, a faculty member at UC-Davis can register with the IBM Academic Initiative and get a free license for CPLEX 12.2 (all solvers, including quadratic). Details are posted here. If you're a student, I suggest you find a faculty member and bust his/her chops about being two versions behind the curve with no quadratic solver. :-)

    /Paul

    Mathematicians are like Frenchmen: whenever you say something to them, they translate it into their own language, and at once it is something entirely different. (Goethe)
    #CPLEXOptimizers
    #DecisionOptimization