Learn R Programming

CVXR (version 1.0)

group_constraints: Organize the constraints into a dictionary keyed by constraint names.

Description

Organize the constraints into a dictionary keyed by constraint names.

Usage

group_constraints(constraints)

Arguments

constraints

a list of constraints.

Value

A list of constraint types where constr_map[[cone_type]] maps to a list.