SCIP-SDP  2.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
branch_sdpmostfrac.c File Reference

most fractional branching rule for SCIP-SDP More...

Go to the source code of this file.

Macros

#define BRANCHRULE_NAME   "sdpmostfrac"
 
#define BRANCHRULE_DESC   "branch on the most fractional variable of the SDP"
 
#define BRANCHRULE_PRIORITY   500000
 
#define BRANCHRULE_MAXDEPTH   -1
 
#define BRANCHRULE_MAXBOUNDDIST   1.0
 

Functions

static SCIP_DECL_BRANCHCOPY (branchCopySdpmostfrac)
 
static SCIP_DECL_BRANCHEXECEXT (branchExecextSdpmostfrac)
 
SCIP_RETCODE SCIPincludeBranchruleSdpmostfrac (SCIP *scip)
 

Detailed Description

most fractional branching rule for SCIP-SDP

Author
Tristan Gally

Branch on the most fractional variable in the current SDP-relaxation, i.e. the variable maximizing $x-\lfloor x \rfloor $.

Definition in file branch_sdpmostfrac.c.

Macro Definition Documentation

#define BRANCHRULE_NAME   "sdpmostfrac"

Definition at line 52 of file branch_sdpmostfrac.c.

Referenced by SCIP_DECL_BRANCHCOPY(), and SCIPincludeBranchruleSdpmostfrac().

#define BRANCHRULE_DESC   "branch on the most fractional variable of the SDP"

Definition at line 53 of file branch_sdpmostfrac.c.

Referenced by SCIPincludeBranchruleSdpmostfrac().

#define BRANCHRULE_PRIORITY   500000

Definition at line 54 of file branch_sdpmostfrac.c.

Referenced by SCIPincludeBranchruleSdpmostfrac().

#define BRANCHRULE_MAXDEPTH   -1

Definition at line 55 of file branch_sdpmostfrac.c.

Referenced by SCIPincludeBranchruleSdpmostfrac().

#define BRANCHRULE_MAXBOUNDDIST   1.0

Definition at line 56 of file branch_sdpmostfrac.c.

Referenced by SCIPincludeBranchruleSdpmostfrac().

Function Documentation

static SCIP_DECL_BRANCHCOPY ( branchCopySdpmostfrac  )
static

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

Definition at line 76 of file branch_sdpmostfrac.c.

References BRANCHRULE_NAME, and SCIPincludeBranchruleSdpmostfrac().

static SCIP_DECL_BRANCHEXECEXT ( branchExecextSdpmostfrac  )
static

branching execution method for external candidates

Definition at line 90 of file branch_sdpmostfrac.c.

SCIP_RETCODE SCIPincludeBranchruleSdpmostfrac ( SCIP *  scip)

creates the SDP most fractional branching rule and includes it in SCIP

Parameters
scipSCIP data structure

Definition at line 167 of file branch_sdpmostfrac.c.

References BRANCHRULE_DESC, BRANCHRULE_MAXBOUNDDIST, BRANCHRULE_MAXDEPTH, BRANCHRULE_NAME, and BRANCHRULE_PRIORITY.

Referenced by runSCIP(), and SCIP_DECL_BRANCHCOPY().