SCIPcomputeVarUbLocalExact

Function SCIPcomputeVarUbLocalExact 

Source
pub unsafe extern "C" fn SCIPcomputeVarUbLocalExact(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    result: *mut SCIP_RATIONAL,
) -> SCIP_RETCODE
Expand description

for a multi-aggregated variable, returns the local upper bound computed by adding the local bounds from all aggregation variables

This local bound may be tighter than the one given by SCIPvarGetUbLocal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetUbLocal.

@return the local upper bound computed by adding the global bounds from all aggregation variables