SCIPcheckCopyLimits

Function SCIPcheckCopyLimits 

Source
pub unsafe extern "C" fn SCIPcheckCopyLimits(
    sourcescip: *mut SCIP,
    success: *mut c_uint,
) -> SCIP_RETCODE
Expand description

checks if there is enough time and memory left for copying the sourcescip into a sub-SCIP and solve the sub-SCIP

This is the case if the time and memory limit that would be passed to the sub-SCIP are larger than 0.0

@pre This method can be called if sourcescip is in one of the following stages: - \ref SCIP_STAGE_PROBLEM - \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

See \ref SCIP_Stage “SCIP_STAGE” for a complete list of all possible solving stages.