SCIPcomputeExprCurvature

Function SCIPcomputeExprCurvature 

Source
pub unsafe extern "C" fn SCIPcomputeExprCurvature(
    scip: *mut SCIP,
    expr: *mut SCIP_EXPR,
) -> SCIP_RETCODE
Expand description

computes the curvature of a given expression and all its subexpressions

@note this function also evaluates all subexpressions w.r.t. current variable bounds @note this function relies on information from the curvature callback of expression handlers only, consider using function @ref SCIPhasExprCurvature() of the convex-nlhdlr instead, as that uses more information to deduce convexity