Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
Expand all | Collapse all

not available for quadratically constrained programs

  • 1.  not available for quadratically constrained programs

    Posted 11/12/09 01:43 PM

    Originally posted by: SystemAdmin


    [zxlcsit said:]

    Dear everyone!
      Please help me!
      When I solve a model, I met an error message "not available for quadratically constrained programs". I didn't find the root causes of  the error and don't know how to find it. The object function of my mathematic  model is linear and there is one quadratic equation in constraint equations. So I think the model should be a QCP. Does an QCP need satisfy some conditions?
    Thank you very much !
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: not available for quadratically constrained programs

    Posted 11/14/09 11:31 PM

    Originally posted by: SystemAdmin


    [jgregory said:]

    Only the Barrier algorithm is capable of solving quadratically constrained models in CPLEX.  The error message you quoted (CPLEX error 1031) would be possible if you tried to solve a continuous QCP using one of the Simplex optimizers, for instance.

    There exists a similar error message that pertains to trying to use certain solution information that is unavailable from the pure Barrier solver, after the algorithm has finished solving the model, but I am assuming the error you quoted is exact.

    You didn't mention what language (C, Java, etc) or interface (Callable Library, Concert, Interactive Optimizer, maybe something else) you are using, so it's difficult to suggest ways to locate the cause, if the above observation doesn't help.  You may be calling a Simplex optimizer directly (Primopt, Tranopt, for example), or you may have set a CPLEX parameter that controls the choice of optimizer when a generic call (Optimize) is made.  Under default parameter settings, CPLEX should select the Barrier optimizer automatically for a QCP.  So the first thing I suggest is looking at all parameters you may have set, in case one is specifying which algorithm to use.
    #CPLEXOptimizers
    #DecisionOptimization