Scippy

SCIP

Solving Constraint Integer Programs

branch_nodereopt.c File Reference

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/cons_logicor.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_BRANCHEXECLP (branchExeclpnodereopt)
 
static SCIP_DECL_BRANCHEXECEXT (branchExecextnodereopt)
 
static SCIP_DECL_BRANCHEXECPS (branchExecpsnodereopt)
 
SCIP_RETCODE SCIPincludeBranchruleNodereopt (SCIP *scip)
 

Macro Definition Documentation

#define BRANCHRULE_NAME   "nodereopt"

Definition at line 32 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

#define BRANCHRULE_DESC   "branching rule for node reoptimization"

Definition at line 33 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

#define BRANCHRULE_PRIORITY   -9000000

Definition at line 34 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

#define BRANCHRULE_MAXDEPTH   -1

Definition at line 35 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

#define BRANCHRULE_MAXBOUNDDIST   1.0

Definition at line 36 of file branch_nodereopt.c.

Referenced by SCIPincludeBranchruleNodereopt().

Function Documentation

static SCIP_DECL_BRANCHEXECEXT ( branchExecextnodereopt  )
static

branching execution method for external candidates

Definition at line 283 of file branch_nodereopt.c.

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

static SCIP_DECL_BRANCHEXECPS ( branchExecpsnodereopt  )
static

branching execution method for not completely fixed pseudo solutions

Definition at line 302 of file branch_nodereopt.c.

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

SCIP_RETCODE SCIPincludeBranchruleNodereopt ( SCIP scip)

creates the nodereopt branching rule and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 325 of file branch_nodereopt.c.

References BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, BRANCHRULE_PRIORITY, NULL, SCIP_CALL, SCIP_OKAY, SCIPincludeBranchruleBasic(), SCIPsetBranchruleExecExt(), SCIPsetBranchruleExecLp(), and SCIPsetBranchruleExecPs().

Referenced by SCIPincludeDefaultPlugins().