% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/solver_utils.R
\name{.solver_detect_qp_global}
\alias{.solver_detect_qp_global}
\title{Detect Whether Inequality Constraints Require a Dense Global QP}
\usage{
.solver_detect_qp_global(qp_Amat, p_expansions, K)
}
\arguments{
\item{qp_Amat}{Inequality constraint matrix
(\eqn{P \times n_{\mathrm{ineq}}}), or \code{NULL}.}

\item{p_expansions}{Integer; number of basis terms per partition.}

\item{K}{Integer; number of interior knots.}
}
\value{
Logical scalar.
}
\description{
Inspects the columns of \code{qp_Amat} to determine whether every
inequality constraint is confined to a single partition block
(block-separable) or whether any constraint couples coefficients
across partitions.
}
\details{
Returns \code{FALSE} (partition-wise active-set is valid) when all
columns have nonzeros in at most one block.  Returns \code{TRUE}
(dense SQP required) when any column spans multiple blocks.
}
\keyword{internal}
