objbranchrule.cpp
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
38 SCIP_Bool deleteobject; /**< should the branching rule object be deleted when branching rule is freed? */
67 newobjbranchrule = dynamic_cast<scip::ObjBranchrule*> (branchruledata->objbranchrule->clone(scip));
137 /** solving process initialization method of branching rule (called when branch and bound process is about to begin) */
154 /** solving process deinitialization method of branching rule (called before branch and bound process data is freed) */
182 SCIP_CALL( branchruledata->objbranchrule->scip_execlp(scip, branchrule, allowaddcons, result) );
199 SCIP_CALL( branchruledata->objbranchrule->scip_execext(scip, branchrule, allowaddcons, result) );
216 SCIP_CALL( branchruledata->objbranchrule->scip_execps(scip, branchrule, allowaddcons, result) );
232 SCIP_Bool deleteobject /**< should the branching rule object be deleted when branching rule is freed? */
247 objbranchrule->scip_priority_, objbranchrule->scip_maxdepth_, objbranchrule->scip_maxbounddist_,
Definition: struct_scip.h:59
SCIP_BRANCHRULEDATA * SCIPbranchruleGetData(SCIP_BRANCHRULE *branchrule)
Definition: branch.c:1849
SCIP_RETCODE SCIPincludeBranchrule(SCIP *scip, const char *name, const char *desc, int priority, int maxdepth, SCIP_Real maxbounddist, SCIP_DECL_BRANCHCOPY((*branchcopy)), SCIP_DECL_BRANCHFREE((*branchfree)), SCIP_DECL_BRANCHINIT((*branchinit)), SCIP_DECL_BRANCHEXIT((*branchexit)), SCIP_DECL_BRANCHINITSOL((*branchinitsol)), SCIP_DECL_BRANCHEXITSOL((*branchexitsol)), SCIP_DECL_BRANCHEXECLP((*branchexeclp)), SCIP_DECL_BRANCHEXECEXT((*branchexecext)), SCIP_DECL_BRANCHEXECPS((*branchexecps)), SCIP_BRANCHRULEDATA *branchruledata)
Definition: scip_branch.c:59
static SCIP_DECL_BRANCHEXECLP(branchExeclpObj)
Definition: objbranchrule.cpp:173
static SCIP_DECL_BRANCHEXITSOL(branchExitsolObj)
Definition: objbranchrule.cpp:156
static SCIP_DECL_BRANCHEXECEXT(branchExecextObj)
Definition: objbranchrule.cpp:190
SCIP_BRANCHRULE * SCIPfindBranchrule(SCIP *scip, const char *name)
Definition: scip_branch.c:288
static SCIP_DECL_BRANCHEXECPS(branchExecpsObj)
Definition: objbranchrule.cpp:207
Definition: type_retcode.h:33
C++ wrapper for branching rules.
Definition: struct_branch.h:69
static SCIP_DECL_BRANCHINITSOL(branchInitsolObj)
Definition: objbranchrule.cpp:139
scip::ObjBranchrule * SCIPgetObjBranchrule(SCIP *scip, SCIP_BRANCHRULE *branchrule)
Definition: objbranchrule.cpp:277
scip::ObjBranchrule * SCIPfindObjBranchrule(SCIP *scip, const char *name)
Definition: objbranchrule.cpp:258
SCIP_RETCODE SCIPincludeObjBranchrule(SCIP *scip, scip::ObjBranchrule *objbranchrule, SCIP_Bool deleteobject)
Definition: objbranchrule.cpp:229
Definition: objbenders.h:33
void SCIPbranchruleSetData(SCIP_BRANCHRULE *branchrule, SCIP_BRANCHRULEDATA *branchruledata)
Definition: branch.c:1859
const SCIP_Real scip_maxbounddist_
Definition: objbranchrule.h:69