SCIPcomputeOrbitsSym

Function SCIPcomputeOrbitsSym 

Source
pub unsafe extern "C" fn SCIPcomputeOrbitsSym(
    scip: *mut SCIP,
    issigned: c_uint,
    permvars: *mut *mut SCIP_VAR,
    npermvars: c_int,
    perms: *mut *mut c_int,
    nperms: c_int,
    orbits: *mut c_int,
    orbitbegins: *mut c_int,
    norbits: *mut c_int,
) -> SCIP_RETCODE
Expand description

compute non-trivial orbits of symmetry group

The non-trivial orbits of the group action are stored in the array orbits of length npermvars. This array contains the indices of variables from the permvars array such that variables that are contained in the same orbit appear consecutively in the orbits array. The variables of the i-th orbit have indices orbits[orbitbegins[i]], … , orbits[orbitbegins[i + 1] - 1]. Note that the description of the orbits ends at orbitbegins[norbits] - 1.