SCIPincludePresolBasic

Function SCIPincludePresolBasic 

Source
pub unsafe extern "C" fn SCIPincludePresolBasic(
    scip: *mut SCIP,
    presolptr: *mut *mut SCIP_PRESOL,
    name: *const c_char,
    desc: *const c_char,
    priority: c_int,
    maxrounds: c_int,
    timing: SCIP_PRESOLTIMING,
    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 with its fundamental callback. 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. These are SCIPsetPresolCopy(), SCIPsetPresolFree(), SCIPsetPresolInit(), SCIPsetPresolExit(), SCIPsetPresolInitpre(), and SCIPsetPresolExitPre().

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