Function scip_sys::SCIPincludeRelax
source · pub unsafe extern "C" fn SCIPincludeRelax(
scip: *mut SCIP,
name: *const c_char,
desc: *const c_char,
priority: c_int,
freq: c_int,
relaxcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
relaxfree: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
relaxinit: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
relaxexit: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
relaxinitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
relaxexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, relax: *mut SCIP_RELAX) -> SCIP_RETCODE>,
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_RETCODEExpand description
creates a relaxation handler and includes it in SCIP
@note method has all relaxation handler callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeRelaxBasic() and setter functions if you seek for a method which is less likely to change in future releases