Scippy

SCIP

Solving Constraint Integer Programs

nodesel_dfs.c File Reference

Detailed Description

node selector for depth first search

Author
Tobias Achterberg

Definition in file nodesel_dfs.c.

#include <assert.h>
#include <string.h>
#include "scip/nodesel_dfs.h"

Go to the source code of this file.

Macros

#define NODESEL_NAME   "dfs"
 
#define NODESEL_DESC   "depth first search"
 
#define NODESEL_STDPRIORITY   0
 
#define NODESEL_MEMSAVEPRIORITY   100000
 

Functions

static SCIP_DECL_NODESELCOPY (nodeselCopyDfs)
 
static SCIP_DECL_NODESELSELECT (nodeselSelectDfs)
 
static SCIP_DECL_NODESELCOMP (nodeselCompDfs)
 
SCIP_RETCODE SCIPincludeNodeselDfs (SCIP *scip)
 

Macro Definition Documentation

◆ NODESEL_NAME

#define NODESEL_NAME   "dfs"

◆ NODESEL_DESC

#define NODESEL_DESC   "depth first search"

Definition at line 30 of file nodesel_dfs.c.

Referenced by SCIPincludeNodeselDfs().

◆ NODESEL_STDPRIORITY

#define NODESEL_STDPRIORITY   0

Definition at line 31 of file nodesel_dfs.c.

Referenced by SCIPincludeNodeselDfs().

◆ NODESEL_MEMSAVEPRIORITY

#define NODESEL_MEMSAVEPRIORITY   100000

Definition at line 32 of file nodesel_dfs.c.

Referenced by SCIPincludeNodeselDfs().

Function Documentation

◆ SCIP_DECL_NODESELCOPY()

static SCIP_DECL_NODESELCOPY ( nodeselCopyDfs  )
static

copy method for node selector plugins (called when SCIP copies plugins)

Definition at line 41 of file nodesel_dfs.c.

References NODESEL_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeNodeselDfs(), and SCIPnodeselGetName().

◆ SCIP_DECL_NODESELSELECT()

static SCIP_DECL_NODESELSELECT ( nodeselSelectDfs  )
static

node selection method of node selector

Definition at line 56 of file nodesel_dfs.c.

References NODESEL_NAME, NULL, SCIP_OKAY, SCIPdebugMsg, SCIPgetBestLeaf(), SCIPgetPrioChild(), SCIPgetPrioSibling(), and SCIPnodeselGetName().

◆ SCIP_DECL_NODESELCOMP()

static SCIP_DECL_NODESELCOMP ( nodeselCompDfs  )
static

node comparison method of node selector

Definition at line 82 of file nodesel_dfs.c.

References NODESEL_NAME, NULL, SCIP_Real, SCIPnodeGetDepth(), SCIPnodeGetLowerbound(), and SCIPnodeselGetName().