Function scip_sys::SCIPgetTransGap

source ·
pub unsafe extern "C" fn SCIPgetTransGap(scip: *mut SCIP) -> f64
Expand description

gets current gap |(upperbound - lowerbound)/min(|upperbound|,|lowerbound|)| in transformed problem if both bounds have same sign, or infinity, if they have opposite sign

@return current gap |(upperbound - lowerbound)/min(|upperbound|,|lowerbound|)| in transformed problem if both bounds have same sign, or infinity, if they have opposite sign

@pre This method can be called if SCIP is in one of the following stages: - \ref SCIP_STAGE_PRESOLVED - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED