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.

Thus, the suggested method for setting steepest-edge pricing for use with the primal simplexalgorithm looks like this:cplex.setParam(IloCplex.IntParam.PPriInd,IloCplex.PrimalPricing.Steep);Table 2.6 gives an overview of the classes defining constants for parameters.Table 2.6 Classes with Parameters Defined by Integers.classIloCplex.AlgorithmIloCplex.MIPEmphasisIloCplex.VariableSelectIloCplex.NodeSelectIloCplex.DualPricingIloCplex.PrimalPricingfor use with parameters:IloCplex.IntParam.RootAlgIloCplex.IntParam.NodeAlgIloCplex.IntParam.MIPEmphasisIloCplex.IntParam.VarSelIloCplex.IntParam.NodeSelIloCplex.IntParam.DPriIndIloCplex.IntParam.PPriIndParameters can be queried with method IloCplex.getParam and reset to their defaultsettings with method IloCplex.setDefaults. The minimum and maximum value towhich an integer or double parameter can be set is queried with methodsIloCplex.getMin and IloCplex.getMax, respectively. The default value of a parameteris obtained with IloCplex.getDefault.Priority Orders and Branching DirectionsWhen <strong>CPLEX</strong> is solving a MIP, another important way for you to control the solutionprocess is by providing priority orders and branching directions for variables. The methodsfor doing so are:●●●IloCplex.setDirection,IloCplex.setDirections,IloCplex.setPriority, and● IloCplex.setPriorities.Priority orders and branch directions allow you to control the branching performed duringbranch & cut in a static way.Dynamic control of the solution process of MIPs is provided through goals or controlcallbacks. Goals are discussed for C++ in Using Goals on page 427. Control callbacks arediscussed in Using Optimization Callbacks on page 445. (Java goals and callbacks are<strong>ILOG</strong> <strong>CPLEX</strong> <strong>11.0</strong> — USER’ S MANUAL 87

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

Saved successfully!

Ooh no, something went wrong!