SCIPcomputeOrbitVar

Function SCIPcomputeOrbitVar 

Source
pub unsafe extern "C" fn SCIPcomputeOrbitVar(
    scip: *mut SCIP,
    npermvars: c_int,
    perms: *mut *mut c_int,
    permstrans: *mut *mut c_int,
    components: *mut c_int,
    componentbegins: *mut c_int,
    ignoredvars: *mut u8,
    varfound: *mut u8,
    varidx: c_int,
    component: c_int,
    orbit: *mut c_int,
    orbitsize: *mut c_int,
) -> SCIP_RETCODE
Expand description

Compute orbit of a given variable and store it in @p orbit. The first entry of the orbit will be the given variable index and the rest is filled with the remaining variables excluding the ones specified in @p ignoredvars.

@pre orbit is an initialized array of size propdata->npermvars @pre at least one of @p perms and @p permstrans should not be NULL