Decision Optimization

Decision Optimization

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


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

Cplex 11, solution pool and BestObjValue

  • 1.  Cplex 11, solution pool and BestObjValue

    Posted 04/10/08 10:22 PM

    Originally posted by: SystemAdmin


    [Simon said:]

    Hello!

    I develop a program in Visual Studio 2005 and I use Cplex 11.0. I use the solution pool to get a population of solution. Now I want to compare this solutions with others, which I have from an other method. The other method returns a double value, which I compute with BestObjValue. But I don't know, how I can get the BestObjValue of a solution from the Solution Pool without starting the solver once more on the solution. I tried GetObjValue(i) (with i for the solution in the solution pool), but it's not the same as BestObjValue.

    Does somebody know if I can get the BestObjValue of a solution from the solution pool directly? And how?
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Cplex 11, solution pool and BestObjValue

    Posted 04/11/08 02:05 PM

    Originally posted by: SystemAdmin


    [oussedik said:]

    Hi,

    BestObjValue within CPLEX provides the best bound for the objective (for a min problem it's the min objective value of all remaining unexplored nodes), so it's normal that it can be different from objective values (GetObjValue(i)) of the solutions in the solutions pool.

    If you need to get the best objective value in the solution pool, then you can get all their objectives with GetObjValue(i) and compare the values.

    Hope this helps,

    Sofiane




    #CPLEXOptimizers
    #DecisionOptimization