SCIPincludeConcsolverType

Function SCIPincludeConcsolverType 

Source
pub unsafe extern "C" fn SCIPincludeConcsolverType(
    scip: *mut SCIP,
    name: *const c_char,
    prefpriodefault: f64,
    concsolvercreateinst: Option<unsafe extern "C" fn(scip: *mut SCIP, concsolvertype: *mut SCIP_CONCSOLVERTYPE, concsolver: *mut SCIP_CONCSOLVER) -> SCIP_RETCODE>,
    concsolverdestroyinst: Option<unsafe extern "C" fn(scip: *mut SCIP, concsolver: *mut SCIP_CONCSOLVER) -> SCIP_RETCODE>,
    concsolverinitseeds: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER, seed: c_uint) -> SCIP_RETCODE>,
    concsolverexec: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER, solvingtime: *mut f64, nlpiterations: *mut c_longlong, nnodes: *mut c_longlong) -> SCIP_RETCODE>,
    concsolvercopysolvdata: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER, scip: *mut SCIP) -> SCIP_RETCODE>,
    concsolverstop: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER) -> SCIP_RETCODE>,
    concsolversyncwrite: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER, syncstore: *mut SCIP_SYNCSTORE, syncdata: *mut SCIP_SYNCDATA, maxcandsols: c_int, maxsharedsols: c_int, nsolsshared: *mut c_int) -> SCIP_RETCODE>,
    concsolversyncread: Option<unsafe extern "C" fn(concsolver: *mut SCIP_CONCSOLVER, syncstore: *mut SCIP_SYNCSTORE, syncdata: *mut SCIP_SYNCDATA, nsolsrecvd: *mut c_int, ntighterbnds: *mut c_int, ntighterintbnds: *mut c_int) -> SCIP_RETCODE>,
    concsolvertypefreedata: Option<unsafe extern "C" fn(data: *mut *mut SCIP_CONCSOLVERTYPEDATA)>,
    data: *mut SCIP_CONCSOLVERTYPEDATA,
) -> SCIP_RETCODE
Expand description

creates a concurrent solver type and includes it in SCIP.

@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 @p scip is in one of the following stages: - \ref SCIP_STAGE_INIT - \ref SCIP_STAGE_PROBLEM