Decision Optimization

Decision Optimization

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

 View Only
Expand all | Collapse all

Parallel mode is limited to 32 threads

  • 1.  Parallel mode is limited to 32 threads

    Posted Fri September 14, 2018 10:00 AM

    Originally posted by: Rym


    I'm executing my models on  a server with 32 processors and 16 threads can be run on each processor. However, through the CPLEX log, i observed that the parallel mode using only 32 threads.

    SO my question, how can i use all my server resources to solve my model ?

     

    Thanks


    #DecisionOptimization
    #OPLusingCPLEXOptimizer


  • 2.  Re: Parallel mode is limited to 32 threads

    Posted Fri September 14, 2018 12:08 PM

    By default CPLEX uses as many threads as there are cores.

    If you want to use more threads than you have processors, then you have to explicitly set CPX_PARAM_THREADS. Notice however that using more threads than cores frequently results in a performance degradation, so carefully double-check whether this is helpful at all.


    #DecisionOptimization
    #OPLusingCPLEXOptimizer