C++ wrapper for cut separators.
Definition in file objsepa.h.
Go to the source code of this file.
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 211 of file objsepa.cpp.
References 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(), and scip::ObjSepa::SCIP_DECL_SEPAEXECSOL().
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 238 of file objsepa.cpp.
References SCIPfindSepa(), and SCIPsepaGetData().
Referenced by scip::ObjSepa::SCIP_DECL_SEPAEXECSOL().
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 257 of file objsepa.cpp.
References SCIPsepaGetData().
Referenced by scip::ObjSepa::SCIP_DECL_SEPAEXECSOL().