SCIPsetConshdlrPresol

Function SCIPsetConshdlrPresol 

Source
pub unsafe extern "C" fn SCIPsetConshdlrPresol(
    scip: *mut SCIP,
    conshdlr: *mut SCIP_CONSHDLR,
    conspresol: Option<unsafe extern "C" fn(scip: *mut SCIP, conshdlr: *mut SCIP_CONSHDLR, conss: *mut *mut SCIP_CONS, nconss: c_int, 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>,
    maxprerounds: c_int,
    presoltiming: SCIP_PRESOLTIMING,
) -> SCIP_RETCODE
Expand description

sets presolving method of constraint handler

@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.

@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM