SCIPinitVarValueBranchStats

Function SCIPinitVarValueBranchStats 

Source
pub unsafe extern "C" fn SCIPinitVarValueBranchStats(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    value: f64,
    downvsids: f64,
    upvsids: f64,
    downconflen: f64,
    upconflen: f64,
    downinfer: f64,
    upinfer: f64,
    downcutoff: f64,
    upcutoff: f64,
) -> SCIP_RETCODE
Expand description

initializes the upwards and downwards conflict scores, conflict lengths, inference scores, cutoff scores of a variable w.r.t. a value by the given values (SCIP_VALUEHISTORY)

@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 @p 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_INITSOLVE - \ref SCIP_STAGE_SOLVING