dot-detect_qp_global: Detect Whether Inequality Constraints Need the Global Bridge

.detect_qp_globalR Documentation

Detect Whether Inequality Constraints Need the Global Bridge

Description

Thin wrapper around .solver_detect_qp_global(). This preserves the original helper name inside get_B() while using the shared detection logic defined in solver_utils.R.

Usage

.detect_qp_global(qp_Amat, p_expansions, K)

Arguments

qp_Amat

Inequality constraint matrix (P \times n_{ineq}), or NULL.

p_expansions

Integer; number of basis terms per partition.

K

Integer; number of interior knots.

Value

Logical; TRUE if the active-set loop must use the global equality bridge, FALSE if the equality re-solves can remain partition-wise.


lgspline documentation built on May 8, 2026, 5:07 p.m.