Function scip_sys::SCIPincludeBranchruleBasic
source · pub unsafe extern "C" fn SCIPincludeBranchruleBasic(
scip: *mut SCIP,
branchruleptr: *mut *mut SCIP_BRANCHRULE,
name: *const c_char,
desc: *const c_char,
priority: c_int,
maxdepth: c_int,
maxbounddist: f64,
branchruledata: *mut SCIP_BRANCHRULEDATA
) -> SCIP_RETCODEExpand description
creates a branching rule and includes it in SCIP. All non-fundamental (or optional) callbacks will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetBranchruleInit(), SCIPsetBranchruleExit(), SCIPsetBranchruleCopy(), SCIPsetBranchruleFree(), SCIPsetBranchruleInitsol(), SCIPsetBranchruleExitsol(), SCIPsetBranchruleExecLp(), SCIPsetBranchruleExecExt(), and SCIPsetBranchruleExecPs().
@note if you want to set all callbacks with a single method call, consider using SCIPincludeBranchrule() instead