SCIPgetLeaves

Function SCIPgetLeaves 

Source
pub unsafe extern "C" fn SCIPgetLeaves(
    scip: *mut SCIP,
    leaves: *mut *mut *mut SCIP_NODE,
    nleaves: *mut c_int,
) -> SCIP_RETCODE
Expand description

gets leaves of the tree along with the number of leaves

@return \ref SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See \ref SCIP_Retcode “SCIP_RETCODE” for a complete list of error codes.

@pre This method can be called if @p scip is in one of the following stages: - \ref SCIP_STAGE_SOLVING - \ref SCIP_STAGE_SOLVED