C++ wrapper for branching rules.
This class defines the interface for branching rules implemented in C++.
Definition at line 54 of file objbranchrule.h.
C++ wrapper for branching rules. More...
#include <objbranchrule.h>
Data Fields | |
SCIP * | scip_ |
char * | scip_name_ |
char * | scip_desc_ |
const int | scip_priority_ |
const int | scip_maxdepth_ |
const SCIP_Real | scip_maxbounddist_ |
|
inline |
default constructor
scip | SCIP data structure |
name | name of branching rule |
desc | description of branching rule |
priority | priority of the branching rule |
maxdepth | maximal depth level, up to which this branching rule should be used (or -1) |
maxbounddist | maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying branching rule (0.0: only on current best node, 1.0: on all nodes) |
Definition at line 81 of file objbranchrule.h.
References scip_, SCIP_CALL_ABORT, scip_desc_, scip_name_, and SCIPduplicateMemoryArray.
|
inline |
copy constructor
Definition at line 104 of file objbranchrule.h.
|
inline |
move constructor
Definition at line 110 of file objbranchrule.h.
References i, scip_desc_, and scip_name_.
|
inlinevirtual |
destructor
Definition at line 123 of file objbranchrule.h.
References scip_, scip_desc_, scip_name_, and SCIPfreeMemoryArray.
|
delete |
assignment of polymorphic classes causes slicing and is therefore disabled.
|
delete |
assignment of polymorphic classes causes slicing and is therefore disabled.
destructor of branching rule to free user data (called when SCIP is exiting)
Definition at line 141 of file objbranchrule.h.
References SCIP_OKAY.
initialization method of branching rule (called after problem was transformed)
Definition at line 150 of file objbranchrule.h.
References SCIP_OKAY.
deinitialization method of branching rule (called before transformed problem is freed)
Definition at line 159 of file objbranchrule.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process initialization method of branching rule (called when branch and bound process is about to begin)
Definition at line 168 of file objbranchrule.h.
References SCIP_OKAY.
|
inlinevirtual |
solving process deinitialization method of branching rule (called before branch and bound process data is freed)
Definition at line 177 of file objbranchrule.h.
References SCIP_OKAY.
|
inlinevirtual |
branching execution method for fractional LP solutions
Definition at line 186 of file objbranchrule.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
|
inlinevirtual |
branching execution method for external candidates
Definition at line 197 of file objbranchrule.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
|
inlinevirtual |
branching execution method for not completely fixed pseudo solutions
Definition at line 208 of file objbranchrule.h.
References assert(), NULL, result, SCIP_DIDNOTRUN, and SCIP_OKAY.
SCIP* scip::ObjBranchrule::scip_ |
SCIP data structure
Definition at line 60 of file objbranchrule.h.
Referenced by ObjBranchrule(), and ~ObjBranchrule().
char* scip::ObjBranchrule::scip_name_ |
name of the branching rule
Definition at line 63 of file objbranchrule.h.
Referenced by ObjBranchrule(), ObjBranchrule(), SCIPincludeObjBranchrule(), and ~ObjBranchrule().
char* scip::ObjBranchrule::scip_desc_ |
description of the branching rule
Definition at line 66 of file objbranchrule.h.
Referenced by ObjBranchrule(), ObjBranchrule(), SCIPincludeObjBranchrule(), and ~ObjBranchrule().
const int scip::ObjBranchrule::scip_priority_ |
default priority of the branching rule
Definition at line 69 of file objbranchrule.h.
Referenced by SCIPincludeObjBranchrule().
const int scip::ObjBranchrule::scip_maxdepth_ |
default maximal depth for applying the branching rule
Definition at line 72 of file objbranchrule.h.
Referenced by SCIPincludeObjBranchrule().
default maximal relative distance from current node's dual bound to primal bound compared to best node's dual bound for applying branching rule (0.0: only on current best node, 1.0: on all nodes)
Definition at line 78 of file objbranchrule.h.
Referenced by SCIPincludeObjBranchrule().