Detailed Description
C++ wrapper for cut separators.
Definition in file objsepa.cpp.
Go to the source code of this file.
Functions | |
static | SCIP_DECL_SEPACOPY (sepaCopyObj) |
static | SCIP_DECL_SEPAFREE (sepaFreeObj) |
static | SCIP_DECL_SEPAINIT (sepaInitObj) |
static | SCIP_DECL_SEPAEXIT (sepaExitObj) |
static | SCIP_DECL_SEPAINITSOL (sepaInitsolObj) |
static | SCIP_DECL_SEPAEXITSOL (sepaExitsolObj) |
static | SCIP_DECL_SEPAEXECLP (sepaExeclpObj) |
static | SCIP_DECL_SEPAEXECSOL (sepaExecsolObj) |
SCIP_RETCODE | SCIPincludeObjSepa (SCIP *scip, scip::ObjSepa *objsepa, SCIP_Bool deleteobject) |
scip::ObjSepa * | SCIPfindObjSepa (SCIP *scip, const char *name) |
scip::ObjSepa * | SCIPgetObjSepa (SCIP *scip, SCIP_SEPA *sepa) |
Function Documentation
◆ SCIP_DECL_SEPACOPY()
|
static |
copy method for separator plugins (called when SCIP copies plugins)
Definition at line 61 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeObjSepa(), SCIPsepaGetData(), and TRUE.
◆ SCIP_DECL_SEPAFREE()
|
static |
destructor of cut separator to free user data (called when SCIP is exiting)
Definition at line 86 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPsepaGetData(), and SCIPsepaSetData().
◆ SCIP_DECL_SEPAINIT()
|
static |
initialization method of cut separator (called after problem was transformed)
Definition at line 112 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIP_DECL_SEPAEXIT()
|
static |
deinitialization method of cut separator (called before transformed problem is freed)
Definition at line 130 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIP_DECL_SEPAINITSOL()
|
static |
solving process initialization method of separator (called when branch and bound process is about to begin)
Definition at line 147 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIP_DECL_SEPAEXITSOL()
|
static |
solving process deinitialization method of separator (called before branch and bound process data is freed)
Definition at line 164 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIP_DECL_SEPAEXECLP()
|
static |
LP solution separation method of separator
Definition at line 181 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIP_DECL_SEPAEXECSOL()
|
static |
arbitrary primal solution separation method of separator
Definition at line 198 of file objsepa.cpp.
References NULL, SCIP_CALL, SCIP_OKAY, and SCIPsepaGetData().
◆ SCIPincludeObjSepa()
SCIP_RETCODE SCIPincludeObjSepa | ( | SCIP * | scip, |
scip::ObjSepa * | objsepa, | ||
SCIP_Bool | deleteobject | ||
) |
creates the cut separator for the given cut separator object and includes it in SCIP
- Parameters
-
scip SCIP data structure objsepa cut separator object deleteobject should the cut separator object be deleted when cut separator is freed?
Definition at line 220 of file objsepa.cpp.
References NULL, SCIP_CALL, scip::ObjSepa::scip_delay_, scip::ObjSepa::scip_desc_, scip::ObjSepa::scip_freq_, scip::ObjSepa::scip_maxbounddist_, scip::ObjSepa::scip_name_, SCIP_OKAY, scip::ObjSepa::scip_priority_, scip::ObjSepa::scip_usessubscip_, and SCIPincludeSepa().
Referenced by SCIP_DECL_SEPACOPY().
◆ SCIPfindObjSepa()
scip::ObjSepa * SCIPfindObjSepa | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the sepa object of the given name, or 0 if not existing
- Parameters
-
scip SCIP data structure name name of cut separator
Definition at line 247 of file objsepa.cpp.
References NULL, SCIPfindSepa(), and SCIPsepaGetData().
◆ SCIPgetObjSepa()
scip::ObjSepa * SCIPgetObjSepa | ( | SCIP * | scip, |
SCIP_SEPA * | sepa | ||
) |
returns the sepa object for the given cut separator
- Parameters
-
scip SCIP data structure sepa cut separator
Definition at line 266 of file objsepa.cpp.
References NULL, and SCIPsepaGetData().