SCIPincludeCompr

Function SCIPincludeCompr 

Source
pub unsafe extern "C" fn SCIPincludeCompr(
    scip: *mut SCIP,
    name: *const c_char,
    desc: *const c_char,
    priority: c_int,
    minnnodes: c_int,
    comprcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprfree: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprinit: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprexit: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprinitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR) -> SCIP_RETCODE>,
    comprexec: Option<unsafe extern "C" fn(scip: *mut SCIP, compr: *mut SCIP_COMPR, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
    comprdata: *mut SCIP_COMPRDATA,
) -> SCIP_RETCODE
Expand description

@addtogroup PublicCompressionMethods

@{ / /** creates a tree compression and includes it in SCIP.

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