pub unsafe extern "C" fn SCIPincludeHeur(
scip: *mut SCIP,
name: *const c_char,
desc: *const c_char,
dispchar: c_char,
priority: c_int,
freq: c_int,
freqofs: c_int,
maxdepth: c_int,
timingmask: SCIP_HEURTIMING,
usessubscip: c_uint,
heurcopy: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurfree: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurinit: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurexit: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurinitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurexitsol: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR) -> SCIP_RETCODE>,
heurexec: Option<unsafe extern "C" fn(scip: *mut SCIP, heur: *mut SCIP_HEUR, heurtiming: SCIP_HEURTIMING, nodeinfeasible: c_uint, result: *mut SCIP_RESULT) -> SCIP_RETCODE>,
heurdata: *mut SCIP_HEURDATA,
) -> SCIP_RETCODEExpand description
creates a primal heuristic and includes it in SCIP.
@note method has all heuristic callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeHeurBasic() and setter functions if you seek for a method which is less likely to change in future releases
@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