Using Parallel Optimizers in the CPLEX Component Libraries

  1. Link your application to the parallel implementation of the ILOG CPLEX Component Libraries. See Table 8.8 for the library name, which varies according to platform.
  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 CPLEX parameter from Table 8.9 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:

    Optimizer 
    Concert Technology Library 
    Callable Library 
    Parallel MIP Optimizer 
    IloCplex::solve() 
    CPXmipopt() 
    Parallel Barrier Optimizer 
    IloCplex::Barrier or IloCplex::BarrierPrimal or IloCplex::BarrierDual 
    CPXbaropt() or CPXhybbaropt() 
    Parallel Simplex Optimizer 
    IloCplex::Primal or IloCplex::Dual 
    CPXprimopt() or CPXdualopt() 


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