SCIPincludeNodesel

Function SCIPincludeNodesel 

Source
pub unsafe extern "C" fn SCIPincludeNodesel(
    scip: *mut SCIP,
    name: *const c_char,
    desc: *const c_char,
    stdpriority: c_int,
    memsavepriority: c_int,
    nodeselcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselfree: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselinit: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselexit: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselinitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL) -> SCIP_RETCODE>,
    nodeselselect: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL, selnode: *mut *mut SCIP_NODE) -> SCIP_RETCODE>,
    nodeselcomp: Option<unsafe extern "C" fn(scip: *mut SCIP, nodesel: *mut SCIP_NODESEL, node1: *mut SCIP_NODE, node2: *mut SCIP_NODE) -> c_int>,
    nodeseldata: *mut SCIP_NODESELDATA,
) -> SCIP_RETCODE
Expand description

creates a node selector and includes it in SCIP.

@note method has all node selector callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeNodeselBasic() and setter functions if you seek for a method which is less likely to change in future releases