SCIPincludeBranchruleBasic

Function 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_RETCODE
Expand 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().

@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM

@note if you want to set all callbacks with a single method call, consider using SCIPincludeBranchrule() instead