SCIPincludePresol

Function SCIPincludePresol 

Source
pub unsafe extern "C" fn SCIPincludePresol(
    scip: *mut SCIP,
    name: *const c_char,
    desc: *const c_char,
    priority: c_int,
    maxrounds: c_int,
    timing: SCIP_PRESOLTIMING,
    presolcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolfree: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolinit: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolexit: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolinitpre: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolexitpre: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL) -> SCIP_RETCODE>,
    presolexec: Option<unsafe extern "C" fn(scip: *mut SCIP, presol: *mut SCIP_PRESOL, nrounds: c_int, presoltiming: SCIP_PRESOLTIMING, nnewfixedvars: c_int, nnewaggrvars: c_int, nnewchgvartypes: c_int, nnewchgbds: c_int, nnewholes: c_int, nnewdelconss: c_int, nnewaddconss: c_int, nnewupgdconss: c_int, nnewchgcoefs: c_int, nnewchgsides: c_int, nfixedvars: *mut c_int, naggrvars: *mut c_int, nchgvartypes: *mut c_int, nchgbds: *mut c_int, naddholes: *mut c_int, ndelconss: *mut c_int, naddconss: *mut c_int, nupgdconss: *mut c_int, nchgcoefs: *mut c_int, nchgsides: *mut c_int, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
    presoldata: *mut SCIP_PRESOLDATA,
) -> SCIP_RETCODE
Expand description

creates a presolver and includes it in SCIP

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