Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Deterministic time limit when using multiple threads

  • 1.  Deterministic time limit when using multiple threads

    Posted Mon November 07, 2016 07:12 AM

    Originally posted by: rocarvaj


    Hello,

    I was wondering, how does CPLEX apply a deterministic time limit when using multiple threads? I would appreciate any lights on this.

     

    Thanks,
    Rodolfo


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Deterministic time limit when using multiple threads

    Posted Wed November 16, 2016 02:14 AM

    Each thread has its own deterministic time and that should be roughly the same between different threads. Whenever a thread hits the deterministic time limit it stops and marks the solve as "deterministic time limit expired". Threads also synchronize periodically. During synchronization, if a thread notices that the solve is marked as "deterministic time limit expired" then the thread stops as well. So eventually all threads will stop. Usually they all stop because they all hit the deterministic time limit roughly at the same time.


    #CPLEXOptimizers
    #DecisionOptimization