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

dual_value(object)

dual_value(object) <- value

Arguments

object

A Constraint object.

value

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