Function SCIPcopyDigraph

Source
pub unsafe extern "C" fn SCIPcopyDigraph(
    scip: *mut SCIP,
    targetdigraph: *mut *mut SCIP_DIGRAPH,
    sourcedigraph: *mut SCIP_DIGRAPH,
) -> SCIP_RETCODE
Expand description

copies directed graph structure

The copying procedure uses the memory of the passed SCIP instance. The user must ensure that the digraph lives as most as long as the SCIP instance.

@note The data in nodedata is copied verbatim. This possibly has to be adapted by the user.