SCIPtrySol

Function SCIPtrySol 

Source
pub unsafe extern "C" fn SCIPtrySol(
    scip: *mut SCIP,
    sol: *mut SCIP_SOL,
    printreason: c_uint,
    completely: c_uint,
    checkbounds: c_uint,
    checkintegrality: c_uint,
    checklprows: c_uint,
    stored: *mut c_uint,
) -> SCIP_RETCODE
Expand description

checks solution for feasibility; if possible, adds it to storage by copying

@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_TRANSFORMED - \ref SCIP_STAGE_INITPRESOLVE - \ref SCIP_STAGE_PRESOLVING - \ref SCIP_STAGE_EXITPRESOLVE - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_SOLVING

@note Do not call during propagation, use heur_trysol instead.