Learn R Programming

CVXR (version 1.0-14)

get_dual_values: Gets the values of the dual variables.

Description

Gets the values of the dual variables.

Usage

get_dual_values(result_vec, parse_func, constraints)

Value

A map of constraint ID to dual variable value.

Arguments

result_vec

A vector containing the dual variable values.

parse_func

Function handle for the parser.

constraints

A list of the constraints in the problem.