SCIPincludeRelaxBasic

Function SCIPincludeRelaxBasic 

Source
pub unsafe extern "C" fn SCIPincludeRelaxBasic(
    scip: *mut SCIP,
    relaxptr: *mut *mut SCIP_RELAX,
    name: *const c_char,
    desc: *const c_char,
    priority: c_int,
    freq: c_int,
    relaxexec: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX, lowerbound: *mut f64, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
    relaxdata: *mut SCIP_RELAXDATA,
) -> SCIP_RETCODE
Expand description

creates a relaxation handler and includes it in SCIP. All non fundamental (or optional) callbacks as, e.g., init and exit callbacks, will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetRelaxInit(), SCIPsetRelaxExit(), SCIPsetRelaxCopy(), SCIPsetRelaxFree(), SCIPsetRelaxInitsol(), and SCIPsetRelaxExitsol()

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