C++ wrapper for cut separators.
Definition in file objsepa.h.
Go to the source code of this file.
Data Structures | |
class | scip::ObjSepa |
C++ wrapper for cut separators. More... | |
Namespaces | |
namespace | scip |
Functions | |
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) |
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
The method should be called in one of the following ways:
creates the cut separator for the given cut separator object and includes it in SCIP
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 assert(), NULL, SCIP_Bool, 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_, SCIPincludeSepa(), and sepadata.
Referenced by SCIP_DECL_SEPACOPY().
scip::ObjSepa * SCIPfindObjSepa | ( | SCIP * | scip, |
const char * | name ) |
returns the sepa object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of cut separator |
Definition at line 247 of file objsepa.cpp.
References assert(), NULL, SCIPfindSepa(), SCIPsepaGetData(), and sepadata.
scip::ObjSepa * SCIPgetObjSepa | ( | SCIP * | scip, |
SCIP_SEPA * | sepa ) |
returns the sepa object for the given cut separator
scip | SCIP data structure |
sepa | cut separator |
Definition at line 266 of file objsepa.cpp.
References assert(), NULL, SCIPsepaGetData(), and sepadata.