SCIPevalExprGradient

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 from variable expressions via SCIPexprGetDerivative() or via SCIPgetExprPartialDiffNonlinear(). If an error (division by zero, …) occurs, these functions return SCIP_INVALID.