sepa_closecuts.c
Go to the documentation of this file.
21 * primal feasible solution or an interior point of the LP relaxation. If the convex combination is 23 * calls all other separators to separate this point. The idea is that in this way possibly "deeper" 24 * cuts are generated. Note, however, that the new point is not a basic solution, i.e., separators 27 * The other cuts are generated via the sepasol() callbacks in constraints handlers or separators. 30 * calls. It also inhibits the separation of the ordinary LP solution if it already generated enough 35 * rounds and many cuts will be again deleted, because they are not active after a certain number of 45 * Acceleration of cutting-plane and column generation algorithms: Applications to network design.@n 50 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 64 #define SEPA_DELAY FALSE /**< should separation method be delayed, if other separators found cuts? */ 68 #define SCIP_DEFAULT_SEPARELINT TRUE /**< generate close cuts w.r.t. relative interior point (best solution otherwise)? */ 70 #define SCIP_DEFAULT_SEPATHRESHOLD 50 /**< threshold on number of generated cuts below which the ordinary separation is started */ 71 #define SCIP_DEFAULT_INCLOBJCUTOFF FALSE /**< include the objective cutoff when computing the relative interior? */ 72 #define SCIP_DEFAULT_RECOMPUTERELINT FALSE /**< recompute relative interior in each separation call? */ 73 #define SCIP_DEFAULT_MAXUNSUCCESSFUL 0 /**< turn off separation in current node after unsuccessful calls (-1 never turn off) */ 74 #define SCIP_DEFAULT_MAXLPITERFACTOR 10.0 /**< factor for maximal LP iterations in relative interior computation compared to node LP iterations */ 76 #define SCIP_MIN_LPITERS 100 /**< minimum number of allowed LP iterations in relative interior computation */ 82 SCIP_Bool separelint; /**< generate close cuts w.r.t. relative interior point (best solution otherwise)? */ 85 int sepathreshold; /**< threshold on number of generated cuts below which the ordinary separation is started */ 86 SCIP_Bool inclobjcutoff; /**< include the objective cutoff when computing the relative interior? */ 88 int maxunsuccessful; /**< turn off separation in current node after unsuccessful calls (-1 never turn off) */ 91 SCIP_Real maxlpiterfactor; /**< factor for maximal LP iterations in relative interior computation compared to node LP iterations */ 142 /* If both the LP relaxation and the base point respect the variable bounds, the computed point will satisfy them 143 * as well. However, variables might be fixed (e.g. by branching) since the time of the computation of the base 200 /** solving process deinitialization method of separator (called before branch and bound process data is freed) */ 265 /* check if previous relative interior point should be forgotten, otherwise it is computed only once and the 300 /* determine iteration limit; the number of iterations in the root is only set after its solution, but the 312 SCIPverbMessage(scip, SCIP_VERBLEVEL_MINIMAL, 0, "Computing relative interior point (time limit: %g, iter limit: %d) ...\n", timelimit, iterlimit); 313 SCIP_CALL( SCIPcomputeLPRelIntPoint(scip, TRUE, sepadata->inclobjcutoff, timelimit, iterlimit, &sepadata->sepasol) ); 326 SCIPdebugMessage("Generating close cuts ... (combination value: %f)\n", sepadata->sepacombvalue); 372 SCIPdebugMessage("Separated close cuts: %d (enoughcuts: %d, unsuccessful: %d).\n", SCIPgetNCuts(scip) - noldcuts, 377 SCIPdebugMessage("Turn off close cut separation, because of %d unsuccessful calls.\n", sepadata->nunsuccessful); 408 SCIP_CALL( SCIPincludeSepaBasic(scip, &sepa, SEPA_NAME, SEPA_DESC, SEPA_PRIORITY, SEPA_FREQ, SEPA_MAXBOUNDDIST, SEPA_USESSUBSCIP, SEPA_DELAY, 452 "factor for maximal LP iterations in relative interior computation compared to node LP iterations (negative for no limit)", 453 &sepadata->maxlpiterfactor, TRUE, SCIP_DEFAULT_MAXLPITERFACTOR, -1.0, SCIP_REAL_MAX, NULL, NULL) ); 460 * The point is only stored if separation of relative interior points is used. The solution is copied.
Definition: type_result.h:33 Definition: struct_scip.h:53 Definition: struct_var.h:196 SCIP_RETCODE SCIPsetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var, SCIP_Real val) Definition: scip.c:34843 SCIP_Real SCIPgetSolVal(SCIP *scip, SCIP_SOL *sol, SCIP_VAR *var) Definition: scip.c:34983 Definition: type_result.h:40 SCIP_RETCODE SCIPcomputeLPRelIntPoint(SCIP *scip, SCIP_Bool relaxrows, SCIP_Bool inclobjcutoff, SCIP_Real timelimit, int iterlimit, SCIP_SOL **point) Definition: scip.c:27348 Definition: struct_sepa.h:36 SCIP_RETCODE SCIPsetSepaFree(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPAFREE((*sepafree))) Definition: scip.c:6718 Definition: struct_sol.h:50 SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata) Definition: scip.c:3547 SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata) Definition: scip.c:3573 Definition: type_result.h:41 Definition: type_result.h:35 closecuts meta separator SCIP_RETCODE SCIPremoveInefficaciousCuts(SCIP *scip) Definition: scip.c:31521 SCIP_RETCODE SCIPcreateSol(SCIP *scip, SCIP_SOL **sol, SCIP_HEUR *heur) Definition: scip.c:34002 Definition: type_retcode.h:33 static SCIP_RETCODE generateCloseCutPoint(SCIP *scip, SCIP_SEPADATA *sepadata, SCIP_SOL **point) Definition: sepa_closecuts.c:103 Definition: type_lp.h:34 static SCIP_DECL_SEPAEXITSOL(sepaExitsolClosecuts) Definition: sepa_closecuts.c:202 SCIP_RETCODE SCIPsetSepaCopy(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPACOPY((*sepacopy))) Definition: scip.c:6702 SCIP_RETCODE SCIPsetSepaExitsol(SCIP *scip, SCIP_SEPA *sepa, SCIP_DECL_SEPAEXITSOL((*sepaexitsol))) Definition: scip.c:6782 Definition: type_message.h:43 SCIP_RETCODE SCIPcreateSolCopy(SCIP *scip, SCIP_SOL **sol, SCIP_SOL *sourcesol) Definition: scip.c:34271 SCIP_RETCODE SCIPseparateSol(SCIP *scip, SCIP_SOL *sol, SCIP_Bool pretendroot, SCIP_Bool onlydelayed, SCIP_Bool *delayed, SCIP_Bool *cutoff) Definition: scip.c:31435 SCIP_RETCODE SCIPincludeSepaClosecuts(SCIP *scip) Definition: sepa_closecuts.c:393 void SCIPverbMessage(SCIP *scip, SCIP_VERBLEVEL msgverblevel, FILE *file, const char *formatstr,...) Definition: scip.c:1298 Definition: type_retcode.h:45 SCIP_RETCODE SCIPgetRealParam(SCIP *scip, const char *name, SCIP_Real *value) Definition: scip.c:3797 SCIP_RETCODE SCIPsetBasePointClosecuts(SCIP *scip, SCIP_SOL *sol) Definition: sepa_closecuts.c:462 SCIP_RETCODE SCIPincludeSepaBasic(SCIP *scip, SCIP_SEPA **sepa, const char *name, const char *desc, int priority, int freq, SCIP_Real maxbounddist, SCIP_Bool usessubscip, SCIP_Bool delay, SCIP_DECL_SEPAEXECLP((*sepaexeclp)), SCIP_DECL_SEPAEXECSOL((*sepaexecsol)), SCIP_SEPADATA *sepadata) Definition: scip.c:6660 Definition: objbranchrule.h:33 SCIP_RETCODE SCIPaddRealParam(SCIP *scip, const char *name, const char *desc, SCIP_Real *valueptr, SCIP_Bool isadvanced, SCIP_Real defaultvalue, SCIP_Real minvalue, SCIP_Real maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata) Definition: scip.c:3629 Definition: type_result.h:39 static SCIP_DECL_SEPAEXECLP(sepaExeclpClosecuts) Definition: sepa_closecuts.c:224 |