presol.c
Go to the documentation of this file.
21 * @todo add maxrounds parameter for single timings, count number of runs of a presolver with given timing 24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 68 SCIP_CALL( SCIPsetPresolPriority(scip, (SCIP_PRESOL*)paramdata, SCIPparamGetInt(param)) ); /*lint !e740*/ 85 SCIPdebugMessage("including presolver %s in subscip %p\n", SCIPpresolGetName(presol), (void*)set->scip); 100 int maxrounds, /**< maximal number of presolving rounds the presolver participates in (-1: no limit) */ 102 SCIP_DECL_PRESOLCOPY ((*presolcopy)), /**< copy method of presolver or NULL if you don't want to copy your plugin into sub-SCIPs */ 103 SCIP_DECL_PRESOLFREE ((*presolfree)), /**< destructor of presolver to free user data (called when SCIP is exiting) */ 104 SCIP_DECL_PRESOLINIT ((*presolinit)), /**< initialization method of presolver (called after problem was transformed) */ 105 SCIP_DECL_PRESOLEXIT ((*presolexit)), /**< deinitialization method of presolver (called before transformed problem is freed) */ 106 SCIP_DECL_PRESOLINITPRE((*presolinitpre)),/**< presolving initialization method of presolver (called when presolving is about to begin) */ 107 SCIP_DECL_PRESOLEXITPRE((*presolexitpre)),/**< presolving deinitialization method of presolver (called after presolving has been finished) */ 119 /* the interface change from delay flags to timings cannot be recognized at compile time: Exit with an appropriate 124 SCIPmessagePrintError("ERROR: 'PRESOLDELAY'-flag no longer available since SCIP 3.2, use an appropriate " 158 (void) SCIPsnprintf(paramdesc, SCIP_MAXSTRLEN, "timing mask of presolver <%s> (%u:FAST, %u:MEDIUM, %u:EXHAUSTIVE)", 161 (int*)&(*presol)->timing, TRUE, (int)timing, (int) SCIP_PRESOLTIMING_FAST, (int) SCIP_PRESOLTIMING_ALWAYS, NULL, NULL) ); /*lint !e740*/ 356 int* nchgsides, /**< pointer to total number of changed left/right hand sides of all presolvers */ 489 SCIP_DECL_PRESOLCOPY ((*presolcopy)) /**< copy method of presolver or NULL if you don't want to copy your plugin into sub-SCIPs */ 533 SCIP_DECL_PRESOLINITPRE ((*presolinitpre))/**< solving process initialization method of presolver */ 544 SCIP_DECL_PRESOLEXITPRE ((*presolexitpre))/**< solving process deinitialization method of presolver */
void SCIPpresolSetData(SCIP_PRESOL *presol, SCIP_PRESOLDATA *presoldata) Definition: presol.c:476 Definition: struct_presol.h:36 Definition: type_result.h:33 SCIP_RETCODE SCIPpresolInit(SCIP_PRESOL *presol, SCIP_SET *set) Definition: presol.c:193 datastructures for presolvers SCIP_RETCODE SCIPpresolFree(SCIP_PRESOL **presol, SCIP_SET *set) Definition: presol.c:167 internal methods for clocks and timing issues Definition: type_result.h:49 Definition: type_result.h:38 void SCIPpresolSetPriority(SCIP_PRESOL *presol, SCIP_SET *set, int priority) Definition: presol.c:593 void SCIPpresolSetTiming(SCIP_PRESOL *presol, SCIP_PRESOLTIMING timing) Definition: presol.c:617 SCIP_RETCODE SCIPpresolExit(SCIP_PRESOL *presol, SCIP_SET *set) Definition: presol.c:252 Definition: struct_message.h:35 internal methods for handling parameter settings void SCIPclockEnableOrDisable(SCIP_CLOCK *clck, SCIP_Bool enable) Definition: clock.c:250 Definition: type_retcode.h:44 Definition: struct_set.h:56 SCIP_RETCODE SCIPpresolCreate(SCIP_PRESOL **presol, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int priority, int maxrounds, SCIP_PRESOLTIMING timing, SCIP_DECL_PRESOLCOPY((*presolcopy)), SCIP_DECL_PRESOLFREE((*presolfree)), SCIP_DECL_PRESOLINIT((*presolinit)), SCIP_DECL_PRESOLEXIT((*presolexit)), SCIP_DECL_PRESOLINITPRE((*presolinitpre)), SCIP_DECL_PRESOLEXITPRE((*presolexitpre)), SCIP_DECL_PRESOLEXEC((*presolexec)), SCIP_PRESOLDATA *presoldata) Definition: presol.c:92 Definition: type_clock.h:34 Definition: type_result.h:35 SCIP_RETCODE SCIPpresolExec(SCIP_PRESOL *presol, SCIP_SET *set, SCIP_PRESOLTIMING timing, 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: presol.c:342 Definition: type_retcode.h:42 Definition: type_retcode.h:48 void SCIPpresolEnableOrDisableClocks(SCIP_PRESOL *presol, SCIP_Bool enable) Definition: presol.c:639 internal methods for presolvers SCIP_RETCODE SCIPsetPresolPriority(SCIP *scip, SCIP_PRESOL *presol, int priority) Definition: scip.c:6359 Definition: type_retcode.h:33 internal methods for global SCIP settings 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:2455 void SCIPpresolSetInitpre(SCIP_PRESOL *presol, SCIP_DECL_PRESOLINITPRE((*presolinitpre))) Definition: presol.c:531 SCIP_RETCODE SCIPclockCreate(SCIP_CLOCK **clck, SCIP_CLOCKTYPE clocktype) Definition: clock.c:160 public data structures and miscellaneous methods void SCIPpresolSetFree(SCIP_PRESOL *presol, SCIP_DECL_PRESOLFREE((*presolfree))) Definition: presol.c:498 SCIP_PRESOLTIMING SCIPpresolGetTiming(SCIP_PRESOL *presol) Definition: presol.c:607 void SCIPpresolSetInit(SCIP_PRESOL *presol, SCIP_DECL_PRESOLINIT((*presolinit))) Definition: presol.c:509 void SCIPpresolSetExit(SCIP_PRESOL *presol, SCIP_DECL_PRESOLEXIT((*presolexit))) Definition: presol.c:520 SCIP_RETCODE SCIPpresolCopyInclude(SCIP_PRESOL *presol, SCIP_SET *set) Definition: presol.c:74 void SCIPpresolSetCopy(SCIP_PRESOL *presol, SCIP_DECL_PRESOLCOPY((*presolcopy))) Definition: presol.c:487 SCIP_Bool SCIPpresolIsInitialized(SCIP_PRESOL *presol) Definition: presol.c:629 SCIP_RETCODE SCIPpresolExitpre(SCIP_PRESOL *presol, SCIP_SET *set) Definition: presol.c:318 common defines and data types used in all packages of SCIP Definition: objbranchrule.h:33 SCIP_RETCODE SCIPpresolInitpre(SCIP_PRESOL *presol, SCIP_SET *set) Definition: presol.c:283 Definition: type_result.h:39 SCIP callable library. void SCIPpresolSetExitpre(SCIP_PRESOL *presol, SCIP_DECL_PRESOLEXITPRE((*presolexitpre))) Definition: presol.c:542 memory allocation routines |