SCIP_NodeselData
69assert(nodeseldata !=
NULL);
70assert(nodeseldata->objnodesel !=
NULL);
71assert(nodeseldata->objnodesel->scip_ !=
scip);
73 if( nodeseldata->objnodesel->iscloneable() )
92assert(nodeseldata !=
NULL);
93assert(nodeseldata->objnodesel !=
NULL);
94assert(nodeseldata->objnodesel->scip_ ==
scip);
97 SCIP_CALL( nodeseldata->objnodesel->scip_free(
scip, nodesel) );
100 if( nodeseldata->deleteobject )
101 deletenodeseldata->objnodesel;
118assert(nodeseldata !=
NULL);
119assert(nodeseldata->objnodesel !=
NULL);
120assert(nodeseldata->objnodesel->scip_ ==
scip);
123 SCIP_CALL( nodeseldata->objnodesel->scip_init(
scip, nodesel) );
136assert(nodeseldata !=
NULL);
137assert(nodeseldata->objnodesel !=
NULL);
140 SCIP_CALL( nodeseldata->objnodesel->scip_exit(
scip, nodesel) );
153assert(nodeseldata !=
NULL);
154assert(nodeseldata->objnodesel !=
NULL);
157 SCIP_CALL( nodeseldata->objnodesel->scip_initsol(
scip, nodesel) );
170assert(nodeseldata !=
NULL);
171assert(nodeseldata->objnodesel !=
NULL);
174 SCIP_CALL( nodeseldata->objnodesel->scip_exitsol(
scip, nodesel) );
187assert(nodeseldata !=
NULL);
188assert(nodeseldata->objnodesel !=
NULL);
191 SCIP_CALL( nodeseldata->objnodesel->scip_select(
scip, nodesel, selnode) );
204assert(nodeseldata !=
NULL);
205assert(nodeseldata->objnodesel !=
NULL);
208 returnnodeseldata->objnodesel->scip_comp(
scip, nodesel, node1, node2);
228assert(objnodesel !=
NULL);
232nodeseldata->objnodesel = objnodesel;
233nodeseldata->deleteobject = deleteobject;
239nodeselFreeObj, nodeselInitObj, nodeselExitObj,
240nodeselInitsolObj, nodeselExitsolObj, nodeselSelectObj, nodeselCompObj,
256 if( nodesel ==
NULL)
260assert(nodeseldata !=
NULL);
262 returnnodeseldata->objnodesel;
275assert(nodeseldata !=
NULL);
277 returnnodeseldata->objnodesel;
C++ wrapper for node selectors.
const int scip_stdpriority_
const int scip_memsavepriority_
SCIP_NODESEL * SCIPfindNodesel(SCIP *scip, const char *name)
void SCIPnodeselSetData(SCIP_NODESEL *nodesel, SCIP_NODESELDATA *nodeseldata)
SCIP_NODESELDATA * SCIPnodeselGetData(SCIP_NODESEL *nodesel)
SCIP_RETCODE SCIPincludeNodesel(SCIP *scip, const char *name, const char *desc, int stdpriority, int memsavepriority, SCIP_DECL_NODESELCOPY((*nodeselcopy)), SCIP_DECL_NODESELFREE((*nodeselfree)), SCIP_DECL_NODESELINIT((*nodeselinit)), SCIP_DECL_NODESELEXIT((*nodeselexit)), SCIP_DECL_NODESELINITSOL((*nodeselinitsol)), SCIP_DECL_NODESELEXITSOL((*nodeselexitsol)), SCIP_DECL_NODESELSELECT((*nodeselselect)), SCIP_DECL_NODESELCOMP((*nodeselcomp)), SCIP_NODESELDATA *nodeseldata)
SCIP_RETCODE SCIPincludeObjNodesel(SCIP *scip, scip::ObjNodesel *objnodesel, SCIP_Bool deleteobject)
static SCIP_DECL_NODESELEXITSOL(nodeselExitsolObj)
static SCIP_DECL_NODESELCOPY(nodeselCopyObj)
static SCIP_DECL_NODESELSELECT(nodeselSelectObj)
scip::ObjNodesel * SCIPfindObjNodesel(SCIP *scip, const char *name)
static SCIP_DECL_NODESELCOMP(nodeselCompObj)
static SCIP_DECL_NODESELINIT(nodeselInitObj)
scip::ObjNodesel * SCIPgetObjNodesel(SCIP *scip, SCIP_NODESEL *nodesel)
static SCIP_DECL_NODESELFREE(nodeselFreeObj)
static SCIP_DECL_NODESELINITSOL(nodeselInitsolObj)
static SCIP_DECL_NODESELEXIT(nodeselExitObj)
C++ wrapper for node selectors.
struct SCIP_NodeselData SCIP_NODESELDATA
enum SCIP_Retcode SCIP_RETCODE
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4