Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Quadratic Program error "Array entry not ascending."

    Posted 02/28/18 03:01 AM

    Originally posted by: raswalgul


    Hello,

    I used the set_quadratic() function to add a Q matrix for a quadratic objective following the exact format as in the example. However, it shows the following error:

    cplex.exceptions.errors.CplexSolverError: CPLEX Error  1226: Array entry 99 not ascending.

    Q is a diagonal matrix of size 98. 

    I searched around the closest I could find is described here: http://www.vioja.com/linear-and-quadratic-terms-in-cplex-objective-function/

    Is there a better way to make this work?

    Thanks in advance.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Quadratic Program error "Array entry not ascending."

    Posted 02/28/18 11:42 AM

    That link looks to be a site which copies content from stackoverflow (and not very well). The original thread is here. Take a look at that and see if it doesn't answer your questions.


    #CPLEXOptimizers
    #DecisionOptimization