C++ wrapper for branching rules.
Definition in file objbranchrule.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeObjBranchrule (SCIP *scip, scip::ObjBranchrule *objbranchrule, SCIP_Bool deleteobject) |
scip::ObjBranchrule * | SCIPfindObjBranchrule (SCIP *scip, const char *name) |
scip::ObjBranchrule * | SCIPgetObjBranchrule (SCIP *scip, SCIP_BRANCHRULE *branchrule) |
SCIP_RETCODE SCIPincludeObjBranchrule | ( | SCIP * | scip, |
scip::ObjBranchrule * | objbranchrule, | ||
SCIP_Bool | deleteobject | ||
) |
creates the branching rule for the given branching rule object and includes it in SCIP
The method should be called in one of the following ways:
creates the branching rule for the given branching rule object and includes it in SCIP
scip | SCIP data structure |
objbranchrule | branching rule object |
deleteobject | should the branching rule object be deleted when branching rule is freed? |
Definition at line 229 of file objbranchrule.cpp.
References SCIP_CALL, scip::ObjBranchrule::scip_desc_, scip::ObjBranchrule::scip_maxbounddist_, scip::ObjBranchrule::scip_maxdepth_, scip::ObjBranchrule::scip_name_, SCIP_OKAY, scip::ObjBranchrule::scip_priority_, and SCIPincludeBranchrule().
Referenced by SCIP_DECL_BRANCHCOPY(), and scip::ObjBranchrule::SCIP_DECL_BRANCHEXECPS().
scip::ObjBranchrule* SCIPfindObjBranchrule | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the branchrule object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of branching rule |
Definition at line 258 of file objbranchrule.cpp.
References SCIPbranchruleGetData(), and SCIPfindBranchrule().
Referenced by scip::ObjBranchrule::SCIP_DECL_BRANCHEXECPS().
scip::ObjBranchrule* SCIPgetObjBranchrule | ( | SCIP * | scip, |
SCIP_BRANCHRULE * | branchrule | ||
) |
returns the branchrule object for the given branching rule
scip | SCIP data structure |
branchrule | branching rule |
Definition at line 277 of file objbranchrule.cpp.
References SCIPbranchruleGetData().
Referenced by scip::ObjBranchrule::SCIP_DECL_BRANCHEXECPS().