SCIPcopyLimits

Function SCIPcopyLimits 

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

copies limits from source SCIP to target SCIP

@note time and memory limit are reduced by the amount already spent in the source SCIP before installing the limit in the target SCIP @note all other limits are disabled and need to be enabled afterwards, if needed

@see SCIPsetCommonSubscipParams() to set further working limits and other parameters commonly used for auxiliary problems

@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.