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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

IloCplex.setParam(IloCplex.IntParam.RootAlg, alg)where alg is an integer specifying the algorithm type. Table 2.3 shows you the availabletypes of algorithms.Table 2.3 Algorithm Types for RootAlgalg Algorithm Type LP? QP? QCP?0 IloCplex.Algorithm.Auto yes yes yes1 IloCplex.Algorithm.Primal yes yes not available2 IloCplex.Algorithm.Dual yes yes not available3 IloCplex.Algorithm.Network yes yes not available4 IloCplex.Algorithm.Barrier yes yes yes5 IloCplex.Algorithm.Sifting yes not available not available6 IloCplex.Algorithm.Concurrent yes yes not availableYou are not obliged to set this parameter. In fact, if you do not explicitly callIloCplex.setParam(IloCplex.IntParam.RootAlg, alg), <strong>ILOG</strong> <strong>CPLEX</strong> will usethe default: IloCplex.Algorithm.Auto. In contrast, any invalid setting, such as a valueother than those of the enumeration, will produce an error message.The IloCplex.Algorithm.Sifting algorithm is not available for QP. IloCplex willdefault to the IloCplex.Algorithm.Auto setting when the parameterIloCplex.IntParam.RootAlg is set to IloCplex.Algorithm.Sifting for a QP.Only the settings IloCplex.Algorithm.Auto and IloCplex.Algorithm.Barrierare available for a QCP.Solving Subsequent Continuous Relaxations in a MIPParameter IloCplex.IntParam.RootAlg also controls the algorithm used for solving thefirst continuous relaxation when solving a MIP. The algorithm for solving all subsequentcontinous relaxations is then controlled by the parameter IloCplex.IntParam.NodeAlg.The algorithm choices appear in Table 2.4Table 2.4 Algorithm Types for NodeAlgalg Algorithm Type MILP? MIQP? MIQCP?0 IloCplex.Algorithm.Auto yes yes yes1 IloCplex.Algorithm.Primal yes yes not available2 IloCplex.Algorithm.Dual yes yes not available<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 85

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

Saved successfully!

Ooh no, something went wrong!