Coalesces bool, int indices for variables.

extract_mip_idx(variables)

Arguments

variables

A list of Variable objects.

Value

Coalesces bool, int indices for variables. The indexing scheme assumes that the variables will be coalesced into a single one-dimensional variable, with each variable being reshaped in Fortran order.