C++ wrapper for presolvers.
Definition in file objpresol.cpp.
Go to the source code of this file.
Functions | |
static | SCIP_DECL_PRESOLCOPY (presolCopyObj) |
static | SCIP_DECL_PRESOLFREE (presolFreeObj) |
static | SCIP_DECL_PRESOLINIT (presolInitObj) |
static | SCIP_DECL_PRESOLEXIT (presolExitObj) |
static | SCIP_DECL_PRESOLINITPRE (presolInitpreObj) |
static | SCIP_DECL_PRESOLEXITPRE (presolExitpreObj) |
static | SCIP_DECL_PRESOLEXEC (presolExecObj) |
SCIP_RETCODE | SCIPincludeObjPresol (SCIP *scip, scip::ObjPresol *objpresol, SCIP_Bool deleteobject) |
scip::ObjPresol * | SCIPfindObjPresol (SCIP *scip, const char *name) |
scip::ObjPresol * | SCIPgetObjPresol (SCIP *scip, SCIP_PRESOL *presol) |
|
static |
copy method for presolver plugins (called when SCIP copies plugins)
Definition at line 53 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeObjPresol(), SCIPpresolGetData(), and TRUE.
|
static |
destructor of presolver to free user data (called when SCIP is exiting)
Definition at line 78 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPpresolGetData(), and SCIPpresolSetData().
|
static |
initialization method of presolver (called after problem was transformed)
Definition at line 104 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
|
static |
deinitialization method of presolver (called before transformed problem is freed)
Definition at line 122 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
|
static |
presolving initialization method of presolver (called when presolving is about to begin)
Definition at line 139 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
|
static |
presolving deinitialization method of presolver (called after presolving has been finished)
Definition at line 156 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
|
static |
execution method of presolver
Definition at line 173 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
SCIP_RETCODE SCIPincludeObjPresol | ( | SCIP * | scip, |
scip::ObjPresol * | objpresol, | ||
SCIP_Bool | deleteobject | ||
) |
creates the presolver for the given presolver object and includes it in SCIP
scip | SCIP data structure |
objpresol | presolver object |
deleteobject | should the presolver object be deleted when presolver is freed? |
Definition at line 199 of file objpresol.cpp.
References NULL, SCIP_CALL, scip::ObjPresol::scip_desc_, scip::ObjPresol::scip_maxrounds_, scip::ObjPresol::scip_name_, SCIP_OKAY, scip::ObjPresol::scip_priority_, scip::ObjPresol::scip_timing_, and SCIPincludePresol().
Referenced by SCIP_DECL_PRESOLCOPY(), and scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().
scip::ObjPresol* SCIPfindObjPresol | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the presol object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of presolver |
Definition at line 226 of file objpresol.cpp.
References NULL, SCIPfindPresol(), and SCIPpresolGetData().
Referenced by scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().
scip::ObjPresol* SCIPgetObjPresol | ( | SCIP * | scip, |
SCIP_PRESOL * | presol | ||
) |
returns the presol object for the given presolver
scip | SCIP data structure |
presol | presolver |
Definition at line 245 of file objpresol.cpp.
References NULL, and SCIPpresolGetData().
Referenced by scip::ObjPresol::SCIP_DECL_PRESOLEXITPRE().