Learn R Programming

CVXR (version 1.9.1)

with_dpp_scope: Execute Expression Within DPP Scope

Description

Within this scope, Parameter objects are treated as affine (not constant) for curvature analysis. This is used internally by is_dpp() to check DPP compliance.

Usage

with_dpp_scope(expr)

Value

The result of evaluating expr.

Arguments

expr

An R expression to evaluate within the DPP scope.