extract_mip_idx function

Coalesces bool, int indices for variables.

Coalesces bool, int indices for variables.

extract_mip_idx(variables)

Arguments

  • variables: A list of Variable objects.

Returns

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.

  • Maintainer: Anqi Fu
  • License: Apache License 2.0 | file LICENSE
  • Last published: 2024-11-07