Learn R Programming

CVXR (version 1.0-14)

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)

Value

A list of a dual variable value and its offset.

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.