Function scip_sys::SCIPevalExprActivity
source · pub unsafe extern "C" fn SCIPevalExprActivity(
scip: *mut SCIP,
expr: *mut SCIP_EXPR
) -> SCIP_RETCODEExpand description
possibly reevaluates and then returns the activity of the expression
Reevaluate activity if currently stored is no longer uptodate (some bound was changed since last evaluation).
The owner of the expression may overwrite the methods used to evaluate the activity, including whether the local or global domain of variables is used. By default (no owner, or owner doesn’t overwrite activity evaluation), the local domain of variables is used.
@note If expression is set to be integral, then activities are tightened to integral values. Thus, ensure that the integrality information is valid (if set to TRUE; the default (FALSE) is always ok).