Using Parallel Optimizers in the ILOG CPLEX Component Libraries

  1. Link your application to the parallel implementation of the ILOG CPLEX Component Libraries.
  2. Create your ILOG CPLEX environment and initialize a problem object in the usual way. See Initialize the ILOG CPLEX Environment and Instantiate the Problem Object for details.
  3. Within your application, set the appropriate ILOG CPLEX parameter from Table 9.7 to specify the number of threads.
  4. Enter and populate your problem object in the usual way, as in Put Data in the Problem Object.
  5. Call the parallel optimizer with the appropriate method or routine:

    Table 9.8 Parallel Optimizer Methods and Routines

    Optimizer 
    IloCplex Method 
    Callable Library 
    Parallel MIP Optimizer 
    solve() 
    CPXmipopt() 
    Parallel Barrier Optimizer 
    setParam(RootAlg, Barrier) 
    CPXbaropt() or CPXhybbaropt() 
    Parallel Simplex Optimizer 
    setParam(RootAlg, Primal) or setParam(RootAlg, Dual) 
    CPXprimopt() or CPXdualopt() 


Previous Page: Using Parallel Optimizers in the Interactive Optimizer  Return to Top Next Page: Parallel MIP Optimizer