SCIPisVarAggrCoefAcceptable

Function SCIPisVarAggrCoefAcceptable 

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

checks whether a loose variable can be used in a new aggregation with given coefficient

Checks whether multiplying the bounds on the coefficient with which the variable appears in aggregations (SCIPvarGetMinAggrCoef(), SCIPvarGetMaxAggrCoef()) by the given scalar would exceed acceptable values (numerics/sumepsilon and 1.0 / numerics/sumepsilon).

@pre This method can only be called if @p scip is in stage \ref SCIP_STAGE_PRESOLVING