Learn R Programming

CVXR (version 1.0)

dual_value-methods: 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.