SCIPcallExprEval

Function SCIPcallExprEval 

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

calls the eval callback for an expression with given values for children

Does not iterates over expressions, but requires values for children to be given. Value is not stored in expression, but returned in val. If an evaluation error (division by zero, …) occurs, this value will be set to SCIP_INVALID.