SCIPadjustedVarUbExactFloat

Function SCIPadjustedVarUbExactFloat 

Source
pub unsafe extern "C" fn SCIPadjustedVarUbExactFloat(
    scip: *mut SCIP,
    var: *mut SCIP_VAR,
    ub: f64,
) -> f64
Expand description

returns the adjusted (i.e. rounded, if the given variable is of integral type) upper bound value; does not change the bounds of the variable

@return adjusted upper bound for the given variable; the bound of the variable is not changed

@pre This method can be called if @p scip is in one of the following stages: - \ref SCIP_STAGE_PROBLEM - \ref SCIP_STAGE_TRANSFORMING - \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 - \ref SCIP_STAGE_SOLVED - \ref SCIP_STAGE_EXITSOLVE - \ref SCIP_STAGE_FREETRANS