methods for cut selectors
const char * SCIPcutselGetName | ( | SCIP_CUTSEL * | cutsel | ) |
gets name of cut selector
cutsel | cut selector |
Definition at line 159 of file cutsel.c.
References assert(), i, and NULL.
Referenced by SCIP_DECL_CUTSELCOPY(), SCIP_DECL_DIALOGEXEC(), SCIPcutselCopyInclude(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), and SCIPprintCutselectorStatistics().
SCIP_CUTSELDATA * SCIPcutselGetData | ( | SCIP_CUTSEL * | cutsel | ) |
gets user data of cut selector
cutsel | cut selector |
Definition at line 418 of file cutsel.c.
References assert(), i, and NULL.
Referenced by SCIP_DECL_CUTSELCOPY(), SCIP_DECL_CUTSELEXIT(), SCIP_DECL_CUTSELEXIT(), SCIP_DECL_CUTSELEXITSOL(), SCIP_DECL_CUTSELFREE(), SCIP_DECL_CUTSELFREE(), SCIP_DECL_CUTSELINIT(), SCIP_DECL_CUTSELINIT(), SCIP_DECL_CUTSELINITSOL(), SCIP_DECL_CUTSELSELECT(), SCIP_DECL_CUTSELSELECT(), SCIPfindObjCutsel(), and SCIPgetObjCutsel().
const char * SCIPcutselGetDesc | ( | SCIP_CUTSEL * | cutsel | ) |
gets description of cut selector
cutsel | cut selector |
Definition at line 244 of file cutsel.c.
References assert(), i, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPcutselGetPriority | ( | SCIP_CUTSEL * | cutsel | ) |
void SCIPcutselSetData | ( | SCIP_CUTSEL * | cutsel, |
SCIP_CUTSELDATA * | cutseldata ) |
sets user data of cut selector; user has to free old data in advance!
cutsel | cut selector |
cutseldata | new cut selector user data |
Definition at line 428 of file cutsel.c.
References assert(), i, and NULL.
Referenced by SCIP_DECL_CUTSELFREE(), and SCIP_DECL_CUTSELFREE().
SCIP_Bool SCIPcutselIsInitialized | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Real SCIPcutselGetSetupTime | ( | SCIP_CUTSEL * | cutsel | ) |
gets time in seconds used in this cut selector for setting up for next stages
cutsel | cut selector |
Definition at line 554 of file cutsel.c.
References assert(), i, NULL, and SCIPclockGetTime().
Referenced by SCIPprintCutselectorStatistics().
SCIP_Real SCIPcutselGetTime | ( | SCIP_CUTSEL * | cutsel | ) |
gets time in seconds used in this cut selector
cutsel | cut selector |
Definition at line 564 of file cutsel.c.
References assert(), i, NULL, and SCIPclockGetTime().
Referenced by SCIPprintCutselectorStatistics().
SCIP_Longint SCIPcutselGetNCalls | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNRootCalls | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNRootCuts | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNRootForcedCuts | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNRootCutsFiltered | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNLocalCuts | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNLocalForcedCuts | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_Longint SCIPcutselGetNLocalCutsFiltered | ( | SCIP_CUTSEL * | cutsel | ) |
SCIP_DECL_SORTPTRCOMP | ( | SCIPcutselComp | ) |
SCIP_RETCODE SCIPincludeCutsel | ( | SCIP * | scip, |
const char * | name, | ||
const char * | desc, | ||
int | priority, | ||
SCIP_DECL_CUTSELCOPY((*cutselcopy)) | , | ||
SCIP_DECL_CUTSELFREE((*cutselfree)) | , | ||
SCIP_DECL_CUTSELINIT((*cutselinit)) | , | ||
SCIP_DECL_CUTSELEXIT((*cutselexit)) | , | ||
SCIP_DECL_CUTSELINITSOL((*cutselinitsol)) | , | ||
SCIP_DECL_CUTSELEXITSOL((*cutselexitsol)) | , | ||
SCIP_DECL_CUTSELSELECT((*cutselselect)) | , | ||
SCIP_CUTSELDATA * | cutseldata ) |
creates a cut selector and includes it in SCIP
scip | SCIP data structure |
name | name of cut selector |
desc | description of cut selector |
priority | priority of the cut selector |
cutseldata | cut selector data |
Definition at line 50 of file scip_cutsel.c.
References FALSE, i, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPcutselCreate(), SCIPerrorMessage, SCIPfindCutsel(), SCIPsetIncludeCutsel(), and TRUE.
Referenced by SCIPincludeObjCutsel().
SCIP_RETCODE SCIPincludeCutselBasic | ( | SCIP * | scip, |
SCIP_CUTSEL ** | cutsel, | ||
const char * | name, | ||
const char * | desc, | ||
int | priority, | ||
SCIP_DECL_CUTSELSELECT((*cutselselect)) | , | ||
SCIP_CUTSELDATA * | cutseldata ) |
Creates a cut selector and includes it in SCIP with its most fundamental callbacks.
All non-fundamental (or optional) callbacks as, e.g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetCutselCopy(), SCIPsetCutselFree(), SCIPsetCutselInit(), SCIPsetCutselExit(), SCIPsetCutselInitsol(), and SCIPsetCutselExitsol()
scip | SCIP data structure |
cutsel | reference to a cut selector, or NULL |
name | name of cut selector |
desc | description of cut selector |
priority | priority of the cut selector in standard mode |
cutseldata | cut selector data |
Definition at line 92 of file scip_cutsel.c.
References FALSE, i, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPcutselCreate(), SCIPerrorMessage, SCIPfindCutsel(), SCIPsetIncludeCutsel(), and TRUE.
Referenced by SCIPincludeCutselHybrid().
SCIP_RETCODE SCIPsetCutselCopy | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets copy method of cut selector
scip | SCIP data structure |
cutsel | cut selector copy method of cut selector or NULL if you don't want to copy your plugin into sub-SCIPs |
Definition at line 125 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetCopy(), and TRUE.
Referenced by SCIPincludeCutselHybrid().
SCIP_RETCODE SCIPsetCutselFree | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets destructor method of cut selector
scip | SCIP data structure |
cutsel | cut selector destructor of cut selector |
Definition at line 141 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetFree(), and TRUE.
Referenced by SCIPincludeCutselHybrid().
SCIP_RETCODE SCIPsetCutselInit | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets initialization method of cut selector
scip | SCIP data structure |
cutsel | cut selector initialize cut selector |
Definition at line 157 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetInit(), and TRUE.
Referenced by SCIPincludeCutselHybrid().
SCIP_RETCODE SCIPsetCutselExit | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets deinitialization method of cut selector
scip | SCIP data structure |
cutsel | cut selector deinitialize cut selector |
Definition at line 173 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetExit(), and TRUE.
Referenced by SCIPincludeCutselHybrid().
SCIP_RETCODE SCIPsetCutselInitsol | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets solving process initialization method of cut selector
scip | SCIP data structure |
cutsel | cut selector solving process initialization method of cut selector |
Definition at line 189 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetInitsol(), and TRUE.
SCIP_RETCODE SCIPsetCutselExitsol | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
sets solving process deinitialization method of cut selector
scip | SCIP data structure |
cutsel | cut selector solving process deinitialization method of cut selector |
Definition at line 205 of file scip_cutsel.c.
References assert(), FALSE, i, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcutselSetExitsol(), and TRUE.
SCIP_CUTSEL * SCIPfindCutsel | ( | SCIP * | scip, |
const char * | name ) |
returns the cut selector of the given name, or NULL if not existing
scip | SCIP data structure |
name | name of cut selector |
Definition at line 221 of file scip_cutsel.c.
References assert(), NULL, and SCIPsetFindCutsel().
Referenced by SCIPfindObjCutsel(), SCIPincludeCutsel(), and SCIPincludeCutselBasic().
SCIP_CUTSEL ** SCIPgetCutsels | ( | SCIP * | scip | ) |
returns the array of currently available cut selectors
scip | SCIP data structure |
Definition at line 234 of file scip_cutsel.c.
References assert(), NULL, and SCIPsetSortCutsels().
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
int SCIPgetNCutsels | ( | SCIP * | scip | ) |
returns the number of currently available cut selectors
scip | SCIP data structure |
Definition at line 247 of file scip_cutsel.c.
References assert(), and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
SCIP_RETCODE SCIPsetCutselPriority | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel, | ||
int | priority ) |
sets the priority of a cut selector
scip | SCIP data structure |
cutsel | cut selector |
priority | new priority of the separator |
Definition at line 258 of file scip_cutsel.c.
References assert(), i, NULL, SCIP_OKAY, and SCIPcutselSetPriority().
Referenced by SCIP_DECL_PARAMCHGD().