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.getNcuts in the Java API;Cplex.GetNcuts in the .NET API.For Callable Library users, use the routine CPXgetnumcuts.Parameters Affecting CutsParameters control the way each class of cuts is used. Those parameters are listed inTable 14.9.Table 14.9 Parameters for Controlling CutsCut TypeInteractive CommandConcert TechnologyParameterCallable Library ParameterClique set mip cuts cliques Cliques CPX_PARAM_CLIQUESCover set mip cuts covers Covers CPX_PARAM_COVERSDisjunctive set mip cuts disjunctive DisjCuts CPX_PARAM_DISJCUTSFlow Cover set mip cuts flowcovers FlowCovers CPX_PARAM_FLOWCOVERSFlow Path set mip cuts pathcut FlowPaths CPX_PARAM_FLOWPATHSGomory set mip cuts gomory FracCuts CPX_PARAM_FRACCUTSGUB Cover set mip cuts gubcovers GUBCovers CPX_PARAM_GUBCOVERSImplied Bound set mip cuts implied ImplBd CPX_PARAM_IMPLBDMixed Integer Rounding (MIR) set mip cuts mircut MIRCuts CPX_PARAM_MIRCUTSZero-Half set mip cuts zerohalfcut ZeroHalfCuts CPX_PARAM_ZEROHALFCUTSThe default value of each of those parameters is 0 (zero). By default, <strong>ILOG</strong> <strong>CPLEX</strong>automatically decides how often (if at all) it should try to generate that class of cut. A settingof -1 indicates that no cuts of the class should be generated; a setting of 1 indicates that cutsof the class should be generated moderately; and a setting of 2 indicates that cuts of the classshould be generated aggressively. For clique cuts, cover cuts, and disjunctive cuts, a settingof 3 is permitted, which indicates that the specified type of cut should be generated veryaggressively.In the Interactive Optimizer, the command set mip cuts all i applies the value i toall types of cut parameters. That is, you can set them all at once.The CutsFactor parameter controls the number of cuts <strong>ILOG</strong> <strong>CPLEX</strong> adds to the model.The problem can grow to CutsFactor times the original number of rows in the model (or inthe presolved model, if the presolver is active). Thus, a CutsFactor of 1.0 would mean thatno cuts will be generated, which may be a more convenient way of turning off all cuts thansetting them individually. The default CutsFactor value of 4.0 works well in most cases, as274 <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!