SCIPgetActivityLinear

Function SCIPgetActivityLinear 

Source
pub unsafe extern "C" fn SCIPgetActivityLinear(
    scip: *mut SCIP,
    cons: *mut SCIP_CONS,
    sol: *mut SCIP_SOL,
) -> f64
Expand description

gets the activity of the linear constraint in the given solution

@note if the solution contains values at infinity, this method will return SCIP_INVALID in case the activity comprises positive and negative infinity contributions