objbranchrule.cpp
Go to the documentation of this file.
30/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
47 SCIP_Bool deleteobject; /**< should the branching rule object be deleted when branching rule is freed? */
76 newobjbranchrule = dynamic_cast<scip::ObjBranchrule*> (branchruledata->objbranchrule->clone(scip));
146/** solving process initialization method of branching rule (called when branch and bound process is about to begin) */
163/** solving process deinitialization method of branching rule (called before branch and bound process data is freed) */
191 SCIP_CALL( branchruledata->objbranchrule->scip_execlp(scip, branchrule, allowaddcons, result) );
208 SCIP_CALL( branchruledata->objbranchrule->scip_execext(scip, branchrule, allowaddcons, result) );
225 SCIP_CALL( branchruledata->objbranchrule->scip_execps(scip, branchrule, allowaddcons, result) );
241 SCIP_Bool deleteobject /**< should the branching rule object be deleted when branching rule is freed? */
256 objbranchrule->scip_priority_, objbranchrule->scip_maxdepth_, objbranchrule->scip_maxbounddist_,
const SCIP_Real scip_maxbounddist_
Definition: objbranchrule.h:78
SCIP_BRANCHRULE * SCIPfindBranchrule(SCIP *scip, const char *name)
Definition: scip_branch.c:297
SCIP_BRANCHRULEDATA * SCIPbranchruleGetData(SCIP_BRANCHRULE *branchrule)
Definition: branch.c:1849
void SCIPbranchruleSetData(SCIP_BRANCHRULE *branchrule, SCIP_BRANCHRULEDATA *branchruledata)
Definition: branch.c:1859
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:68
Definition: objbenders.h:44
static SCIP_DECL_BRANCHEXECLP(branchExeclpObj)
Definition: objbranchrule.cpp:182
static SCIP_DECL_BRANCHEXITSOL(branchExitsolObj)
Definition: objbranchrule.cpp:165
SCIP_RETCODE SCIPincludeObjBranchrule(SCIP *scip, scip::ObjBranchrule *objbranchrule, SCIP_Bool deleteobject)
Definition: objbranchrule.cpp:238
scip::ObjBranchrule * SCIPfindObjBranchrule(SCIP *scip, const char *name)
Definition: objbranchrule.cpp:267
static SCIP_DECL_BRANCHINITSOL(branchInitsolObj)
Definition: objbranchrule.cpp:148
static SCIP_DECL_BRANCHEXECEXT(branchExecextObj)
Definition: objbranchrule.cpp:199
static SCIP_DECL_BRANCHEXECPS(branchExecpsObj)
Definition: objbranchrule.cpp:216
scip::ObjBranchrule * SCIPgetObjBranchrule(SCIP *scip, SCIP_BRANCHRULE *branchrule)
Definition: objbranchrule.cpp:286
C++ wrapper for branching rules.
Definition: struct_branch.h:79
Definition: struct_scip.h:70