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.


anqif/cvxr documentation built on Feb. 1, 2024, 5:42 p.m.