Decision Optimization

Decision Optimization

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


#Analytics
#DecisionOptimization
#DecisionOptimization
 View Only
  • 1.  Run CPLEX on a Cluster node not head node?

    Posted 11/14/17 07:16 AM

    Originally posted by: khadeejah


    Hi All, when i make a run on cplex on a "Cluster", it run on the head node not the sub-nodes, which is useless as i don't benefit this way from the speedy processing.

    My question how i perform the runs on the sub-node not the head node? is there a specific command or what ?

    I'm working with cplex ILOG v12.7

    I'd appreciate if someone could help me out with this asap.

    Wish u all a wonderful day, 

    aya


    #CPLEXOptimizers
    #DecisionOptimization


  • 2.  Re: Run CPLEX on a Cluster node not head node?

    Posted 11/14/17 07:33 AM


  • 3.  Re: Run CPLEX on a Cluster node not head node?

    Posted 11/14/17 01:12 PM

    Originally posted by: khadeejah


    Hi Alex, i read the document 

    as for the OPL, i reached that point :

    The three run configurations illustrate the various ways in which the VMC file can be specified:

    • including it in a settings file
    • reading it with a CPLEX method
    • including it in an OPLScript block

    Does this mean i should do any of the three or must do the three of them as in each configuration ???

    and shouldnt i generate a configuration file for virtual m/cs ? how i'll do so?, i understood that i've got to put 

    
    set distmip config mpi in the mod file , but where exactly.
    

     


    #CPLEXOptimizers
    #DecisionOptimization


  • 4.  Re: Run CPLEX on a Cluster node not head node?

    Posted 11/15/17 02:31 AM

    These are three different ways to achieve the same thing, so you only need one of them.

    Correct, you must write the VMC file by hand. You can find more information here and here.

    'set distmip config mpi' is not for OPL but is a command for the interactive optimizer. When using OPL you have to use one of the three ways described in the article Alex pointed to.
     


    #CPLEXOptimizers
    #DecisionOptimization


  • 5.  Re: Run CPLEX on a Cluster node not head node?

    Posted 11/15/17 01:51 PM

    Originally posted by: khadeejah


    IS this the vmc file that i must copy to the IDE? or where shall i place it..

    <vmc>
      <machine name="machine1">
        <transport type="process">
          <cmdline>
            <item value="$(CPLEX_STUDIO_DIR)/cplex/bin/x64_win64/cplex.exe"/>
            <item value="-worker=process"/>
            <item value="-libpath=$(CPLEX_STUDIO_DIR)/cplex/bin/x64_win64"/>
          </cmdline>
        </transport>
      </machine>
      <machine name="machine2">
        <transport type="process">
          <cmdline>
            <item value="$(CPLEX_STUDIO_DIR)/cplex/bin/x64_win64/cplex.exe"/>
            <item value="-worker=process"/>
            <item value="-libpath=$(CPLEX_STUDIO_DIR)/cplex/bin/x64_win64"/>
          </cmdline>
        </transport>
      </machine>
    </vmc>

     


    #CPLEXOptimizers
    #DecisionOptimization