Function SCIPevalExprGradient

Source
pub unsafe extern "C" fn SCIPevalExprGradient(
    scip: *mut SCIP,
    expr: *mut SCIP_EXPR,
    sol: *mut SCIP_SOL,
    soltag: c_longlong,
) -> SCIP_RETCODE
Expand description

evaluates gradient of an expression for a given point

Initiates an expression walk to also evaluate children, if necessary. Value can be received via SCIPgetExprPartialDiffNonlinear(). If an error (division by zero, …) occurs, this value will be set to SCIP_INVALID.