extract_dual_value: Gets a specified value of a dual variable.

View source: R/reduction_solvers.R

extract_dual_valueR Documentation

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 documentation built on June 27, 2024, 5:11 p.m.