SCIPsetupBendersSubproblem

Function SCIPsetupBendersSubproblem 

Source
pub unsafe extern "C" fn SCIPsetupBendersSubproblem(
    scip: *mut SCIP,
    benders: *mut SCIP_BENDERS,
    sol: *mut SCIP_SOL,
    probnumber: c_int,
    type_: SCIP_BENDERSENFOTYPE,
) -> SCIP_RETCODE
Expand description

calls the generic subproblem setup method for a Benders’ decomposition subproblem

This is called if the user requires to solve the Benders’ decomposition subproblem separately from the main Benders’ solving loop. This could be in the case of enhancement techniques.

@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 SCIP is in one of the following stages: - \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