SCIPcallExprSimplify

Function SCIPcallExprSimplify 

Source
pub unsafe extern "C" fn SCIPcallExprSimplify(
    scip: *mut SCIP,
    expr: *mut SCIP_EXPR,
    simplifiedexpr: *mut *mut SCIP_EXPR,
    ownercreate: Option<unsafe extern "C" fn(scip: *mut SCIP, expr: *mut SCIP_EXPR, ownerdata: *mut *mut SCIP_EXPR_OWNERDATA, ownerfree: *mut Option<unsafe extern "C" fn(scip: *mut SCIP, expr: *mut SCIP_EXPR, ownerdata: *mut *mut SCIP_EXPR_OWNERDATA) -> SCIP_RETCODE>, ownerprint: *mut Option<unsafe extern "C" fn(scip: *mut SCIP, file: *mut FILE, expr: *mut SCIP_EXPR, ownerdata: *mut SCIP_EXPR_OWNERDATA) -> SCIP_RETCODE>, ownerevalactivity: *mut Option<unsafe extern "C" fn(scip: *mut SCIP, expr: *mut SCIP_EXPR, ownerdata: *mut SCIP_EXPR_OWNERDATA) -> SCIP_RETCODE>, ownercreatedata: *mut c_void) -> SCIP_RETCODE>,
    ownercreatedata: *mut c_void,
) -> SCIP_RETCODE
Expand description

calls the simplify callback for an expression

@see SCIP_DECL_EXPRSIMPLIFY

Returns unmodified expression if simplify callback not implemented.

Does not simplify descendants (children, etc). Use SCIPsimplifyExpr() for that.