Decision Optimization

 View Only
Expand all | Collapse all

Method to get the Best Integer Solution

  • 1.  Method to get the Best Integer Solution

    Posted Sat November 21, 2020 06:01 PM

    Hi,

    I have a relatively simple question. Is there a method to get the current best integer solution information during the branch and bound process? For instance, "getBestObjValue()" gives the best bound information. I was wondering if there's a similar method for the best integer solution. 

    Thanks,



    ------------------------------
    S Y
    ------------------------------

    #DecisionOptimization


  • 2.  RE: Method to get the Best Integer Solution

    Posted Sun November 22, 2020 03:01 AM
    Hi

    in OPL you can use

    cplex.getObjValue())
    regards

    ------------------------------
    [Alex] [Fleischer]
    [EMEA CPLEX Optimization Technical Sales]
    [IBM]
    ------------------------------