SCIPgetSolHeur

Function SCIPgetSolHeur 

Source
pub unsafe extern "C" fn SCIPgetSolHeur(
    scip: *mut SCIP,
    sol: *mut SCIP_SOL,
) -> *mut SCIP_HEUR
Expand description

gets heuristic, that found this solution (or NULL if it’s from the tree)

@return heuristic, that found this solution (or NULL if it’s from the tree)

@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_TRANSFORMING - \ref SCIP_STAGE_TRANSFORMED - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_INITSOLVE - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED - \ref SCIP_STAGE_EXITSOLVE - \ref SCIP_STAGE_FREETRANS