|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
prop.c
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
70 SCIP_CALL( SCIPsetPropPriority(scip, (SCIP_PROP*)paramdata, SCIPparamGetInt(param)) ); /*lint !e740*/
85 SCIP_CALL( SCIPsetPropPresolPriority(scip, (SCIP_PROP*)paramdata, SCIPparamGetInt(param)) ); /*lint !e740*/
102 SCIPdebugMessage("including propagator %s in subscip %p\n", SCIPpropGetName(prop), (void*)set->scip);
119 SCIP_PROPTIMING timingmask, /**< positions in the node solving loop where heuristic should be executed */
120 int presolpriority, /**< priority of the propagator (>= 0: before, < 0: after constraint handlers) */
121 int presolmaxrounds, /**< maximal number of presolving rounds the propagator participates in (-1: no limit) */
122 SCIP_Bool presoldelay, /**< should presolving be delayed, if other presolvers found reductions? */
123 SCIP_DECL_PROPCOPY ((*propcopy)), /**< copy method of propagator or NULL if you don't want to copy your plugin into sub-SCIPs */
128 SCIP_DECL_PROPEXITPRE ((*propexitpre)), /**< presolving deinitialization method of propagator */
129 SCIP_DECL_PROPINITSOL ((*propinitsol)), /**< solving process initialization method of propagator */
130 SCIP_DECL_PROPEXITSOL ((*propexitsol)), /**< solving process deinitialization method of propagator */
184 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "frequency for calling propagator <%s> (-1: never, 0: only in root node)", name);
194 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "timing when propagator should be called (%u:BEFORELP, %u:DURINGLPLOOP, %u:AFTERLPLOOP, %u:ALWAYS))", SCIP_PROPTIMING_BEFORELP, SCIP_PROPTIMING_DURINGLPLOOP, SCIP_PROPTIMING_AFTERLPLOOP, SCIP_PROPTIMING_ALWAYS);
196 (int*)(&(*prop)->timingmask), TRUE, timingmask, (int) SCIP_PROPTIMING_BEFORELP, (int) SCIP_PROPTIMING_ALWAYS, NULL, NULL) ); /*lint !e713*/
468 int* nchgsides, /**< pointer to total number of changed left/right hand sides of all presolvers */
523 /* remember the number of changes prior to the call of the presolver method of the propagator */
674 /** resolves the given conflicting bound, that was deduced by the given propagator, by putting all "reason" bounds
675 * leading to the deduction into the conflict queue with calls to SCIPaddConflictLb(), SCIPaddConflictUb(), SCIPaddConflictBd(),
676 * SCIPaddConflictRelaxedLb(), SCIPaddConflictRelaxedUb(), SCIPaddConflictRelaxedBd(), or SCIPaddConflictBinvar();
686 SCIP_BDCHGIDX* bdchgidx, /**< bound change index, representing the point of time where change took place */
718 SCIPerrorMessage("propagation conflict resolving method of propagator <%s> returned invalid result <%d>\n",
725 SCIPerrorMessage("propagation conflict resolving method of propagator <%s> is not implemented\n", prop->name);
756 SCIP_DECL_PROPCOPY ((*propcopy)) /**< copy method of propagator or NULL if you don't want to copy your plugin into sub-SCIPs */
800 SCIP_DECL_PROPINITSOL((*propinitsol)) /**< solving process initialization method of propagator */
811 SCIP_DECL_PROPEXITSOL ((*propexitsol)) /**< solving process deinitialization method of propagator */
835 SCIP_DECL_PROPEXITPRE((*propexitpre)) /**< preprocessing deinitialization method of propagator */
847 int presolpriority, /**< presolving priority of the propagator (>= 0: before, < 0: after constraint handlers) */
848 int presolmaxrounds, /**< maximal number of presolving rounds the propagator participates in (-1: no limit) */
849 SCIP_Bool presoldelay /**< should presolving be delayed, if other presolvers found reductions? */
1216 /** gets number of times the propagator was called in presolving and tried to find reductions */
Definition: type_result.h:33 Definition: struct_var.h:97 void SCIPpropSetCopy(SCIP_PROP *prop, SCIP_DECL_PROPCOPY((*propcopy))) Definition: prop.c:754 Definition: type_result.h:34 SCIP_RETCODE SCIPpropCopyInclude(SCIP_PROP *prop, SCIP_SET *set) Definition: prop.c:91 SCIP_Longint SCIPpropGetNDomredsFound(SCIP_PROP *prop) Definition: prop.c:1057 SCIP_RETCODE SCIPpropPresol(SCIP_PROP *prop, SCIP_SET *set, SCIP_Bool execdelayed, int nrounds, int *nfixedvars, int *naggrvars, int *nchgvartypes, int *nchgbds, int *naddholes, int *ndelconss, int *naddconss, int *nupgdconss, int *nchgcoefs, int *nchgsides, SCIP_RESULT *result) Definition: prop.c:454 internal methods for clocks and timing issues Definition: type_result.h:49 Definition: type_result.h:38 Definition: struct_var.h:196 SCIP_RETCODE SCIPpropCreate(SCIP_PROP **prop, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int priority, int freq, SCIP_Bool delay, SCIP_PROPTIMING timingmask, int presolpriority, int presolmaxrounds, SCIP_Bool presoldelay, SCIP_DECL_PROPCOPY((*propcopy)), SCIP_DECL_PROPFREE((*propfree)), SCIP_DECL_PROPINIT((*propinit)), SCIP_DECL_PROPEXIT((*propexit)), SCIP_DECL_PROPINITPRE((*propinitpre)), SCIP_DECL_PROPEXITPRE((*propexitpre)), SCIP_DECL_PROPINITSOL((*propinitsol)), SCIP_DECL_PROPEXITSOL((*propexitsol)), SCIP_DECL_PROPPRESOL((*proppresol)), SCIP_DECL_PROPEXEC((*propexec)), SCIP_DECL_PROPRESPROP((*propresprop)), SCIP_PROPDATA *propdata) Definition: prop.c:109 void SCIPpropSetExitsol(SCIP_PROP *prop, SCIP_DECL_PROPEXITSOL((*propexitsol))) Definition: prop.c:809 Definition: struct_message.h:35 SCIP_RETCODE SCIPsetPropPresolPriority(SCIP *scip, SCIP_PROP *prop, int presolpriority) Definition: scip.c:6899 void SCIPpropSetFree(SCIP_PROP *prop, SCIP_DECL_PROPFREE((*propfree))) Definition: prop.c:765 void SCIPpropSetInitpre(SCIP_PROP *prop, SCIP_DECL_PROPINITPRE((*propinitpre))) Definition: prop.c:820 SCIP_Real SCIPvarGetLbAtIndex(SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) Definition: var.c:15141 internal methods for handling parameter settings void SCIPpropSetInitsol(SCIP_PROP *prop, SCIP_DECL_PROPINITSOL((*propinitsol))) Definition: prop.c:798 void SCIPclockEnableOrDisable(SCIP_CLOCK *clck, SCIP_Bool enable) Definition: clock.c:250 void SCIPpropSetPriority(SCIP_PROP *prop, SCIP_SET *set, int priority) Definition: prop.c:912 Definition: type_retcode.h:44 internal methods for propagators Definition: struct_set.h:55 void SCIPpropSetExit(SCIP_PROP *prop, SCIP_DECL_PROPEXIT((*propexit))) Definition: prop.c:787 Definition: type_clock.h:34 Definition: type_result.h:35 Definition: type_retcode.h:42 SCIP_Real SCIPvarGetUbAtIndex(SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) Definition: var.c:15233 Definition: type_lp.h:47 void SCIPpropEnableOrDisableClocks(SCIP_PROP *prop, SCIP_Bool enable) Definition: prop.c:950 Definition: type_retcode.h:33 internal methods for global SCIP settings void SCIPpropSetPresolPriority(SCIP_PROP *prop, SCIP_SET *set, int presolpriority) Definition: prop.c:926 Definition: type_result.h:42 SCIP_RETCODE SCIPsetAddIntParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, 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: set.c:2039 Definition: struct_prop.h:36 SCIP_RETCODE SCIPclockCreate(SCIP_CLOCK **clck, SCIP_CLOCKTYPE clocktype) Definition: clock.c:160 internal methods for problem variables public data structures and miscellaneous methods SCIP_RETCODE SCIPpropResolvePropagation(SCIP_PROP *prop, SCIP_SET *set, SCIP_VAR *infervar, int inferinfo, SCIP_BOUNDTYPE inferboundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Real relaxedbd, SCIP_RESULT *result) Definition: prop.c:680 void SCIPpropSetInit(SCIP_PROP *prop, SCIP_DECL_PROPINIT((*propinit))) Definition: prop.c:776 datastructures for propagators Definition: type_lp.h:48 public methods for message output SCIP_RETCODE SCIPpropExec(SCIP_PROP *prop, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Bool execdelayed, SCIP_Bool instrongbranching, SCIP_PROPTIMING proptiming, SCIP_RESULT *result) Definition: prop.c:589 internal methods for problem statistics void SCIPpropSetResprop(SCIP_PROP *prop, SCIP_DECL_PROPRESPROP((*propresprop))) Definition: prop.c:861 SCIP_Longint SCIPpropGetNRespropCalls(SCIP_PROP *prop) Definition: prop.c:1037 void SCIPpropSetPresol(SCIP_PROP *prop, SCIP_DECL_PROPPRESOL((*proppresol)), int presolpriority, int presolmaxrounds, SCIP_Bool presoldelay) Definition: prop.c:844 Definition: type_retcode.h:45 SCIP_Real SCIPpropGetStrongBranchPropTime(SCIP_PROP *prop) Definition: prop.c:997 void SCIPpropSetExitpre(SCIP_PROP *prop, SCIP_DECL_PROPEXITPRE((*propexitpre))) Definition: prop.c:833 Definition: struct_stat.h:44 common defines and data types used in all packages of SCIP SCIP_RETCODE SCIPsetPropPriority(SCIP *scip, SCIP_PROP *prop, int priority) Definition: scip.c:6884 SCIP_RETCODE SCIPsetAddBoolParam(SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata) Definition: set.c:2017 Definition: type_result.h:39 SCIP callable library. SCIP_RETCODE SCIPpropExitsol(SCIP_PROP *prop, SCIP_SET *set, SCIP_Bool restart) Definition: prop.c:429 |