extract_mip_idx: Coalesces bool, int indices for variables.

View source: R/reductions.R

extract_mip_idxR Documentation

Coalesces bool, int indices for variables.

Description

Coalesces bool, int indices for variables.

Usage

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.


CVXR documentation built on June 27, 2024, 5:11 p.m.