Decision Optimization

Decision Optimization

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


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

ERROR: IloAlgorithm cannot extract extractables

  • 1.  ERROR: IloAlgorithm cannot extract extractables

    Posted 04/17/14 04:45 AM

    Originally posted by: Mahdi-N


    Hi,

     

    I am trying to implement a second order cone constraint

    (p-\sum_{i \in I}q_ix_i-w)\leq -beta (\sum_{i\in I}c_i^2x_i^2)^(0.5)

     

    when I save the right hand side in a IloExpr, and create the constraint I get this error:

    ERROR: IloAlgorithm cannot extract extractables 126, 124, 139, 137, 152, 150, 165, 163, 178, 176, 191, 189, 204, 202, 217, 215, 230, 228, 243, 241, 256, 254, 269, 267, 282, 280, 295, 293, 308 and 306

     

    Could you please let me know what is wrong?

    Thanks,

    Mahdi


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: ERROR: IloAlgorithm cannot extract extractables

    Posted 04/22/14 12:50 PM

    CPLEX cannot handle square roots, so should explicitly square your constraint before adding it.

    You may want to take a look at example ilosocpex1.cpp which among other things illustrates adding second order cone constraints.


    #CPLEXOptimizers
    #DecisionOptimization