Decision Optimization

Decision Optimization

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


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

Turn on/off heuristic search with callback

  • 1.  Turn on/off heuristic search with callback

    Posted 02/22/19 06:41 AM

    Originally posted by: Lessi


     

    I turn off the heuristic search by setting HeurFreq to -1. Is it possible to turn it on again using callback?

     

    Thanks,

     

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Turn on/off heuristic search with callback

    Posted 02/22/19 07:58 AM

    No. Changing any parameter from a callback is forbidden.

    What you can do instead is to interrupt the search from the callback and after solve() returns change the HeurFreq parameter back to non-negative and call solve() again. The second call to solve() should start more or less where the first one stopped.


    #CPLEXOptimizers
    #DecisionOptimization