C++ wrapper for primal heuristics.
This class defines the interface for node selectors implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_comp().
Definition at line 43 of file objnodesel.h.
#include <objnodesel.h>
Public Member Functions | |
ObjNodesel (SCIP *scip, const char *name, const char *desc, int stdpriority, int memsavepriority) | |
virtual | ~ObjNodesel () |
virtual | SCIP_DECL_NODESELFREE (scip_free) |
virtual | SCIP_DECL_NODESELINIT (scip_init) |
virtual | SCIP_DECL_NODESELEXIT (scip_exit) |
virtual | SCIP_DECL_NODESELINITSOL (scip_initsol) |
virtual | SCIP_DECL_NODESELEXITSOL (scip_exitsol) |
virtual | SCIP_DECL_NODESELSELECT (scip_select)=0 |
virtual | SCIP_DECL_NODESELCOMP (scip_comp)=0 |
Public Member Functions inherited from scip::ObjCloneable | |
virtual | ~ObjCloneable () |
virtual | SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone) |
virtual | SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable) |
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const int | scip_stdpriority_ |
const int | scip_memsavepriority_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of node selector |
desc | description of node selector |
stdpriority | priority of the node selector in standard mode |
memsavepriority | priority of the node selector in memory saving mode |
Definition at line 64 of file objnodesel.h.
References SCIP_CALL_ABORT, and SCIPduplicateMemoryArray.
|
inlinevirtual |
|
inlinevirtual |
destructor of node selector to free user data (called when SCIP is exiting)
Definition at line 95 of file objnodesel.h.
References SCIP_OKAY.
|
inlinevirtual |
initialization method of node selector (called after problem was transformed)
Definition at line 104 of file objnodesel.h.
References SCIP_OKAY.
|
inlinevirtual |
deinitialization method of node selector (called before transformed problem is freed)
Definition at line 113 of file objnodesel.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of node selector (called when branch and bound process is about to begin)
Definition at line 122 of file objnodesel.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of node selector (called before branch and bound process data is freed)
Definition at line 131 of file objnodesel.h.
References SCIP_Bool, SCIP_DECL_NODESELCOMP(), SCIP_DECL_NODESELSELECT(), SCIP_OKAY, SCIPfindObjNodesel(), SCIPgetObjNodesel(), and SCIPincludeObjNodesel().
|
pure virtual |
node selection method of node selector
Referenced by SCIP_DECL_NODESELEXITSOL().
|
pure virtual |
node comparison method of node selector
Referenced by SCIP_DECL_NODESELEXITSOL().
SCIP* scip::ObjNodesel::scip_ |
SCIP data structure
Definition at line 49 of file objnodesel.h.
char* scip::ObjNodesel::scip_name_ |
name of the node selector
Definition at line 52 of file objnodesel.h.
Referenced by SCIPincludeObjNodesel().
char* scip::ObjNodesel::scip_desc_ |
description of the node selector
Definition at line 55 of file objnodesel.h.
Referenced by SCIPincludeObjNodesel().
const int scip::ObjNodesel::scip_stdpriority_ |
priority of the node selector in standard mode
Definition at line 58 of file objnodesel.h.
Referenced by SCIPincludeObjNodesel().
const int scip::ObjNodesel::scip_memsavepriority_ |
priority of the node selector in memory saving mode
Definition at line 61 of file objnodesel.h.
Referenced by SCIPincludeObjNodesel().