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

extract_dual_value

Gets a specified value of a dual variable.


Description

Gets a specified value of a dual variable.

Usage

extract_dual_value(result_vec, offset, constraint)

Arguments

result_vec

A vector containing the dual variable values.

offset

An offset to get correct index of dual values.

constraint

A list of the constraints in the problem.

Value

A list of a dual variable value and its offset.


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.