C++ wrapper for cut selectors.
Definition in file objcutsel.h.
Go to the source code of this file.
Data Structures | |
class | scip::ObjCutsel |
C++ wrapper for cut selectors. More... | |
Namespaces | |
namespace | scip |
Functions | |
SCIP_RETCODE | SCIPincludeObjCutsel (SCIP *scip, scip::ObjCutsel *objcutsel, SCIP_Bool deleteobject) |
scip::ObjCutsel * | SCIPfindObjCutsel (SCIP *scip, const char *name) |
scip::ObjCutsel * | SCIPgetObjCutsel (SCIP *scip, SCIP_CUTSEL *cutsel) |
SCIP_RETCODE SCIPincludeObjCutsel | ( | SCIP * | scip, |
scip::ObjCutsel * | objcutsel, | ||
SCIP_Bool | deleteobject ) |
creates the cut selector for the given cut selector object and includes it in SCIP
The method should be called in one of the following ways:
creates the cut selector for the given cut selector object and includes it in SCIP
scip | SCIP data structure |
objcutsel | cut selector object |
deleteobject | should the cut selector object be deleted when cut selector is freed? |
Definition at line 206 of file objcutsel.cpp.
References assert(), NULL, SCIP_Bool, SCIP_CALL, scip::ObjCutsel::scip_desc_, scip::ObjCutsel::scip_name_, SCIP_OKAY, scip::ObjCutsel::scip_priority_, and SCIPincludeCutsel().
Referenced by SCIP_DECL_CUTSELCOPY().
scip::ObjCutsel * SCIPfindObjCutsel | ( | SCIP * | scip, |
const char * | name ) |
returns the cutsel object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of cut selector |
Definition at line 234 of file objcutsel.cpp.
References assert(), NULL, SCIPcutselGetData(), and SCIPfindCutsel().
scip::ObjCutsel * SCIPgetObjCutsel | ( | SCIP * | scip, |
SCIP_CUTSEL * | cutsel ) |
returns the cutsel object for the given cut selector
scip | SCIP data structure |
cutsel | cut selector |
Definition at line 253 of file objcutsel.cpp.
References assert(), NULL, and SCIPcutselGetData().