CVXPY-parity setter that returns its first argument so calls can be
chained (e.g. sum_squares(x) |> set_label("cost")). See
format_labeled() for the pretty-printer that consumes labels.
Usage
set_label(x, value)
Value
x with the label updated.
Arguments
x
An Expression object.
value
A label (character; coerced via as.character).
Pass NULL to clear an existing label.