Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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)

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.

Value

A map of constraint ID to dual variable value.


CVXR

Disciplined Convex Optimization

v1.0-10
Apache License 2.0 | file LICENSE
Authors
Anqi Fu [aut, cre], Balasubramanian Narasimhan [aut], David W Kang [aut], Steven Diamond [aut], John Miller [aut], Stephen Boyd [ctb], Paul Kunsberg Rosenfield [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.