Decision Optimization

 View Only
  • 1.  Maximum number of CPU core which can use in CPLEX

    Posted Fri March 29, 2024 07:01 PM

    Hello, I wonder about how much number of cpu can use while running cplex python.

    I saw some post which claim that cplex only can use 32 cpu cores.



    ------------------------------
    SUNGWOO HWANG
    ------------------------------



  • 2.  RE: Maximum number of CPU core which can use in CPLEX

    Posted Tue April 02, 2024 12:34 PM

    The documentation says:

    Threads parameter

    Describes the effect of the threads parameter in parallel.

    You manage the number of threads that CPLEX uses with the global thread count parameter (Threads, CPX_PARAM_THREADS) documented in the CPLEX Parameters Reference Manual. At its default setting 0 (zero), the number of threads that CPLEX actually uses during a parallel optimization is no more than 32 or the number of CPU cores available on the computer where CPLEX is running (whichever is smaller).

    If you set the threads parameter to a value greater than its default of 0 (zero), then the number of threads that CPLEX uses equals that value. When you set the threads parameter to 1 (one), you enforce sequential operation, that is, processing on one thread only.



    ------------------------------
    [Alex] [Fleischer]
    [Data and AI Technical Sales]
    [IBM]
    ------------------------------



  • 3.  RE: Maximum number of CPU core which can use in CPLEX

    Posted Mon May 20, 2024 10:35 AM

    No



    ------------------------------
    Matt Henry
    ------------------------------