nodesel_restartdfs.c
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/ 40 #define SELECTBESTFREQ 100 /**< frequency for selecting the best node instead of the deepest one */ 90 /** solving process initialization method of node selector (called when branch and bound process is about to begin) */ 116 /* decide if we want to select the node with lowest bound or the deepest node; finish the current dive in any case */ 132 /* check if in case of "only leaves" the number processed leaves exceeds the frequency or in the other case the 135 if( (nodeseldata->countonlyleaves && nodeseldata->nprocessedleaves >= nodeseldata->selectbestfreq) 136 || (!nodeseldata->countonlyleaves && nnodes - nodeseldata->lastrestart >= nodeseldata->selectbestfreq ) ) 182 SCIP_CALL( SCIPincludeNodeselBasic(scip, &nodesel, NODESEL_NAME, NODESEL_DESC, NODESEL_STDPRIORITY, NODESEL_MEMSAVEPRIORITY, Definition: struct_nodesel.h:51 Definition: struct_scip.h:53 SCIP_RETCODE SCIPsetNodeselCopy(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELCOPY((*nodeselcopy))) Definition: scip.c:8028 node selector for depth first search with periodical selection of the best 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) Definition: scip.c:7992 static SCIP_DECL_NODESELINITSOL(nodeselInitsolRestartdfs) Definition: nodesel_restartdfs.c:92 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) Definition: scip.c:3547 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) Definition: scip.c:3573 SCIP_NODESELDATA * SCIPnodeselGetData(SCIP_NODESEL *nodesel) Definition: nodesel.c:1060 Definition: type_retcode.h:33 static SCIP_DECL_NODESELCOPY(nodeselCopyRestartdfs) Definition: nodesel_restartdfs.c:60 static SCIP_DECL_NODESELCOMP(nodeselCompRestartdfs) Definition: nodesel_restartdfs.c:156 SCIP_RETCODE SCIPsetNodeselFree(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELFREE((*nodeselfree))) Definition: scip.c:8044 void SCIPnodeselSetData(SCIP_NODESEL *nodesel, SCIP_NODESELDATA *nodeseldata) Definition: nodesel.c:1070 SCIP_RETCODE SCIPincludeNodeselRestartdfs(SCIP *scip) Definition: nodesel_restartdfs.c:167 static SCIP_DECL_NODESELFREE(nodeselFreeRestartdfs) Definition: nodesel_restartdfs.c:74 SCIP_RETCODE SCIPsetNodeselInitsol(SCIP *scip, SCIP_NODESEL *nodesel, SCIP_DECL_NODESELINITSOL((*nodeselinitsol))) Definition: scip.c:8092 static SCIP_DECL_NODESELSELECT(nodeselSelectRestartdfs) Definition: nodesel_restartdfs.c:111 Definition: objbranchrule.h:33 |