Learn R Programming

CVXR (version 1.9.1)

value: Get the Numeric Value of an Expression

Description

Returns the numeric value of a CVXR expression, variable, or constant. For variables, the value is set after solving a problem.

Usage

value(x, ...)

Value

A numeric matrix, or NULL if no value has been set.

Arguments

x

An expression object.

...

Not used.