Function scip_sys::SCIPincludeSepa
source · pub unsafe extern "C" fn SCIPincludeSepa(
scip: *mut SCIP,
name: *const c_char,
desc: *const c_char,
priority: c_int,
freq: c_int,
maxbounddist: f64,
usessubscip: c_uint,
delay: c_uint,
sepacopy: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepafree: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepainit: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepaexit: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepainitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepaexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA) -> SCIP_RETCODE>,
sepaexeclp: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA, result: *mut SCIP_RESULT, allowlocal: c_uint, depth: c_int) -> SCIP_RETCODE>,
sepaexecsol: Option<unsafe extern "C" fn(scip: *mut SCIP, sepa: *mut SCIP_SEPA, sol: *mut SCIP_SOL, result: *mut SCIP_RESULT, allowlocal: c_uint, depth: c_int) -> SCIP_RETCODE>,
sepadata: *mut SCIP_SEPADATA
) -> SCIP_RETCODEExpand description
creates a separator and includes it in SCIP.
@note method has all separator callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeSepaBasic() and setter functions if you seek for a method which is less likely to change in future releases