Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Writing a callback function to obtain running time

    Posted 05/20/16 05:56 PM

    Originally posted by: Lessi


    Dear all,

     

    I wrote a MIP model in C++ and let the solver looking for feasible solutions. I plan to write some lines of code to know when the solver finds the best IP solution. Could someone give me hints or examples of how to do it. I read some examples but have not found out what I should do. I guess it should be simple.

    Many thanks,

    Lessi


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Writing a callback function to obtain running time

    Posted 05/21/16 04:01 PM


  • 3.  Re: Writing a callback function to obtain running time

    Posted 05/23/16 01:12 AM

    The solution in the link quoted by Paul has an issue: it uses a control callback which can have negative impact on performance. See the discussion here for alternative solutions.


    #CPLEXOptimizers
    #DecisionOptimization