value: Get the Numeric Value of an Expression

valueR Documentation

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, ...)

Arguments

x

An expression object.

...

Not used.

Value

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


CVXR documentation built on Oct. 19, 2026, 5:07 p.m.