12.07.2015 Views

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

ILOG CPLEX 11.0 User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Table 2.4 Algorithm Types for NodeAlgalg Algorithm Type MILP? MIQP? MIQCP?3 IloCplex.Algorithm.Network yes not available not available4 IloCplex.Algorithm.Barrier yes yes yes5 IloCplex.Algorithm.Sifting yes not available not availableControlling <strong>ILOG</strong> <strong>CPLEX</strong> OptimizersThough <strong>ILOG</strong> <strong>CPLEX</strong> defaults will prove sufficient to solve most problems, <strong>ILOG</strong> <strong>CPLEX</strong>offers a variety of other parameters to control various algorithmic choices. <strong>ILOG</strong> <strong>CPLEX</strong>parameters can take values of type boolean, int, double, and string. The parametersare accessed via parameter names defined in classes IloCplex.BooleanParam,IloCplex.IntParam, IloCplex.DoubleParam, and IloCplex.StringParamcorresponding to the parameter type.ParametersParameters are manipulated by means of IloCplex.setParam. For example:cplex.setParam(IloCplex.BooleanParam.PreInd, false);sets the Boolean parameter PreInd to false, instructing <strong>ILOG</strong> <strong>CPLEX</strong> not to applypresolve before solving the problem.Integer parameters often indicate a choice from a numbered list of possibilities, rather than aquantity. For example, the class IloCplex.PrimalPricing defines constants with theinteger parameters shown in Table 2.5, Constants in IloCplex.PrimalPricing for bettermaintainability of the code.Table 2.5 Constants in IloCplex.PrimalPricingInteger ParameterConstant in class IloCplex.PrimalPricing0 IloCplex.PrimalPricing.Auto1 IloCplex.PrimalPricing.Devex2 IloCplex.PrimalPricing.Steep3 IloCplex.PrimalPricing.SteepQStart4 IloCplex.PrimalPricing.Full86 <strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!