SCIPdecompGetVarsSize

Function SCIPdecompGetVarsSize 

Source
pub unsafe extern "C" fn SCIPdecompGetVarsSize(
    decomp: *mut SCIP_DECOMP,
    varssize: *mut c_int,
    nlabels: c_int,
) -> SCIP_RETCODE
Expand description

gets variable size for each block, sorted by increasing block label

To get all variable sizes, set nlabels to SCIPdecompGetNBlocks() + 1. The first entry corresponds to the number of border variables.

@note Ensure that SCIPcomputeDecompStats() has been called before. If the decomposition was read from a file, this was done automatically.