Learn R Programming

CVXR (version 1.9.1)

dual_value: Get the Dual Value of a Constraint

Description

Returns the dual variable value(s) associated with a constraint after solving. Returns NULL before the problem is solved.

Usage

dual_value(x)

Value

A numeric matrix (single dual variable) or a list of numeric matrices (multiple dual variables), or NULL.

Arguments

x

A Constraint object.