Decision Optimization

Decision Optimization

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


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

vmc file options for specifying number of workers and cores per worker

  • 1.  vmc file options for specifying number of workers and cores per worker

    Posted 11/15/19 05:11 PM

    Originally posted by: srinit34


    hi

    please let me know the doc page which has all the possible configurations that can be specified in the VMC file during MIP distribution.

    Specifically, can I specify the number of workers on each physical machine ? So if I have a 32 core machine, I would like to speciffy that it should run "w" workers, each using 32/w cores.


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: vmc file options for specifying number of workers and cores per worker

    Posted 11/15/19 05:29 PM

    The short answer is no.

    A VMC file doesn't specify machines that can be used by one or several workers, but it directly specifies workers.  This means that CPLEX will not recognize whether two workers specified in a VMC file use the same physical machine or not.  In other words, CPLEX knows about logical workers rather than physical ones.  It is up to the user to allocate workers to hardware resources.  A simple way is of course to have one worker per machine, but that need not be the case.

    If you would like CPLEX to use w workers, you need to create these w workers and mention each of them in the VMC file.  The fact that they all run on the same machine is not known to CPLEX, and doesn't change how you create and specify them.


    #CPLEXOptimizers
    #DecisionOptimization