Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

branching rule to reconstruct the search tree

Author
Jakob Witzig

Definition in file branch_nodereopt.c.

#include <assert.h>
#include <string.h>
#include "scip/branch_nodereopt.h"
#include "scip/branch_relpscost.h"
#include "scip/scip.h"
#include "scip/tree.h"
#include "scip/pub_reopt.h"

Go to the source code of this file.

Macros

#define BRANCHRULE_NAME   "nodereopt"
 
#define BRANCHRULE_DESC   "branching rule for node reoptimization"
 
#define BRANCHRULE_PRIORITY   -9000000
 
#define BRANCHRULE_MAXDEPTH   -1
 
#define BRANCHRULE_MAXBOUNDDIST   1.0
 

Functions

static SCIP_RETCODE Exec (SCIP *scip, SCIP_RESULT *result)
 
static SCIP_DECL_BRANCHCOPY (branchCopyNodereopt)
 
static SCIP_DECL_BRANCHEXECLP (branchExeclpNodereopt)
 
static SCIP_DECL_BRANCHEXECEXT (branchExecextNodereopt)
 
static SCIP_DECL_BRANCHEXECPS (branchExecpsNodereopt)
 
SCIP_RETCODE SCIPincludeBranchruleNodereopt (SCIP *scip)
 

Macro Definition Documentation

◆ BRANCHRULE_NAME

#define BRANCHRULE_NAME   "nodereopt"

Definition at line 32 of file branch_nodereopt.c.

Referenced by SCIP_DECL_BRANCHCOPY(), and SCIPincludeBranchruleNodereopt().

◆ BRANCHRULE_DESC

#define BRANCHRULE_DESC   "branching rule for node reoptimization"

Definition at line 33 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

◆ BRANCHRULE_PRIORITY

#define BRANCHRULE_PRIORITY   -9000000

Definition at line 34 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

◆ BRANCHRULE_MAXDEPTH

#define BRANCHRULE_MAXDEPTH   -1

Definition at line 35 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

◆ BRANCHRULE_MAXBOUNDDIST

#define BRANCHRULE_MAXBOUNDDIST   1.0

Definition at line 36 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

Function Documentation

◆ Exec()

◆ SCIP_DECL_BRANCHCOPY()

static SCIP_DECL_BRANCHCOPY ( branchCopyNodereopt  )
static

copy method for branchrule plugins (called when SCIP copies plugins)

Definition at line 233 of file branch_nodereopt.c.

References BRANCHRULE_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPbranchruleGetName(), and SCIPincludeBranchruleNodereopt().

◆ SCIP_DECL_BRANCHEXECLP()

◆ SCIP_DECL_BRANCHEXECEXT()

static SCIP_DECL_BRANCHEXECEXT ( branchExecextNodereopt  )
static

branching execution method for external candidates

Definition at line 295 of file branch_nodereopt.c.

References Exec(), NULL, SCIP_BRANCHED, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIPgetCurrentNode(), SCIPisReoptEnabled(), SCIPnodeGetDepth(), SCIPnodeGetReoptID(), and SCIPreoptimizeNode().

◆ SCIP_DECL_BRANCHEXECPS()

static SCIP_DECL_BRANCHEXECPS ( branchExecpsNodereopt  )
static

branching execution method for not completely fixed pseudo solutions

Definition at line 314 of file branch_nodereopt.c.

References Exec(), NULL, SCIP_BRANCHED, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIPgetCurrentNode(), SCIPisReoptEnabled(), SCIPnodeGetDepth(), SCIPnodeGetReoptID(), and SCIPreoptimizeNode().