extract_mip_idx {CVXR}R 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.


[Package CVXR version 1.0-14 Index]