Decision Optimization

Decision Optimization

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

 View Only
  • 1.  branch callbacks and multiple threads

    Posted Thu December 27, 2018 07:53 AM

    Originally posted by: srinit34


    cplex 12.6.1 had some documentation on when multiple threads can be used in presence of control callbacks

     

    cannot find similar documentation in cplex 12.8

     

    can you please point me to relevant documentation


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: branch callbacks and multiple threads

    Posted Fri January 04, 2019 03:19 AM

    I am not sure what you are referring to with respect to 12.6.

    Control callbacks can always be used with mutli-threading, provided the implementation of callbacks is thread-safe.


    #CPLEXOptimizers
    #DecisionOptimization


  • 3.  Re: branch callbacks and multiple threads

    Posted Fri January 04, 2019 07:32 AM

    Originally posted by: srinit34


    If I remember, 12.6.1 had some guidelines and warnings about using multi threading in the presence of control callbacks.

    For example it mentioned that as long as CPLEX api calls were used in the callbacks, multi threading was safe.

    I could not find similar guidelines in 12.8.


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: branch callbacks and multiple threads

    Posted Fri January 04, 2019 08:49 AM


  • 5.  Re: branch callbacks and multiple threads

    Posted Fri January 04, 2019 01:53 PM

    Originally posted by: srinit34


    Thank you that was the page I was looking for.

    On the desktop help, the topics are under Legacy Callbacks.

     

    Thread safety and MIP control callbacks
    Advanced MIP control interface (legacy)
     Using legacy optimization callbacks > Control callbacks
    Control callbacks and parallel search


    #CPLEXOptimizers
    #DecisionOptimization