dual_value-methods {CVXR}R Documentation

Get and Set Dual Value

Description

Get and set the value of the dual variable in a constraint.

Usage

dual_value(object)

dual_value(object) <- value

Arguments

object

A Constraint object.

value

A numeric scalar, vector, or matrix to assign to the object.


[Package CVXR version 1.0-12 Index]