% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/write.R
\name{.bounds_to_var_chunks}
\alias{.bounds_to_var_chunks}
\title{Convert variable bounds to a list of CBF VAR cone chunks.}
\usage{
.bounds_to_var_chunks(lb, ub)
}
\arguments{
\item{lb}{Numeric vector of lower bounds (length = number of variables).}

\item{ub}{Numeric vector of upper bounds (same length).}
}
\value{
List of \code{list(cone, count)} pairs.
}
\description{
Each "chunk" groups consecutive variables that share the same conic domain.
Run-length encoding keeps the VAR section compact.
}
\section{Bound -> cone mapping}{

\describe{
  \item{\code{lb=0, ub=+Inf}}{  \code{L+} (positive orthant)}
  \item{\code{lb=-Inf, ub=0}}{ \code{L-} (negative orthant)}
  \item{\code{lb=0, ub=0}}{    \code{L=} (fixpoint zero)}
  \item{anything else}{         \code{F.}  (free)}
}
}

\keyword{internal}
