A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/nodesel__restartdfs_8c_source.php below:

SCIP Doxygen Documentation: nodesel_restartdfs.c Source File

45#define NODESEL_NAME "restartdfs" 46#define NODESEL_DESC "depth first search with periodical selection of the best node" 47#define NODESEL_STDPRIORITY 10000 48#define NODESEL_MEMSAVEPRIORITY 50000 55#define SELECTBESTFREQ 100 56#define COUNTONLYLEAVES TRUE 60struct

SCIP_NodeselData

78

assert(nodesel !=

NULL

);

97

assert(nodeseldata !=

NULL

);

114

assert(nodeseldata !=

NULL

);

117

nodeseldata->lastrestart = 0;

118

nodeseldata->nprocessedleaves = 0;

129

assert(selnode !=

NULL

);

133 if

( *selnode ==

NULL

)

140

assert(nodeseldata !=

NULL

);

143

nodeseldata->nprocessedleaves++;

150 if

( (nodeseldata->countonlyleaves && nodeseldata->nprocessedleaves >= nodeseldata->selectbestfreq)

151

|| (!nodeseldata->countonlyleaves &&

nnodes

- nodeseldata->lastrestart >= nodeseldata->selectbestfreq ) )

153

nodeseldata->lastrestart =

nnodes

;

154

nodeseldata->nprocessedleaves = 0;

160 if

( *selnode ==

NULL

)

191

nodeseldata->lastrestart = 0;

192

nodeseldata->nprocessedleaves = 0;

198

nodeselSelectRestartdfs, nodeselCompRestartdfs, nodeseldata) );

200

assert(nodesel !=

NULL

);

208 "nodeselection/restartdfs/selectbestfreq"

,

209 "frequency for selecting the best node instead of the deepest one"

,

214 "nodeselection/restartdfs/countonlyleaves"

,

215 "count only leaf nodes (otherwise all nodes)?"

,

SCIP_RETCODE SCIPincludeNodeselRestartdfs(SCIP *scip)

SCIP_RETCODE SCIPaddIntParam(SCIP *scip, const char *name, const char *desc, int *valueptr, SCIP_Bool isadvanced, int defaultvalue, int minvalue, int maxvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)

SCIP_RETCODE SCIPaddBoolParam(SCIP *scip, const char *name, const char *desc, SCIP_Bool *valueptr, SCIP_Bool isadvanced, SCIP_Bool defaultvalue, SCIP_DECL_PARAMCHGD((*paramchgd)), SCIP_PARAMDATA *paramdata)

#define SCIPfreeBlockMemory(scip, ptr)

#define SCIPallocBlockMemory(scip, ptr)

SCIP_Longint SCIPnodeGetNumber(SCIP_NODE *node)

SCIP_RETCODE SCIPincludeNodeselBasic(SCIP *scip, SCIP_NODESEL **nodesel, const char *name, const char *desc, int stdpriority, int memsavepriority, SCIP_DECL_NODESELSELECT((*nodeselselect)), SCIP_DECL_NODESELCOMP((*nodeselcomp)), SCIP_NODESELDATA *nodeseldata)

void SCIPnodeselSetData(SCIP_NODESEL *nodesel, SCIP_NODESELDATA *nodeseldata)

SCIP_RETCODE SCIPsetNodeselFree(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELFREE((*nodeselfree)))

SCIP_NODESELDATA * SCIPnodeselGetData(SCIP_NODESEL *nodesel)

SCIP_RETCODE SCIPsetNodeselCopy(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELCOPY((*nodeselcopy)))

const char * SCIPnodeselGetName(SCIP_NODESEL *nodesel)

SCIP_RETCODE SCIPsetNodeselInitsol(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELINITSOL((*nodeselinitsol)))

SCIP_Longint SCIPgetNNodes(SCIP *scip)

SCIP_NODE * SCIPgetPrioSibling(SCIP *scip)

SCIP_NODE * SCIPgetBestboundNode(SCIP *scip)

SCIP_NODE * SCIPgetPrioChild(SCIP *scip)

SCIP_NODE * SCIPgetBestLeaf(SCIP *scip)

static SCIP_DECL_NODESELCOMP(nodeselCompRestartdfs)

static SCIP_DECL_NODESELCOPY(nodeselCopyRestartdfs)

static SCIP_DECL_NODESELFREE(nodeselFreeRestartdfs)

static SCIP_DECL_NODESELSELECT(nodeselSelectRestartdfs)

#define NODESEL_MEMSAVEPRIORITY

#define NODESEL_STDPRIORITY

static SCIP_DECL_NODESELINITSOL(nodeselInitsolRestartdfs)

node selector for depth first search with periodical selection of the best node

public methods for message output

public methods for node selectors

public methods for branch and bound tree

public methods for memory management

public methods for node selector plugins

public methods for SCIP parameter handling

public methods for querying solving statistics

public methods for the branch-and-bound tree

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