is_dnlp: Check if an Expression or Problem is DNLP-Compliant

is_dnlpR Documentation

Check if an Expression or Problem is DNLP-Compliant

Description

Tests whether the object follows the Disciplined Nonlinear Programming (DNLP) rules: smooth representable, i.e. linearizable-convex or linearizable-concave.

Usage

is_dnlp(x, ...)

Arguments

x

An expression, objective, constraint, or Problem.

...

Not used.

Value

Logical scalar.


CVXR documentation built on Aug. 24, 2026, 9:10 a.m.