Learn R Programming

CVXR (version 1.9.1)

is_dcp: Check if an Expression is DCP-Compliant

Description

Tests whether an expression follows the Disciplined Convex Programming (DCP) rules.

Usage

is_dcp(x, ...)

Value

Logical scalar.

Arguments

x

An expression object.

...

Not used.