ILOG CPLEX 11.0 Getting Started > Tutorials > Concert Technology Tutorial for C++ Users > Reading a Problem from a File: Example ilolpex2.cpp > Selecting the Optimizer

The selection of the optimizer option is done in the switch statement controlled by the second command line argument, a parameter. A call to setParam(IloCplex::RootAlg, alg) selects the desired IloCplex::Algorithm option.