Detailed Description
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) |
Function Documentation
◆ SCIP_DECL_PRESOLCOPY()
|
static |
copy method for presolver plugins (called when SCIP copies plugins)
Definition at line 62 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeObjPresol(), SCIPpresolGetData(), and TRUE.
◆ SCIP_DECL_PRESOLFREE()
|
static |
destructor of presolver to free user data (called when SCIP is exiting)
Definition at line 87 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPpresolGetData(), and SCIPpresolSetData().
◆ SCIP_DECL_PRESOLINIT()
|
static |
initialization method of presolver (called after problem was transformed)
Definition at line 113 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
◆ SCIP_DECL_PRESOLEXIT()
|
static |
deinitialization method of presolver (called before transformed problem is freed)
Definition at line 131 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
◆ SCIP_DECL_PRESOLINITPRE()
|
static |
presolving initialization method of presolver (called when presolving is about to begin)
Definition at line 148 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
◆ SCIP_DECL_PRESOLEXITPRE()
|
static |
presolving deinitialization method of presolver (called after presolving has been finished)
Definition at line 165 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
◆ SCIP_DECL_PRESOLEXEC()
|
static |
execution method of presolver
Definition at line 182 of file objpresol.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPpresolGetData().
◆ SCIPincludeObjPresol()
SCIP_RETCODE SCIPincludeObjPresol | ( | SCIP * | scip, |
scip::ObjPresol * | objpresol, | ||
SCIP_Bool | deleteobject | ||
) |
creates the presolver for the given presolver object and includes it in SCIP
- Parameters
-
scip SCIP data structure objpresol presolver object deleteobject should the presolver object be deleted when presolver is freed?
Definition at line 208 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().
◆ SCIPfindObjPresol()
scip::ObjPresol * SCIPfindObjPresol | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the presol object of the given name, or 0 if not existing
- Parameters
-
scip SCIP data structure name name of presolver
Definition at line 235 of file objpresol.cpp.
References NULL, SCIPfindPresol(), and SCIPpresolGetData().
◆ SCIPgetObjPresol()
scip::ObjPresol * SCIPgetObjPresol | ( | SCIP * | scip, |
SCIP_PRESOL * | presol | ||
) |
returns the presol object for the given presolver
- Parameters
-
scip SCIP data structure presol presolver
Definition at line 254 of file objpresol.cpp.
References NULL, and SCIPpresolGetData().