SCIPsetIsUbBetter

Function SCIPsetIsUbBetter 

Source
pub unsafe extern "C" fn SCIPsetIsUbBetter(
    set: *mut SCIP_SET,
    newub: f64,
    oldlb: f64,
    oldub: f64,
) -> c_uint
Expand description

checks if the given new upper bound is at least min(oldub - oldlb, |oldub|) times the bound strengthening epsilon better than the old one or the change in the upper bound would fix the sign of the variable