SCIPreplaceExprChild

Function SCIPreplaceExprChild 

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

overwrites/replaces a child of an expressions

The old child is released and the newchild is captured, unless they are the same (=same pointer).