SCIPrationalComputeApproximation

Function SCIPrationalComputeApproximation 

Source
pub unsafe extern "C" fn SCIPrationalComputeApproximation(
    res: *mut SCIP_RATIONAL,
    src: *mut SCIP_RATIONAL,
    maxdenom: c_longlong,
    forcegreater: c_int,
)
Expand description

compute an approximate number with denominator <= maxdenom, closest to src and save it in res using continued fractions