Learn R Programming

CVXR (version 1.0)

extract_mip_idx: 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.