Decision Optimization

Decision Optimization

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


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

Calling cplex.getObjValue(n) raises "No solution pool exist" error

  • 1.  Calling cplex.getObjValue(n) raises "No solution pool exist" error

    Posted 02/18/12 05:10 PM

    Originally posted by: UU24_Sergej_Andrejev


    Hi,

    I'm trying to use cplex 12.3 populate() method to retriev solution pool, but even through cplex.getSolnPoolNreplaced() returns a positive number (72), calling cplex.getObjValue(2) results in "CPLEX Error 3024: No solution pool exists." error. What I might be forgetting?

    Kind Regards,
    Sergej
    #CPOptimizer
    #DecisionOptimization


  • 2.  Re: Calling cplex.getObjValue(n) raises "No solution pool exist" error

    Posted 02/19/12 05:57 AM

    Originally posted by: UU24_Sergej_Andrejev


    Hi,

    I figured it out myself. I didn't notice that I was changing the problem before accessing solution pool. According, to the manual it had to reset solution pool.
    #CPOptimizer
    #DecisionOptimization