Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Solutions

    Posted 06/03/09 05:08 AM

    Originally posted by: SystemAdmin


    [stefan_s said:]

    Hi,

    I'm writing a C++ program that uses CPLEX. I need it to give me: First Integer solution, Best integer solution at root node, LP relaxation solution, and MIP solution, and all the corresponding variable values. Is it possible?

    Thank you
    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Solutions

    Posted 06/04/09 09:21 PM

    Originally posted by: SystemAdmin


    [prubin said:]

    I assume you want the full solution, not just the objective value (which would show up in the node log).  I think you can get all but the LP relaxation solution using an incumbent callback.  For the LP solution, I think you need one of the subclasses of ControlCallback (heuristic, branch or cut callback).  In all cases, the getValue or getValues method would be the method to use.

    /Paul
    #CPLEXOptimizers
    #DecisionOptimization